lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Khludnev <>
Subject Re: Custom post filter with support for 'OR' queries
Date Mon, 06 May 2019 12:57:15 GMT
This case isn't worth to bother with custom code. Deriving terms in
analysis usually works fine.
This might be addressed with
I haven't thought deep enough, but believe it might be tinkered by standard
analysis toolbox.

On Sun, May 5, 2019 at 10:28 PM alexpusch <> wrote:

> Thanks for the quick reply.
> The real data is an representation of an HTML element "body div.class1
> div.b.a", My goal is to match documents by css selector i.e ".class1 .a.b"
> The field I'm querying on is a tokenzied texts field. The post filter takes
> the doc value of the field (which is not tokenized - whole string),
> transforms it a bit, and matches it to some input regex.
> My alternative is to create a non tokenzied copy field, create a custom
> filter that makes the transformation on index time and use regular regex
> query on it. Writing the post filter was my first choice since I wanted to
> avoid copying data and I'm not sure about regular regex query performance.
> The collection I'm querying is quite huge.
> --
> Sent from:

Sincerely yours
Mikhail Khludnev

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message