lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aditya <findbestopensou...@gmail.com>
Subject Re: Removing Indexed field data.
Date Mon, 22 Oct 2012 08:09:20 GMT
You need to modify / re-index the document. You cannot delete a particular
field. Re-index / update the document with blank / NULL value for the field.

1. Retrieve the document,
2. Set Blank value for the particular field
3. Update the document

Regards
Aditya
www.findbestopensource.com


On Mon, Oct 22, 2012 at 12:27 PM, sagar.gole8 <sagar.gole8@gmail.com> wrote:

> Hi,
> I want to remove the data from indexed field, not documents that containing
> that data.
> i.e.
> Suppose I have a field person containing some person names and I want to
> remove some un-named data from that person field.
>
> e.g.(O/p from luke file)
>
> No.    Rank    Field     Text
> 1       466     Person   Mahatma Gandhi
> 2       080     Person   Zokgh
> 3       069     Person   PARBHANI
>
> See the image for details:
> <http://lucene.472066.n3.nabble.com/file/n4015054/Solr-Index.png>
>
> From above data I want remove the entry for "Zokgh" value from Person
> field.
>
> Please anyone can suggest?
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Removing-Indexed-field-data-tp4015054.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

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