Is your feature request related to a problem? Please describe.
We are looking for a way to support element level searches. Basically the use case is for searching from a particular section from the document. These sections can be arbitrary sizes. Our thinking is, that if we could add kind of "meta-tokens" into the text and index it into an element in array field, we could form the query so that we require that this particular token appears in the element along the main query being executed.
Describe the solution you'd like
If we could mark somehow with annotation or otherwise that search being executed only applies into element level and not the whole field level, that would work. It would be good if this works with all query types when combined with boolean logic.
Describe alternatives you've considered
As an alternative, we can index all sections as own documents (complicates index updates + duplicates metadata fields) or use parent-child relationship (limits scalability).
Is your feature request related to a problem? Please describe.
We are looking for a way to support element level searches. Basically the use case is for searching from a particular section from the document. These sections can be arbitrary sizes. Our thinking is, that if we could add kind of "meta-tokens" into the text and index it into an element in array field, we could form the query so that we require that this particular token appears in the element along the main query being executed.
Describe the solution you'd like
If we could mark somehow with annotation or otherwise that search being executed only applies into element level and not the whole field level, that would work. It would be good if this works with all query types when combined with boolean logic.
Describe alternatives you've considered
As an alternative, we can index all sections as own documents (complicates index updates + duplicates metadata fields) or use parent-child relationship (limits scalability).