On Wed, Jun 25, 2008 at 8:44 PM, Galen Pahlke <[EMAIL PROTECTED]> wrote:
> I'm having trouble deleting documents from my solr 1.3 index.  To delete a
> document, I post something like "<delete><id>12345</id></delete>" to the
> solr server, then issue a commit.  However, I can still find the document in
> the index via the query "id:12345".

That's strange....  there are unit tests for this, and I just verified
it worked on the example data.
Perhaps the schema no longer matches what you indexed (or did you re-index?)
Make sure the uniqueKeyField specifies "id".

>  The document remains visible even after
> I restart the solr server.  I know the server is receiving my delete
> commands, since deletesById goes up on the stats page, but docsDeleted stays
> at 0.

docsDeleted is no longer tracked since Lucene now handles the document
overwriting itself.
It should probably be removed.

-Yonik

Reply via email to