Hi
I'll explain my use case more and then explain the out come of my
implementation:
I have lucene documents that look like this:
Field name Field Value
dataId TYX-CC-124
categoryCATEGORY A
What I would like to do is for a given collection of
hello, all, here comes my question:
as far as I know, lucene now offer the feature that ones can search some
doc while the index which contains that specific doc is modifying.
for example(pseudocode) :
while indexWriter(indexDir).add(docA) is doing, can indexReader(indexDir)
offer the query
hello everyone
I have this test code:
IndexReader ir = getReader();
TermQuery q = new TermQuery(new
Term(sub_id,NumericUtils.intToPrefixCoded(57)));
Filter f = new QueryWrapperFilter(q);
try
{
DocIdSet s =
OK, maybe I'm catching on at last. Have you considered just skipping the
whole search thing entirely? Something like using one of the classes
implementing TermDocs to get the document for a particular term (one of
the elements of your list of dataIds in this case). That would give you the
doc
Hi Uwe,
Erick explained it pretty well and i got it now, but generally you're right
RTFM ;-)
Nevertheless I'm in the need of the functionality to change the stored
value during analysis or tokenization or filtering (what ever works).
Thats how it can be done in FAST FDS/ESP (full processing)
Hi Bernd,
Nevertheless I'm in the need of the functionality to change the stored
value
during analysis or tokenization or filtering (what ever works).
Thats how it can be done in FAST FDS/ESP (full processing) compared to
Lucene/Solr (sparse processing).
Do you have any idea, how to