Skip to content

Are Advanced text queries on nested json fields (eg regex/phrase_prefix) supported? #1542

Answered by neilyio
choncou asked this question in Q&A
Discussion options

You must be logged in to vote

@choncou thanks for bringing this up. This isn't currently supported, but if its possible in Tantivy then will be an easy fix on our side.

The nuance is that there's a little processing work to do convert a JSON path into a "term" for queries like FuzzyTerm. It's not clear if Tantivy supports RegexQuery on JSON documents at all, I can't find any tests in their codebase that demonstrate this.

I'm going to open an issue for this. We'll discuss with the Tantivy maintainers and report back as soon as possible.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@philippemnoel
Comment options

Answer selected by philippemnoel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants