Riak 1.4.8, Riak Search numFound inconsistency

Alexander Popov mogadanez at gmail.com
Thu May 15 03:38:32 EDT 2014


I can see records ids if I add &fl=id in query:
solr/some_index/select?q=some_query&wt=json&rows=50&fl=id

{

   -
   - response:
   {
      - numFound: 33,
      - start: 0,
      - maxScore: "0.0",
      - docs:
      [
         -
         {
            - id:
            "1396297239219-7a5886c8d03549798f23b8c2e46739e6-660761ea9e3d472487be4e01f077f706"
            },
         -
         {
            - id:
            "8600017235068-7a5886c8d03549798f23b8c2e46739e6-e3d0b4904161437ca47368afed842737"
            },
         -
         {
            - id:
            "8600019503366-7a5886c8d03549798f23b8c2e46739e6-9e3990c226b44b1fb747baf6dfd868a2"
            },


But when I try remove this IDs by POST to  http://db:8098/solr/some_index
/update

<delete>

<id>1396297239219-7a5886c8d03549798f23b8c2e46739e6-660761ea9e3d472487be4e01f077f706</id>
</delete>

Nothing happens. entry still returnig





On Tue, May 13, 2014 at 5:11 PM, Alexander Popov <mogadanez at gmail.com>wrote:

> solr/some_index/select?q=some_query&wt=json&rows=50
>
> {
>
>    - responseHeader:
>    {
>       - status: 0,
>       - QTime: 47,
>       - params:
>       {
>          - q: "some_query",
>          - q.op: "or",
>          - filter: "",
>          - wt: "json"
>          }
>       },
>    - response:
>    {
>       - numFound: 34,
>       - start: 0,
>       - maxScore: "0.353553",
>       - docs: [ ]
>       }
>
> }
> I was manage my index only using the Solr HTTP Interface
>
> 1. Looks i got some broken records. How can i found and cleanup it?
> 2. How to prevent this one in future
>
> I was try:
> 1.  Reboot entire cluster( to eliminate in memory cache )
> 2. search-cmd delete my_index
>
> no success
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20140515/7480b7dc/attachment.html>


More information about the riak-users mailing list