Re: document retrieval 100 times slower after finishing some heavy disk operation

2008-06-28 Thread qaz zaq
heavy disk operation To: java-user@lucene.apache.org Date: Saturday, June 28, 2008, 7:15 PM On Sonntag, 29. Juni 2008, qaz zaq wrote: > indexes which usually take less then 16ms. However, everytime afer some > heavy disk operations (such as copy 1G size of a file into that disk) , > the doc

document retrieval 100 times slower after finishing some heavy disk operation

2008-06-28 Thread qaz zaq
Hi,   I ran into a very strange situation regarding document retrieval slowness and want to get some advice urgently.   I have 2 FSDirectory indexes each with size about 500M. I have 2 parallel search threads fetching 200 documents from these 2 indexes which usually take less then 16ms. However,

multiple field searcher

2007-08-03 Thread qaz zaq
I have Search Terms: T1, T2... Tn. Also I have document fields of F1 F2... Fm. I want to search the match documents across F1 to Fm fields,i.e., all of the T1, T2, ...Tn need to be matched, but can be in the combination of T1, T2, ... Tn field. I check the MultiFieldQueryParser, it doesn't app

Re: Duplicates removal in search results

2006-12-14 Thread qaz zaq
remove all the others. You'll probably need a TermDocs/TermEnum to go through all the items in your index to create the list of documents to remove. Erick On 12/14/06, qaz zaq <[EMAIL PROTECTED]> wrote: > > How can i remove the duplicates records in the search results. i.e., I >

Duplicates removal in search results

2006-12-14 Thread qaz zaq
How can i remove the duplicates records in the search results. i.e., I have multiple results with the same title in 'title' field, and I want to only 1 record per title, how can I achieve that? thanks!! Need

Duplicates removal in search results

2006-12-14 Thread qaz zaq
How can i remove the duplicates records in the search results. i.e., I have multiple results with the same title in 'title' field, and I want to only 1 record per title, how can I achieve that? thanks!! - Everyone is raving about the all-new Yahoo! Mail beta.

Re: Analyzer.getPositionIncrementGap question

2006-10-26 Thread qaz zaq
lled properly. There's a fix in the source and the nightly build. This doesn't (as far as I know) apply to the SynonymFilter strategy. Hope this helps Erick On 10/25/06, qaz zaq wrote: > > I have multiple values want to add to the same FIELD, and I also want to > add non-zero bu

Re: Analyzer.getPositionIncrementGap question

2006-10-26 Thread qaz zaq
I am reposting this question. Could somebody help? qaz zaq <[EMAIL PROTECTED]> wrote: I have multiple values want to add to the same FIELD, and I also want to add non-zero but NON CONSTANT position increment gap among those values. e.g., gap between "value1" and "v

Analyzer.getPositionIncrementGap question

2006-10-25 Thread qaz zaq
I have multiple values want to add to the same FIELD, and I also want to add non-zero but NON CONSTANT position increment gap among those values. e.g., gap between "value1" and "value2" is 10, but gap between "value2" and "value3" is 100. is there any how can I achieve that? d.add(new Fie

Lucene scoring question (how to boost leading terms match)

2006-10-03 Thread qaz zaq
Hi, I have a question about the lucene scoring. In my following example, how can I ensure the doc1 has the higher score than doc2, if I search for "A*". In another words, I want to boost the docs which match their leading terms. doc1: Aterm Bterm Cterm doc2: Bterm Aterm Cterm