I haven't tested the results fully, but it would seem like an easy fix to get these to work.

The only thing you have to add is 1 param in the query string: mm=1

See my comments here:
http://drupal.org/node/283327

Comments

pwolanin’s picture

Since we are using dismax, I'm not sure it even respects AND/OR/NOT in the keyword query, only +/-

jarchowk’s picture

It won't unless you add the mm=1. Give those Nabble.com links a read if you're interested.

Seems to work for me and I'm using the latest.

janusman’s picture

So if Apache Solr dismax supports REQUIRED/OPTIONAL/PROHIBITED terms, then the thing is to decide what we want to support something like a simple query "language" that takes user-entered strings (apples OR oranges) and converts them to the appropriate Solr query.

Sounds interesting, will experiment =)

pwolanin’s picture

For me a higher priority is probably negative facets - e.g. find all except...

jpmckinney’s picture

Status: Active » Closed (won't fix)

If you want to change the Solr mm parameter, implement hook_apachesolr_modify_query(). Not everyone will want to set it to "1", so we will leave it at its default value.