Pradeep, If you use Solr's Dismax parser, it will rewrite the multi-word query and add phrase clauses where phrases will be composed of individual keywords from the original query string. A boost you specify in solrconfig.xml will be given to such clauses. This is not exactly what you are after, but may do the job for you.
Here is a Key Phrase Extractor we use with Solr: http://sematext.com/products/key-phrase-extractor/index.html Otis ---- Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ ----- Original Message ---- > From: Pradeep Pujari <[email protected]> > To: [email protected] > Sent: Tue, April 20, 2010 4:31:54 PM > Subject: common phrase > > I searched through SOLR wiki, I did not find how to use common phrases in > Solr. > It has synonyms, stop words, but does it support common phrases? Common > Phrases Rules contain terms of two or more words that should always be > searched > as a whole and not as separate parts, such as 'boot cut' or 'dc shoes'. > Usually, a phrase has a meaning which is unique and which may be very > different from that of any of its individual parts. Does Solr support > this feature? There are many literature about key phrase extraction in IR > books. > I can implement it if it is not there already. Thanks, Pradeep. > --------------------------------------------------------------------- To > unsubscribe, e-mail: > href="mailto:[email protected]">[email protected] For > additional commands, e-mail: > href="mailto:[email protected]">[email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
