AnsweredAssumed Answered

Upgrade from 4.0d using Lucene to 4.2e using SOLR

Question asked by ewan.ritchie on Sep 25, 2014
Latest reply on Oct 1, 2014 by ewan.ritchie
I have just updated from 4.0d with Lucene indexing to 4.2e and have enabled and configured SOLR.  Our environment is Windows Server 2008 R2.

Everything is working as expected except when searching (advanced search on a custom object model) using more than one filter criteria the results returned (many more rows than expected due to the filters being OR'd together) would suggest that the default search criteria on multiple filters is OR.  We need this to be AND.

I have updated the schema.xml (in folder \alf_data\solr\workspace-SpacesStore\conf) and added <solrQueryParser defaultOperator="AND"/> as suggested but this has not changed the results back from the search.

My gut feeling is that it is an Alfresco configuration I have to make but I can't find any help from Google that makes sense.

Can anybody tell me how to configure Alfresco to tell SOLR to "AND" together multiple fields rather than "OR" them?