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.

Reply via email to