http://javatechniques.com/public/java/docs/basics/lucene-memory-search.html

is this good? it seems to be good..

On 11/3/06, Michele Amoretti <[EMAIL PROTECTED]> wrote:
Ok, sorry I did not read it in depth.

Now, where can I find an example of:

- building the RAMDirectory
- scoring all documents against the query?

thanks

On 11/3/06, Chris Hostetter <[EMAIL PROTECTED]> wrote:
>
> : I have a question: is the score for a document different if I have
> : only that document in my index, or if I have N documents?
> : If the answer is yes, I will put all N documents together, otherwise I
> : will evaluate them one by one.
>
> as i said before, yes it does...
>
> >> For most of the various types of Queries that exist in Lucene, the
> >> score is very dependent on how common the Terms involved are in the
> >> Corpus as a whole -- if your Corpus consists of only 1 Document, then
> >> your scores are going to be relatively meaningless.
>
> ...you will see a big difference between an index containing 1 doc, and an
> index containing 10 docs which all match your query, and an index
> containing 100000 docs.
>
> I believe Doron already suggested you take a look at the Document
> explainaing how Lucene's Scoring works correct? ...
>
>        http://lucene.apache.org/java/docs/scoring.html
>
>
> -Hoss
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Michele Amoretti, Ph.D.
Distributed Systems Group
Dipartimento di Ingegneria dell'Informazione
Università degli Studi di Parma
http://www.ce.unipr.it/people/amoretti



--
Michele Amoretti, Ph.D.
Distributed Systems Group
Dipartimento di Ingegneria dell'Informazione
Università degli Studi di Parma
http://www.ce.unipr.it/people/amoretti

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to