lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Jayakumar <kiranjuni...@gmail.com>
Subject Re: Solr search not working after copying a new field to an existing Indexed Field
Date Fri, 07 Sep 2012 19:23:34 GMT
Do you have the unique key set up in your schema.xml ? It should be
automatic if you have the ID field and define it as the unique key.

 <uniqueKey>ID</uniqueKey>

On Thu, Sep 6, 2012 at 11:50 AM, Mani <mehambaram@art.com> wrote:

> I have a made a schema change to copy an existing field "name" (Source
> Field)
> to an existing search field "text" (Destination Field).
>
> Since I made the schema change, I updated all the documents thinking the
> new
> source field will be clubbed together with the "text" field.  The search
> for
> a specific name does not return results.
>
> If I delete the document and then adding the document back works just fine.
>
> I thought Add command with default override option will work as Delete and
> Add.
>
> Is this the only way to reindex the "text" field? Is there anyother method?
>
> I really appreciate your help on this!
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Solr-search-not-working-after-copying-a-new-field-to-an-existing-Indexed-Field-tp4005993.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

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