Closed laurenwalker closed 4 years ago
Dave V found a Solr parameter that could solve this issue. The q.op
parameter specifies a default query operator. So we could possibly add the q.op=AND
parameter to each query rather than replace all our spaces with AND
s.
Examples:
CN has solr 5 and we need to test it at solr 7.3. On 5/10/18 3:02 PM, Lauren Walker wrote:
Dave V found a Solr parameter that could solve this issue. The |q.op| parameter specifies a default query operator. So we could possibly add the |q.op=AND| parameter to each query rather than replace all our spaces with |AND|s.
Examples:
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NCEAS/metacatui/issues/619#issuecomment-388199716, or mute the thread https://github.com/notifications/unsubscribe-auth/AHsIDJNEftzE7F_ARG3VQNahLNtDNbcrks5txLj8gaJpZM4T6e8f.
This is done already
Currently, the queries in MetacatUI are constructed with using the space character (or
%20
or+
) as an 'AND' operator. We need to change this to using the wordAND
, to be compatible with Solr 7 in the future.