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 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 whether it is worthwhile to add this to the Solr implementation."

What are the usecases?? I do not see what you mean.

"Does anyone have an estimate for the difference between querying, day, 100
documents by unique ID from the network v.s. fetching them directly from the
index?"

Depends of course from the network....fetching them from the index is fast 
normally.
 
"One use case is that we would like to use the index as our one database for
documents, and if we delete a document we want it to stay deleted. Thus we
would mark it deleted and check for its existence."

I suppose you mark it deleted by setting some flag (like lucene Field: 
isDeleted set to true). I am not sure wether using the lucene index as your 
database is really smart...i might get corrupt. I would at least suggest to 
backup it frequently

Regards Ard

ps sry for my annoying ".." because i am using a web mail client

"Another use case is that we are re-adding the same document a few times a day, 
and the commit times
are ballooning.

 
Where would I implement this?
 
Thanks,
 
Lance"



Reply via email to