You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2012/11/27 17:57:58 UTC

[jira] [Resolved] (OAK-348) QueryEngine fulltext interpretation & tokenization error

     [ https://issues.apache.org/jira/browse/OAK-348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu resolved OAK-348.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.6

this seems to work now
                
> QueryEngine fulltext interpretation & tokenization error
> --------------------------------------------------------
>
>                 Key: OAK-348
>                 URL: https://issues.apache.org/jira/browse/OAK-348
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, jcr
>            Reporter: Alex Parvulescu
>             Fix For: 0.6
>
>
> Currently the QueryEngine Filter has no notion of fulltext query on a property it only hold a list of fulltext string conditions [0].
> Moreover, the QE does not tokenize the fulltext condition properly:
> 'quick fox' should turn into 2 fulltext terms: 'quick' and 'fox' whereas '"quick fox"' (a quoted version) would turn into a single term.
> Currently we get a single fulltest term 'quick fox' which causes the lucene engine to fail the match.
> Test case: FulltextQueryTest#testContainsStarXPath
> [0] http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/query/Filter.java?view=markup#l43

--
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