Re: Replacing existing documents

2007-08-22 Thread Erik Hatcher
On Aug 21, 2007, at 9:25 PM, Lance Norskog wrote: Recently someone mentioned that it would be possible to have a 'replace existing document' feature rather than just dropping and adding documents with the same unique id. There is such a patch: https://issues.apache.org/jira/browse/SOLR-13

RE: Replacing existing documents

2007-08-22 Thread Ard Schrijvers
Hello, "Recently someone mentioned that it would be possible to have a 'replace existing document' feature rather than just dropping and adding documents with the same unique id." AFAIK, this is not possible. You have the update in lucene, but internally it just does a delete/add operation "We

Replacing existing documents

2007-08-21 Thread Lance Norskog
Recently someone mentioned that it would be possible to have a 'replace existing document' feature rather than just dropping and adding documents with the same unique id. We have a few use cases in this area and I'm researching whether it is effective to check for a document via Solr queries, or wh

Re: Replacing existing documents in the index

2007-08-16 Thread Yonik Seeley
It sounds like it might be more efficient to implement this at the crawler level to short-circuit crawling whole sites. Baring that, a separate database sounds more flexible. Non-deletable docs doesn't sound like something that should be a general feature. However, one would probably be able to i

Replacing existing documents in the index

2007-08-16 Thread Lance Norskog
Hi- We recrawl the same places and update blindly without checking if a document is already in the index. We have a use case where we would like to delete documents (porn) and have them stay deleted. To implement this use case now, we would need to check the existence of the document and check