Solr Deleting Docs after Indexing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Solr Deleting Docs after Indexing

kaushik A
I am using Solr 5.3 and have a custom Solr J application to write to Solr.
When I index using this application, I expect to see 4 documents indexed.
But for some strange reason, 3 documents get deleted and there is always
only 1 document in the index. I say that because the final tally on the
Solr Admin console is
Num Docs: 1
Max Doc: 4
Deleted Docs: 3


How and where in Solr/logs can I find why the documents are being deleted?

Thanks,
Kaushik
Reply | Threaded
Open this post in threaded view
|

Re: Solr Deleting Docs after Indexing

Susheel Kumar-3
Does all 4 document's have same docID (Unqiue key)?

On Mon, Sep 11, 2017 at 2:44 PM, Kaushik <[hidden email]> wrote:

> I am using Solr 5.3 and have a custom Solr J application to write to Solr.
> When I index using this application, I expect to see 4 documents indexed.
> But for some strange reason, 3 documents get deleted and there is always
> only 1 document in the index. I say that because the final tally on the
> Solr Admin console is
> Num Docs: 1
> Max Doc: 4
> Deleted Docs: 3
>
>
> How and where in Solr/logs can I find why the documents are being deleted?
>
> Thanks,
> Kaushik
>
Reply | Threaded
Open this post in threaded view
|

Re: Solr Deleting Docs after Indexing

kaushik A
It was indeed the duplicate Id's. Somehow I thought I had it unique all the
way.

Thanks,
Kaushik

On Mon, Sep 11, 2017 at 3:21 PM, Susheel Kumar <[hidden email]>
wrote:

> Does all 4 document's have same docID (Unqiue key)?
>
> On Mon, Sep 11, 2017 at 2:44 PM, Kaushik <[hidden email]> wrote:
>
> > I am using Solr 5.3 and have a custom Solr J application to write to
> Solr.
> > When I index using this application, I expect to see 4 documents indexed.
> > But for some strange reason, 3 documents get deleted and there is always
> > only 1 document in the index. I say that because the final tally on the
> > Solr Admin console is
> > Num Docs: 1
> > Max Doc: 4
> > Deleted Docs: 3
> >
> >
> > How and where in Solr/logs can I find why the documents are being
> deleted?
> >
> > Thanks,
> > Kaushik
> >
>