[
https://issues.apache.org/jira/browse/OAK-1008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Parvulescu updated OAK-1008:
---------------------------------
Attachment: OAK-1008.patch
It looks like the problem is with a feature flag introduced for backwards
compatibility with jackrabbit which is not no longer needed after OAK-1007.
If we effectively remove FullTextSearchImpl#JACKRABBIT_2_AMPERSAND_TO_SPACE,
the tests passes again.
Patch attached.
> Query parser splits token: FulltextQueryTest#testPredefinedEntityReference
> --------------------------------------------------------------------------
>
> Key: OAK-1008
> URL: https://issues.apache.org/jira/browse/OAK-1008
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Components: core, oak-lucene, query
> Reporter: Alex Parvulescu
> Priority: Minor
> Attachments: OAK-1008.patch
>
>
> After OAK-1007, there'a new test failure
> _FulltextQueryTest#testPredefinedEntityReference_, because the input
> full-text token 'max&moritz' in split into 2 full-text tokens 'max' and
> 'moritz' and passed to the full-text index as a list of tokens.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira