[SOLR] different number of result on same query

Alexander Popov mogadanez at gmail.com
Wed Oct 22 14:32:00 EDT 2014


Also if run query with specific id, on internal_solr directly on each host,
for this problematic id it founds only on 2 hosts, but other id's found on
3 of them.

On Wed, Oct 22, 2014 at 10:18 PM, Alexander Popov <mogadanez at gmail.com>
wrote:

> RIAK 2.0.1, 5 nodes on different hosts
>
>
> query: comments_index?q=owner:6d87f18a3dca4a60b0fc385b1f46c165%20AND%20target:35975db44af44b2494751abddfcfe466&fl=id&wt=json&rows=15
>
> RESULT1:
> {
> responseHeader: {
> status: 0,
> QTime: 3,
> params: {
> 10.0.0.150:8093: "_yz_pn:56 OR _yz_pn:41 OR _yz_pn:26 OR _yz_pn:11",
> shards: "
> 10.0.0.150:8093/internal_solr/comments_index,10.0.0.151:8093/internal_solr/comments_index,10.0.0.152:8093/internal_solr/comments_index,10.0.0.153:8093/internal_solr/comments_index,10.0.0.218:8093/internal_solr/comments_index
> ",
> fl: "id",
> 10.0.0.152:8093: "_yz_pn:63 OR _yz_pn:53 OR _yz_pn:38 OR _yz_pn:23 OR
> _yz_pn:8",
> q: "owner:6d87f18a3dca4a60b0fc385b1f46c165 AND
> target:35975db44af44b2494751abddfcfe466",
> 10.0.0.218:8093: "(_yz_pn:60 AND (_yz_fpn:60)) OR _yz_pn:50 OR _yz_pn:35
> OR _yz_pn:20 OR _yz_pn:5",
> wt: "json",
> 10.0.0.153:8093: "_yz_pn:59 OR _yz_pn:44 OR _yz_pn:29 OR _yz_pn:14",
> 10.0.0.151:8093: "_yz_pn:47 OR _yz_pn:32 OR _yz_pn:17 OR _yz_pn:2",
> rows: "15"
> }
> },
> response: {
> numFound: 12,
> start: 0,
> maxScore: 6.72534,
> docs: [
> .....
>
>
> RESULT2:
> {
> responseHeader: {
> status: 0,
> QTime: 3,
> params: {
> 10.0.0.150:8093: "_yz_pn:61 OR _yz_pn:46 OR _yz_pn:31 OR _yz_pn:16 OR
> _yz_pn:1",
> shards: "
> 10.0.0.150:8093/internal_solr/comments_index,10.0.0.151:8093/internal_solr/comments_index,10.0.0.152:8093/internal_solr/comments_index,10.0.0.153:8093/internal_solr/comments_index,10.0.0.218:8093/internal_solr/comments_index
> ",
> fl: "id",
> 10.0.0.152:8093: "_yz_pn:58 OR _yz_pn:43 OR _yz_pn:28 OR _yz_pn:13",
> q: "owner:6d87f18a3dca4a60b0fc385b1f46c165 AND
> target:35975db44af44b2494751abddfcfe466",
> 10.0.0.218:8093: "_yz_pn:55 OR _yz_pn:40 OR _yz_pn:25 OR _yz_pn:10",
> wt: "json",
> 10.0.0.153:8093: "_yz_pn:49 OR _yz_pn:34 OR _yz_pn:19 OR _yz_pn:4",
> 10.0.0.151:8093: "(_yz_pn:62 AND (_yz_fpn:62)) OR _yz_pn:52 OR _yz_pn:37
> OR _yz_pn:22 OR _yz_pn:7",
> rows: "15"
> }
> },
> response: {
> numFound: 11,
> start: 0,
> maxScore: 6.72534,
> docs: [
> ....
>
>
> Does it not guaranteed that all records will be found each time?
> also, seems not random record missed, each time specific one
> if I run query for this specific record with q=id:
> 50473c1239934ef29f24b87f5a6d1ca2
> it is random return or not return this record
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20141022/b63e3152/attachment.html>


More information about the riak-users mailing list