Re: Synonyms and Ranking

2008-01-03 Thread Michael Stoppelman
, 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", > &

Re: Synonyms and Ranking

2007-12-28 Thread Grant Ingersoll
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

Re: Synonyms and Ranking

2007-12-28 Thread Frank Schima
"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

Re: Synonyms and Ranking

2007-12-27 Thread Grant Ingersoll
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

Synonyms and Ranking

2007-12-27 Thread Frank Schima
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