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 <mogada...@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
>
>
>
>
>
>
>
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to