Re: TermRangeQuery

2010-11-28 Thread Amin Mohammed-Coleman
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

Re: IndexWriter Class

2010-11-28 Thread jiandong yang
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

How to Cache Filter Results between Servers

2010-11-28 Thread Sariny
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 =

Re: TermRangeQuery

2010-11-28 Thread Erick Erickson
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

Re: not indexing analyzed field

2010-11-28 Thread Bernd Fehling
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)

RE: not indexing analyzed field

2010-11-28 Thread Uwe Schindler
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