工作:Dottext,Lucene 复合查询修正

翟二喜

刚才在google搜索 Lucene 复合查询,便得知前几天没解决的问题了。


代码注释:{D7843B04-94D9-4f08-90A5-D99DD933A947}
去掉以前的:{3F9AEDF7-F489-4760-9BDC-96A1BC2D1292}


Lucene 复合查询:


   Query query = MultiFieldQueryParser.Parse(
    text,
    new string[] { SearchConfiguration.Title, SearchConfiguration.RawPost },
    new Lucene.Net.Analysis.Cn.ChineseAnalyzer() );

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: