Hi all,

When I go to search a phrase or group of words in my DSpace 3.2, I 
detected that Solr makes an OR operation in the search with all of this 
words. For example, if I write "Juan Díaz", Solr makes a search by Juan, 
by Díaz and both. Searching in Solr documentation, I found the 
schema.xml file, where you can change the operator applied:

              <solrQueryParser defaultOperator="OR"/>

I changed to AND and I restarted Tomcat, and the search seems more 
accurate, but doesn't do that I want (All the words must appear in the 
item).

Someone have changed another parameter to implement a real "AND" in the 
searches?

Thanks in advance

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to