You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I already done some initial work to solve a problem where I work, but I would like to have a proper solution for Lucene.
The root cause is in the FieldQueryflatten, saveTerms and expand methods. They do need to exist but they also mess the order of pre/post tags. The termOrPhraseNumber is used to get the preTag, and should follow the order of the queries.
I will try to add a unit test that properly illustrates this problem as it is kinda complex.
Version and environment details
Lucene 3.0+
Any environment
The text was updated successfully, but these errors were encountered:
Description
Given the
BaseFragmentsBuilder
description:We assume that if we input a query and an array of pre and post tags, they will follow the same order, like:
<ab>
</ab>
<cb>
</cb>
<ca>
</ca>
It will not tag in a ordered way as the current
BaseFragmentsBuilder
implementation gets tags in a almost random order:This is links back to this issue.
I already done some initial work to solve a problem where I work, but I would like to have a proper solution for Lucene.
The root cause is in the
FieldQuery
flatten
,saveTerms
andexpand
methods. They do need to exist but they also mess the order of pre/post tags. ThetermOrPhraseNumber
is used to get the preTag, and should follow the order of the queries.I will try to add a unit test that properly illustrates this problem as it is kinda complex.
Version and environment details
Lucene 3.0+
Any environment
The text was updated successfully, but these errors were encountered: