lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Solr commit issue
Date Sat, 01 May 2010 18:59:32 GMT
The underlying IndexReader must be reopened. If you're
searching for a document with a searcher that was opened
before the document was indexed, it won't show up on the
search results.

I'm guessing that your statement that when you search
for it with some test is coincidence, but that's just a guess.

HTH
Erick

On Sat, May 1, 2010 at 1:07 PM, Indika Tantrigoda <indika85@gmail.com>wrote:

> Hi all,
>
> I've been working with Solr for a few weeks and have gotten SolrJ
> to connect to it, index, search documents.
>
> However I am having an issue when a document is committed.
> When a document is committed it does not show in the search results if I do
> a *:* search,
> but if I search for it with some text then it is shown in the results.
> Only when another document is committed, the previous document is found
> when
> I do a *:* search
>
> Is this because of the SolrJ client or do I have to pass additional
> parameters to commit() ?
>
> Thanks in advance.
>
> Regards,
> Indika
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message