What kind of lead time to your production system? Erik Hatcher is
doing some really exciting things with Payloads. The idea here is that
you have one field where the store ID has a "payload", and you use
that in scoring. Here's the (currently painful) hard way to do this.
While more work on your pa
Hi,
I have a e-commerce search engine. In this in each document i want to store
custom score of each product. And further the score of each product would
depend on in which category the product was searched on.
So as this is part of scoring i will be storing this data as doc values. Now i
hav
They should be very nearly the same. Under the hood, when you call
updateDocument, IndexWriter buffers up the deleted terms, and flushes
them periodically.
Mike
On Tue, May 5, 2009 at 7:42 AM, Antony Bowesman wrote:
> Just wondered which was more efficient under the hood
>
> for (int i = 0; i
Just wondered which was more efficient under the hood
for (int i = 0; i < size; i++)
terms[i] = new Term("id", doc_key[i]);
This
writer.deleteDocuments(terms);
for (int i = 0; i < size; i++)
writer.addDocument(doc[i]);
Or this
for (int i = 0; i < size; i++)
writer.updateDoc