lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dsmiley <...@git.apache.org>
Subject [GitHub] lucene-solr issue #531: SOLR-12768
Date Wed, 02 Jan 2019 05:14:49 GMT
Github user dsmiley commented on the issue:

    https://github.com/apache/lucene-solr/pull/531
  
    Thanks for helping out!
    It's insufficient to simply prepend a `*` since it would match other labels that share
the same suffix.  For example: `childFilter='ingredients/name\_s:cocoa'` would get transformed
into a query that might match a label `secretingredients` but we don't want it to.  I think
a solution is to build an OR query where one clause has a `*/` prepended to it, and the other
has nothing modified and so matches the term exactly.  WDYT?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message