Regarding Search Performance

2011-02-03 Thread madhuri_1820
Hi, I have searching fields from multiple indexes. I am using Boolean Query. Index Search is taking nearly 20 sec for one query. I have read that Query Filter have a feature of caching the inner Query search results. I am not sure which Query is useful whether Query Filter or boolean query ?

Multi Index Search Query

2011-02-14 Thread madhuri_1820
Hi, I have two index files. I am searching id1 from Index A and id2 from Index B. By using id1 (Index A) results , I am searching id2 from Index B. I stored these two index files in local file system. I am using filter as a result of Index A. IndexSearcher.search(Query,filter,1); I am runnin

Regarding MoreLikeThis similarity Search

2011-03-18 Thread madhuri_1820
Hi, I am new to lucene ... I have a question while implementing similarity search using MoreLikeThis query. I have written a small program but it is not giving any results. In my index file I have both strored and unstored(analyzed) fields. Sample Code : IndexReader ir = IndexReader.open(i

Calculate document lucene score after the search

2011-04-18 Thread madhuri_1820
Hi, I am trying to find the actual lucene score of the document after the search. I have set different boost values to fields. I am using document.getBoost(), to find the score but I am getting document boost as 1 for all the documents. Is there any way I can calculate the actual score of the d