Re: Problem Running Lucene in Action sample codes

2005-10-22 Thread Erik Hatcher
On 22 Oct 2005, at 00:33, anushri kumar wrote: I'm having trouble running the sample codes in Lucene in Action. I followed the instructions in the README file and in the book but no luck. I'm not familiar with ant. Can some one help please ?? Anushri - please log the details (details are ne

Re: Recommendation on Reading or Websites or Examples of How to Use Lucene?

2005-10-22 Thread Erik Hatcher
On 21 Oct 2005, at 17:53, Sam Lee wrote: Hi, Do you guys have good recommendation on websites that have detail explanation about how to use Lucene? If they have source examples too, that would be great. I already read the book Lucene in Action. Sam - out of curiosity, what does Lucene in A

Re: Non scored results

2005-10-22 Thread Paul Elschot
On Friday 21 October 2005 15:16, Yonik Seeley wrote: > It can... > > By the time the hitcollector is called, the documents are already scored, so > you don't save any time there. But since they haven't been sorted yet, you > do save the time it would take to put all the hits through the priority >

Improving sort performance

2005-10-22 Thread Jeff Rodenburg
I have a custom sort that completes calculations on-the-fly, similar to the LIA distance sort. SortField type is Float. It works, but I need better performance. I'm wondering if there's a better way to do this. As a rule, the number of results returned in a given search will most often be a fracti

Re: Improving sort performance

2005-10-22 Thread Yonik Seeley
I'm not sure what type of score you are trying to do, but maybe FunctionQuery would help. http://issues.apache.org/jira/browse/LUCENE-446 -Yonik Now hiring -- http://forms.cnet.com/slink?231706 On 10/22/05, Jeff Rodenburg <[EMAIL PROTECTED]> wrote: > > I have a custom sort that completes calculat

Re: Improving sort performance

2005-10-22 Thread Jeff Rodenburg
This is really interesting, I haven't revved our code to this version yet. Does the score returned by FunctionQuery supersede underlying relevance scoring or is it rolled in at some base class? -- j On 10/22/05, Yonik Seeley <[EMAIL PROTECTED]> wrote: > > I'm not sure what type of score you are t

Re: Improving sort performance

2005-10-22 Thread Yonik Seeley
FunctionQuery matches all documents, so you normally want to use it as part of a BooleanQuery with another mandatory clause. That will cause only documents matching the other clause to be scored (the BooleanScorer takes care of that logic). The score FunctionQuery produces is from the function alo

Re: Improving sort performance

2005-10-22 Thread Jeff Rodenburg
Very cool. Any known drawbacks to this approach? On 10/22/05, Yonik Seeley <[EMAIL PROTECTED]> wrote: > > FunctionQuery matches all documents, so you normally want to use it as > part > of a BooleanQuery with another mandatory clause. That will cause only > documents matching the other clause to b

Can I Do Reverse Search?

2005-10-22 Thread Sam Lee
Hi, Normally, lucene or Nutch can match query "nike shoe -blue" with "red nike shoe". But what about matching "red nike shoe" with query "nike shoe -blue"? It is the other way around. Can I do it with a combinations of API? Many thanks. __ Do Yo

"More Like This..."

2005-10-22 Thread msftblows
Hi All- Can someone point me to where I can find this class? Thanks! -Joe

Re: "More Like This..."

2005-10-22 Thread Erik Hatcher
On 22 Oct 2005, at 20:20, [EMAIL PROTECTED] wrote: Can someone point me to where I can find this class? It exists in Lucene's Subversion repository under contrib/similarity. Erik - To unsubscribe, e-mail: [EMAIL PROTECT

Re: Non scored results

2005-10-22 Thread Chris Hostetter
: In case you have an OR like boolean query, with optional clauses only, : it may be faster iterate over the documents of each clause seperately : to set the document bits. And depending on the types of "queries" you want to do, using Filter varients and calling the bits() method directly might b