lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cao Manh Dat (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3714) SolrCloud fails to query documents if the primary key field is of type "lowercase"
Date Fri, 30 Sep 2016 04:17:20 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15534971#comment-15534971
] 

Cao Manh Dat commented on SOLR-3714:
------------------------------------

I dont think it is a valid request because "lowercase" is a text field, so it will be tokenized.
So it will mess up with doc id.
So this ticket can be closed as wont fix here.

> SolrCloud fails to query documents if the primary key field is of type "lowercase"
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-3714
>                 URL: https://issues.apache.org/jira/browse/SOLR-3714
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.0-ALPHA
>            Reporter: Daniel Collins
>
> Running the default SolrCloud tutorial, if you change the id field to type "lowercase"
instead of "string", and re-run the tests (indexing all the documents in exampledocs), queries
find strange results..
> Querying for *:* and rows=10 returns numFound as 26 docs, setting rows = 20 returns 23
docs, and setting rows=50, returns 12 docs!
> Querying for specific ids seems hit and miss as well, the purely lowercase ids "?q=id:belkin"
work ok, but anything with uppercase or mixed case ids fails to be found.
> The index is clearly correct as booting the serer without zookeeper (just removing -DzkRun
from the command line) returns all the expected docs, but somehow zookeeper is interfering
with the queries?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message