Re: Top Score Collector

2007-04-23 Thread jafarim
I am trying to fetch similar results to a Document in the index. The problem are myriad of irrelevant hits the score of which is less than 1 percent. I was thinking to write this class in order to omit these results. I can't use TopDoc because the number of *really* similar results can be known a

How to get hits by multiple indexes using MultiSearcher...

2007-04-23 Thread Laxmilal Menaria
Hi everyone, I am using muitisearcher on multiple indexes, this will returns all the hits on specific search query. but I wants to know how many hits by which index folder. i.e. I have created multiple Indexes i.e. Index1, Index2 and index3. and Now open multisearcher on that. . . objIndexSea

How to get termfreq. of each doc for wildcard terms?

2007-04-23 Thread SK R
Hi, In my application, sometimes I need to find doc Id with term frequency of my terms in my index of multi lines, tokenized & indexed with Standard Analyzer. For this, now I'm using * TermDocs termDocs= reader.termDocs(new Term("FIELD","book1"); while(termDocs.next()) { matches +=

Re: IndexReader method semantics

2007-04-23 Thread Chris Hostetter
: Basically I'm thinking of writing a different kind of IndexReader which : uses a database to return fake terms for things like tags. The idea : would be that it can be slotted in alongside a real index via : ParallelReader in order to provide the fast-changing part. So it would : be possible to

Re: Backwards index format compatibility of future versions?

2007-04-23 Thread Erik Hatcher
On Apr 23, 2007, at 1:08 AM, Lucifer Hammer wrote: I'm curious, why is migrating the index not OK when it is OK to upgrade the software? It doesn't really add up in my head. We keep our indexed archives on write-once media. If we're forced to move our indexes up to a newer format, then we

Re: Out of memory exception for big indexes

2007-04-23 Thread Ivan Vasilev
Hi All, THANK YOU FOR YOUR HELP :) I put this problem in the forum but I had no chance to work on it last week unfurtunately... So now I tested the Artem's patch but the results show: 1) speed is very slow compare with the usage without patch 2) There are not very big differences of memory usage

Re: Problem with MultiFieldQueryParser

2007-04-23 Thread Mark Woon
Is there anyone who might be able to help me with this? Is there any more information I can provide? Thanks, -Mark Mark Woon wrote: Hi all, Can someone clear something up for me regarding MultiFieldQueryParser? Using the same inputs to MultiFieldQueryParser.parse(String[] queries, String[

Re: Problem with MultiFieldQueryParser

2007-04-23 Thread karl wettin
24 apr 2007 kl. 00.18 skrev Mark Woon: Is there anyone who might be able to help me with this? All I can say is that the query parser is not thread safe. Thus I would trust the instance methods over the static. Is there any more information I can provide? A test case that demonstrate yo

Re: Backwards index format compatibility of future versions?

2007-04-23 Thread karl wettin
23 apr 2007 kl. 07.08 skrev Lucifer Hammer: On 4/23/07, karl wettin <[EMAIL PROTECTED]> wrote: One solution would be to load the 2.0-jar from a secondary classloader. But that is probably not what you want though. I don't know how that would work... (Could we run a parallel multisearcher

different ways of implementing index

2007-04-23 Thread avishkar
Hello, I would like to know how we implemented indexing in different ways -- View this message in context: http://www.nabble.com/different-ways-of-implementing-index-tf3636503.html#a10154559 Sent from the Lucene - Java Users mailing list archive at Nabble.com. ---

Re: different ways of implementing index

2007-04-23 Thread karl wettin
24 apr 2007 kl. 07.29 skrev avishkar: I would like to know how we implemented indexing in different ways You probably need to specify you question a bit more in detail. Is it vector space model vs. inverted index you are looking for? http://en.wikipedia.org/wiki/Vector_space_model http://en