At a guess make is a synonym for one of your search terms. doc.get returns the original content, not synonyms.
So what are your synonyms that might be a factor here? Best Erick On Sat, Feb 12, 2011 at 6:04 AM, Gong Li <ee07b...@gmail.com> wrote: > Hi, > > I am tying WordNet synonyms into an SynonymAnalyzer. But I find there is a > wrong in the search result as following: > > input keywords: *browned fox* > > query.toString(): (content:browned content:brown) (content:fox content:trick > content:throw content:slyboots content:fuddle content:fob content:dodger > content:discombobulate content:confuse content:confound content:befuddle > content:bedevil) > > topDocs.totalHits: 2 > > doc.get("content"): > Result1: We can <b><font color = RED>*make*</font></b> it easy by Bluetooth > for the communications between computer > Result2: The quick <b><font color = RED>*brown*</font></b> <b><font color = > RED>*fox*</font></b> jump over the lazy dog > > Result2 is desired result. WHY does it find *make *as the search result??? > HOW can I fix the problem??? > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org