You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Roy <ro...@gmail.com> on 2004/10/13 00:54:40 UTC

How does Lucene search work?

Hello, Lucene gurus:

I am reading lucene source code to understand how search is processed
and how documents are ranked. The indexing part is relatively easy
because the index format is well-document. However, the searching part
is difficult to me. I don't understand how different Query classes,
Scorer classes and IndexReader class work together to filter and rank
documents. I found little document on this.

Could somebody give me some hints and pointers? Thanks a lot!

Roy

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Re: How does Lucene search work?

Posted by Roy Shan <ro...@gmail.com>.
Thanks for your advice.


On Wed, 13 Oct 2004 20:57:28 +0200, Paul Elschot <pa...@xs4all.nl> wrote:
> 
> 
> On Wednesday 13 October 2004 00:54, Roy wrote:
> > Hello, Lucene gurus:
> >
> > I am reading lucene source code to understand how search is processed
> > and how documents are ranked. The indexing part is relatively easy
> > because the index format is well-document. However, the searching part
> > is difficult to me. I don't understand how different Query classes,
> > Scorer classes and IndexReader class work together to filter and rank
> > documents. I found little document on this.
> >
> > Could somebody give me some hints and pointers? Thanks a lot!
> 
> The javadocs have been improved somewhat recently, so
> in case you are not using the most recent java code, get it from cvs head,
> build  the javadocs-internal target, and use the resulting javadocs.
> These javadocs are still incomplete, don't hesitate to add/correct
> via bugzilla.
> 
> Regards,
> Paul Elschot
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
> 
> 


-- 
Roy

**May I open-source your mind?**

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Re: How does Lucene search work?

Posted by Paul Elschot <pa...@xs4all.nl>.
On Wednesday 13 October 2004 00:54, Roy wrote:
> Hello, Lucene gurus:
>
> I am reading lucene source code to understand how search is processed
> and how documents are ranked. The indexing part is relatively easy
> because the index format is well-document. However, the searching part
> is difficult to me. I don't understand how different Query classes,
> Scorer classes and IndexReader class work together to filter and rank
> documents. I found little document on this.
>
> Could somebody give me some hints and pointers? Thanks a lot!

The javadocs have been improved somewhat recently, so
in case you are not using the most recent java code, get it from cvs head,
build  the javadocs-internal target, and use the resulting javadocs.
These javadocs are still incomplete, don't hesitate to add/correct
via bugzilla.

Regards,
Paul Elschot




---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org