lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lboutros <boutr...@gmail.com>
Subject Re: Multiple Words in String
Date Sun, 03 Apr 2011 10:30:05 GMT
I managed to find both documents with your two input queries .

Add this filter in your analyzer query part :



=>


        
                
                
                
				
        
        
         

The main problem is that your query "microsoft" is transformed into one
single PhraseQuery which cannot match the document containing "micro soft".
The PositionFilterFactory will transform the query into multiple queries.
You can activate the debug mode to see the differences.

you can see more informations here :

http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.PositionFilterFactory

Ludovic.

-----
Jouve
France.
--
View this message in context: http://lucene.472066.n3.nabble.com/Multiple-Words-in-String-tp2767964p2770713.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message