I'm having the same problem: I import my data using the DataImportHandler.
When the DIH runs, I see the changes in the index file. However, when I
query the index using SolrJ, the new results don't show up. I have to
restart my server to see the results using SolrJ. This is how I use solrj:
are reflected from solrj. The embedded solrj works like there was a caching
that it always goes to first.
Thanks.
JB
-Original Message-
From: Marc Sturlese [mailto:marc.sturl...@gmail.com]
Sent: Friday, July 22, 2011 1:57 AM
To: solr-user@lucene.apache.org
Subject: RE: embeded solrj
Are u indexing with full import? In case yes and the resultant index has
similar num of docs (that the one you had before) try setting reopenReaders
to false in solrconfig.xml
* You have to send the comit, of course.
--
View this message in context:
You should send a commit to you embedded solr
Marco Martínez Bautista
http://www.paradigmatecnologico.com
Avenida de Europa, 26. Ática 5. 3ª Planta
28224 Pozuelo de Alarcón
Tel.: 91 352 59 42
2011/7/20 Jianbin Dai j...@huawei.com
Hi,
I am using embedded solrj. After I add new doc to the
embedded solrj. If I restart
the embedded solr server, I do see the changes.
Hope it helps. Thanks.
-Original Message-
From: Marco Martinez [mailto:mmarti...@paradigmatecnologico.com]
Sent: Wednesday, July 20, 2011 5:09 AM
To: solr-user@lucene.apache.org
Subject: Re: embeded solrj doesn't
embedded solrj. If I restart
the embedded solr server, I do see the changes.
Hope it helps. Thanks.
-Original Message-
From: Marco Martinez [mailto:mmarti...@paradigmatecnologico.com]
Sent: Wednesday, July 20, 2011 5:09 AM
To: solr-user@lucene.apache.org
Subject: Re: embeded solrj doesn't