In the solrconfig.xml (scroll all the way to the bottom, and I believe the example has some commented out)

On Dec 15, 2008, at 5:45 AM, ayyanar wrote:


I'm no QueryParser expert, but I would probably start w/ the default
query parser in Solr (LuceneQParser), and then progress a bit to the
DisMax one.  I'd ask specific questions based on what you see there.
If you get far enough along, you may consider asking for help on the
java-user list as well.

Thanks - I think I've got it working now.  I ended up subclassing
QueryParser and overriding >newTermQuery() to create a BoostingTermQuery
instead of a plain ol' TermQuery.  Seems to work.

Kindly let me know where and how to configure the overridden query parser in
solr


-Ayyanar
--
View this message in context: 
http://www.nabble.com/using-BoostingTermQuery-tp19637123p21011626.html
Sent from the Solr - User mailing list archive at Nabble.com.


--------------------------
Grant Ingersoll

Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ










Reply via email to