You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by themis <th...@gmail.com> on 2008/05/11 21:36:10 UTC

Lucene hits locator.

Hello. i am trying to develop a demo search engine using hte lucene library.I
ve been trying to find a way to locate the position of each hit result in a
document but don't seem to find any way doing this.Maybe you know of any
lucene method or even a more complex way.
Thank you in advance.
-- 
View this message in context: http://www.nabble.com/Lucene-hits-locator.-tp17173229p17173229.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.


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


Re: Lucene hits locator.

Posted by Chris Hostetter <ho...@fucit.org>.
: Hello. i am trying to develop a demo search engine using hte lucene library.I
: ve been trying to find a way to locate the position of each hit result in a
: document but don't seem to find any way doing this.Maybe you know of any
: lucene method or even a more complex way.
: Thank you in advance.

depending on what exactly it is you are trying to do, you should take a 
look at the "highlighter" contrib or the "explain" method in the API.

BTW...

http://people.apache.org/~hossman/#java-dev
Please Use "java-user@lucene" Not "java-dev@lucene"

Your question is better suited for the java-user@lucene mailing list ...
not the java-dev@lucene list.  java-dev is for discussing development of
the internals of the Lucene Java library ... it is *not* the appropriate
place to ask questions about how to use the Lucene Java library when
developing your own applications.  Please resend your message to
the java-user mailing list, where you are likely to get more/better
responses since that list also has a larger number of subscribers.



-Hoss


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