New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lucene queries for personas returning unexpected results #22872
Comments
Tags are stored at the root level, e.g. |
Hey team! Please add your planning poker estimate with Zenhub @freddyucv @victoralfaro-dotcms |
This is working correctly as commented by @wezell |
This is working correctly as commented by @wezell |
After discussing with @erickgonzalez , the issue is that filtering by |
PR: #23848 |
* #22872 Avoid creation of duplicate persona tags * #22872 remove dup line * #22872 Upgrade task to get rid of rels to dup tags, and dup tags per se * #22872 compile errors fix * #22872 IT for the UT * #22872 new method in TestDataUtil * #22872 delete with join for MSSQL. Add task to tasklocator. Add wrapIntransacton annotation
Failed QA - Tested on 23.03_22c57977_SNAPSHOT // Docker // macOS 13.0 // FF v110.0 The below upgrade task should be perform automatically curl --location --request POST 'http:///api/v1/upgradetask' |
Passed Internal QA again: |
Approved QA - Tested on 23.03_cb5a2388_SNAPSHOT // Docker // macOS 13.0 // FF v111.0 |
In order to close this card we need to generate a new starter sire to remove the persona tags. |
Not worth holding this card open for this or creating a new starter. Let us make the changes in the starter and they will get picked up when we really need to create a new version. |
Waiting for a new starter in order to close. |
Fixed, creation of the new starter is pending |
Describe the bug
Lucene queries for personas returning unexpected results
Reproduced on: 22.03.2, 22.08
Related ticket: https://dotcms.zendesk.com/agent/tickets/108233
To Reproduce
From a demo starter
Test CT
with a title field and a tag field calledtestTags
that is indexedecoenthusiast
Example 1
Example 2
The first time I tried to recreate this only example 2 returned results. The second time, neither are returning results.
Expected behavior
The query should not require :persona appended, this was not required in previous versions. You should only need the name of the persona.
Beyond that, the results seem generally inconsistent. It might have something to do with how we are dealing with
:
in the query.The text was updated successfully, but these errors were encountered: