lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <arafa...@gmail.com>
Subject Re: solr - Deleting a row from the index, using the configuration files only.
Date Tue, 23 Jul 2013 13:51:30 GMT
Did you look at:
*) $deleteDocById
*) $deleteDocByQuery
*) deletedPkQuery

Just search for delete on https://wiki.apache.org/solr/DataImportHandler

If you tried all of those, maybe you need to explain your problem in more
specific details.

Regards,
   Alex.

Personal website: http://www.outerthoughts.com/
LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
- Time is the quality of nature that keeps events from happening all at
once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD book)


On Tue, Jul 23, 2013 at 8:18 AM, Mysurf Mail <stammailbox@gmail.com> wrote:

> I am updating my solr index using deltaQuery and deltaImportQuery
> attributes in data-config.xml.
> In my condition I write
>
>     where MyDoc.LastModificationTime > '${dataimporter.last_index_time}'
> then after I add a row I trigger an update using data-config.xml.
>
> Now, sometimes I delete a row.
> How can I implement this with configuration files only
> (without sending a delete rest command to solr ).
>
> Lets say my object is not deleted but its status is changed to deleted.
> I dont index that status field, as I want to hold only the live rows.
> (otherwise I could have just filtered it)
> Is there a way to do it?
> thanks.
>

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