ruby on rails - Write a query for SOLR to exclude a some results -


actually searching string kalyana mandap , expecting following results: want results not contains kalyana mandap pharse result should contains kalyana , mandap , kalyana or mandap

for have written following query:

`kalyana mandap not "kalyana mandap"` 

but not giving results contains both word in documents. how modify query that?

try this

'kalyana or mandap not "kalyana mandap"' 

Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

android - Pass an Serializable object in AIDL -