MoreLikeThis return no results

2008-08-30 Thread davood
Hi, I'm trying to get MoreLikeThis working but it just returns no results. I have lucene working for normal queries and indexing but MoreLikeThis Just returns nothing. This is what I'm trying IndexReader reader = IndexReader.open(INDEX_PATH); IndexSearcher searcher = new

Re: Re: MoreLikeThis return no results

2008-08-30 Thread tom
AUTOMATIC REPLY Tom Roberts is out of the office till 2nd September 2008. LUX reopens on 1st September 2008 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Merging 2 indexes

2008-08-30 Thread Andre Rubin
Hey all I have 2 indexes. Both have an ID field and one or more String fields... I want to merge these indexes by merging the documents on each index that match their IDs. For exmaple: Index 1: Doc1: id: 1234 (*) text:bla bla text:abcd Index2: DocA: id:1234 (*) text:xyz (*) ID's match So I

Re: Pre-filtering for expensive query

2008-08-30 Thread Karl Wettin
Can you tell us a bit more about what you custom query does? Perhaps you can build the candidate filter and reuse it over and over again? karl 30 aug 2008 kl. 03.34 skrev Matt Ronge: Hi all, I am working on implementing a new Query, Weight and Scorer that is expensive to run. I'd

Re: MoreLikeThis return no results

2008-08-30 Thread mark harwood
MoreLikeThis needs to find the terms in your doc. It tries to do this by using TermFreqVectors which are stored in the index if you choose to add them at index-time. If you haven't done this then it will fall back to reanalysing the content of the document usings an analyser (despite what the

Re: Merging 2 indexes

2008-08-30 Thread Karl Wettin
30 aug 2008 kl. 09.42 skrev Andre Rubin: I have 2 indexes. Both have an ID field and one or more String fields... I want to merge these indexes by merging the documents on each index that match their IDs. Is there a way to do that in an efficient way, like not having to manually

Re: Pre-filtering for expensive query

2008-08-30 Thread Paul Elschot
Op Saturday 30 August 2008 03:34:01 schreef Matt Ronge: Hi all, I am working on implementing a new Query, Weight and Scorer that is expensive to run. I'd like to limit the number of documents I run this query on by first building a candidate set of documents with a boolean query. Once I have

Re: Pre-filtering for expensive query

2008-08-30 Thread Matt Ronge
On Aug 30, 2008, at 6:13 AM, Paul Elschot wrote: Op Saturday 30 August 2008 03:34:01 schreef Matt Ronge: Hi all, I am working on implementing a new Query, Weight and Scorer that is expensive to run. I'd like to limit the number of documents I run this query on by first building a candidate

Re: Pre-filtering for expensive query

2008-08-30 Thread Matt Ronge
On Aug 30, 2008, at 4:43 AM, Karl Wettin wrote: Can you tell us a bit more about what you custom query does? Perhaps you can build the candidate filter and reuse it over and over again? I cannot reuse it. The candidate filter would be constructed by first running a boolean query with a

Beginner: Specific indexing

2008-08-30 Thread Raymond Balmès
Hi guys, Fairly new to Lucene, and just finished reading Lucene in Action. My problem is the following I need to index the documents that only contains the following pattern(s) in a mass of documents: tag #1 #2 tag is a fixed list of words #x are small numbers 100 My idea is to simply build a

Re: Pre-filtering for expensive query

2008-08-30 Thread Andrzej Bialecki
Matt Ronge wrote: Hi all, I am working on implementing a new Query, Weight and Scorer that is expensive to run. I'd like to limit the number of documents I run this query on by first building a candidate set of documents with a boolean query. Once I have that candidate set, I was hoping I

Beginner: Specific indexing

2008-08-30 Thread Raymond Balmès
Hi guys, Fairly new to Lucene, and just finished reading Lucene in Action. My problem is the following I need to index the documents that only contains the following pattern(s) in a mass of documents: tag #1 #2 tag is a fixed list of words #x are small numbers 100 My idea is to simply build a

Re: Pre-filtering for expensive query

2008-08-30 Thread Paul Elschot
Op Saturday 30 August 2008 18:19:09 schreef Matt Ronge: On Aug 30, 2008, at 4:43 AM, Karl Wettin wrote: Can you tell us a bit more about what you custom query does? Perhaps you can build the candidate filter and reuse it over and over again? I cannot reuse it. The candidate filter would

Re: Pre-filtering for expensive query

2008-08-30 Thread Paul Elschot
Op Saturday 30 August 2008 18:22:50 schreef Matt Ronge: On Aug 30, 2008, at 6:13 AM, Paul Elschot wrote: Op Saturday 30 August 2008 03:34:01 schreef Matt Ronge: Hi all, I am working on implementing a new Query, Weight and Scorer that is expensive to run. I'd like to limit the number of

Re: Trouble Boosting BooleanQuery's with Multiple Clauses

2008-08-30 Thread Chris Hostetter
: When I create a TermQuery, add it as a SHOULD clause to a BooleanQuery, and : boost that BooleanQuery, the boost shows up when I run : IndexSearcher.explain(). However, when I add a second TermQuery as a SHOULD : clause to that same BooleanQuery, and still boost the BooleanQuery, the : boost is