Problem/Motivation

Currently the facet query rewriting happening in SearchApiSolrService::search() only works if the query doesn't use tags.
If it uses tags the query to solr will contain invalid conditions.

Proposed resolution

The rewriting handler should also deal with facet queries prefixed with the tag.
To do so we've just to slightly adjust the pattern which looks for spatial facet queries.

The current approach will remove the tagging, not sure if that is an issue or not.
The tag could be perserved - the facet seems to work with it too.

Remaining tasks

Reviews needed.

User interface changes

Non.

API changes

None.

Data model changes

None.

Comments

das-peter created an issue. See original summary.

OanaIlea’s picture

Status: Needs review » Closed (outdated)

This issue was closed due to lack of activity over a long period of time. If the issue is still acute for you, feel free to reopen it and describe the current state.