, I'm currently using a MultiFieldQueryParser, so like this:
> >
> >SnowballAnalyzer sba = new SnowballAnalyzer("English",
> > StopAnalyzer.ENGLISH_STOP_WORDS);
> >QueryParser qp = new MultiFieldQueryParser( new String[] {"field1",
> &
esentation requires a
BoostingTermQuery, like this:
Query query = new BoostingTermQuery( new Term(“field”,
“searchterm”));
Is there a way to make the two work together?
Thanks!
Frank
--
View this message in context:
http://www.nabble.com/Synony
"field3"}, sba );
try {
Query query = qp.parse(strSearchTerms);
} catch ( Throwable th) {
...
}
However, the payload example in the presentation requires a
BoostingTermQuery, like this:
Query query = new BoostingTermQuery( new Term(“field”, “searchterm”));
Is there
oost the actual search term a little higher than the synonym(s)?
TIA,
Frank
--
View this message in context:
http://www.nabble.com/Synonyms-and-Ranking-tp14518753p14518753.html
Sent from the Lucene - Java Users mailing list archive at Na
e higher than the synonym(s)?
TIA,
Frank
--
View this message in context:
http://www.nabble.com/Synonyms-and-Ranking-tp14518753p14518753.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubs