incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Williams (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BLUR-242) Special/Internal fields aren't keyword analyzed on the query side.
Date Tue, 24 Sep 2013 18:34:02 GMT
Tim Williams created BLUR-242:
---------------------------------

             Summary: Special/Internal fields aren't keyword analyzed on the query side.
                 Key: BLUR-242
                 URL: https://issues.apache.org/jira/browse/BLUR-242
             Project: Apache Blur
          Issue Type: Bug
          Components: Blur
    Affects Versions: 0.2.0
            Reporter: Tim Williams
            Priority: Blocker


The built-in fields (rowid, recordid, family) are KeywordAnalyzed on the indexing side, but
appear to default to the StandardAnalyzer on the query side.  A hyphen is a good test case
for this behavior.

Query q = new Query();
q.setQuery("rowid:foo-bar-baz");

assertEquals("<rowid:foo-bar-baz>", client.parseQuery("test", q);

This will fail by returning:  <rowid:"foo bar baz">

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

Mime
View raw message