Lucene Query objects do not generally "carry" this kind of incormation ...
for debugging purposes you can use the Explanation class, but it is not
particularly efficient.
you may also want to look at SpanQueries ... they are a specialized
subset of Queries which do keep track of this info, and yo
ore and
position.
Cheers,
Mark
- Original Message
From: Mohsen Saboorian <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Monday, 26 March, 2007 6:31:14 PM
Subject: Re: Matched Query Part in Hit Object
Any hint?
Mohsen Saboorian wrote:
>
> Hi,
> Is there a
(hit 2): "consectetur adipisicing elit". I
> want to find that "elit" is the matched part of the query.
>
> Thanks in advance.
>
--
View this message in context:
http://www.nabble.com/Matched-Query-Part-i
the matched part of the query.
Thanks in advance.
--
View this message in context:
http://www.nabble.com/Matched-Query-Part-in-Hit-Object-tf3461413.html#a9657599
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---