Wildcards, and the rest of the Lucene syntax, isn't working.

I'm using acquia_connector 7.x-2.8, apachesolr 7.x-1.1.

CommentFileSizeAuthor
#1 wildcards-1895694-1.patch771 bytes__cj

Comments

__cj’s picture

Status: Needs review » Active
StatusFileSize
new771 bytes

I think this is because 'acquia_search_environment_connected' is passed an environment ID, not an environment objectis in acquia_search_apachesolr_query_alter. Therefore acquia_search_environment_connected returns false, and the query isn't altered for wildcards/lucene.

Patch attached.

__cj’s picture

Status: Active » Needs review

Oops.

nick_vh’s picture

Status: Active » Reviewed & tested by the community

Looks good, thanks for the catch!

nick_vh’s picture

Status: Reviewed & tested by the community » Closed (works as designed)

So, I tried to apply it but this was already fixed in the codebase :)