You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by solruser <so...@gmail.com> on 2007/05/23 02:29:29 UTC
List of highlighted terms from search query
Hi,
I am wondering can we get the list of all highlighted terms from the search
query. If yes can someone suggest query options?
Thanks
--
View this message in context: http://www.nabble.com/List-of-highlighted-terms-from-search-query-tf3801344.html#a10755381
Sent from the Solr - User mailing list archive at Nabble.com.
Re: List of highlighted terms from search query
Posted by Mike Klaas <mi...@gmail.com>.
On 22-May-07, at 10:52 PM, solruser wrote:
>
> Hi James,
>
> I have already had tried out options for highlighting but
> unfortunately
> since solr highligted results does not include special characters
> in the
> results,
> thats the reason I am looking for a way to get list of highlighted
> terms that I can use to highlight the terms.
Sounds a tad circular :)
> I assume this might be issue
> which must been picked in the mailing list earlier too but I do not
> get
> relevant solution. Another thing I want to get the list of terms in
> hope to
> get better alternative. hope I make myself clear here
It sounds like you want to get the positions/offsets of the terms
found in the document to do highlighting yourself? This is currently
not possible out-of-the-box with Solr, but might be in the future.
However, I am surprised that there are "special characters" that
aren't appearing. Could you clarify what you mean? What analyzers
are you using?
-Mike
> Thanks
> -Amit
>
>
> James liu wrote:
>>
>> first u try enable highlighting(
>> http://wiki.apache.org/solr/HighlightingParameters)
>>
>> and u try solr admin gui to see its output and u will find what u
>> wanna.
>>
>>
>>
>> 2007/5/23, solruser <so...@gmail.com>:
>>>
>>>
>>> Hi,
>>>
>>> I am wondering can we get the list of all highlighted terms from the
>>> search
>>> query. If yes can someone suggest query options?
>>>
>>> Thanks
>>> --
>>> View this message in context:
>>> http://www.nabble.com/List-of-highlighted-terms-from-search-query-
>>> tf3801344.html#a10755381
>>> Sent from the Solr - User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>> --
>> regards
>> jl
>>
>>
>
> --
> View this message in context: http://www.nabble.com/List-of-
> highlighted-terms-from-search-query-tf3801344.html#a10757932
> Sent from the Solr - User mailing list archive at Nabble.com.
>
Re: List of highlighted terms from search query
Posted by James liu <li...@gmail.com>.
2007/5/23, solruser <so...@gmail.com>:
>
>
> Hi James,
>
> I have already had tried out options for highlighting but unfortunately
> since solr highligted results does not include special characters
special characters? maybe u should print some .
in the
> results, thats the reason I am looking for a way to get list of
> highlighted
> terms that I can use to highlight the terms. I assume this might be issue
> which must been picked in the mailing list earlier too but I do not get
> relevant solution. Another thing I want to get the list of terms in hope
> to
> get better alternative. hope I make myself clear here
>
> Thanks
> -Amit
>
>
> James liu wrote:
> >
> > first u try enable highlighting(
> > http://wiki.apache.org/solr/HighlightingParameters)
> >
> > and u try solr admin gui to see its output and u will find what u wanna.
> >
> >
> >
> > 2007/5/23, solruser <so...@gmail.com>:
> >>
> >>
> >> Hi,
> >>
> >> I am wondering can we get the list of all highlighted terms from the
> >> search
> >> query. If yes can someone suggest query options?
> >>
> >> Thanks
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/List-of-highlighted-terms-from-search-query-tf3801344.html#a10755381
> >> Sent from the Solr - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > regards
> > jl
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/List-of-highlighted-terms-from-search-query-tf3801344.html#a10757932
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>
--
regards
jl
Re: List of highlighted terms from search query
Posted by solruser <so...@gmail.com>.
Hi James,
I have already had tried out options for highlighting but unfortunately
since solr highligted results does not include special characters in the
results, thats the reason I am looking for a way to get list of highlighted
terms that I can use to highlight the terms. I assume this might be issue
which must been picked in the mailing list earlier too but I do not get
relevant solution. Another thing I want to get the list of terms in hope to
get better alternative. hope I make myself clear here
Thanks
-Amit
James liu wrote:
>
> first u try enable highlighting(
> http://wiki.apache.org/solr/HighlightingParameters)
>
> and u try solr admin gui to see its output and u will find what u wanna.
>
>
>
> 2007/5/23, solruser <so...@gmail.com>:
>>
>>
>> Hi,
>>
>> I am wondering can we get the list of all highlighted terms from the
>> search
>> query. If yes can someone suggest query options?
>>
>> Thanks
>> --
>> View this message in context:
>> http://www.nabble.com/List-of-highlighted-terms-from-search-query-tf3801344.html#a10755381
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
>
>
> --
> regards
> jl
>
>
--
View this message in context: http://www.nabble.com/List-of-highlighted-terms-from-search-query-tf3801344.html#a10757932
Sent from the Solr - User mailing list archive at Nabble.com.
Re: List of highlighted terms from search query
Posted by James liu <li...@gmail.com>.
first u try enable highlighting(
http://wiki.apache.org/solr/HighlightingParameters)
and u try solr admin gui to see its output and u will find what u wanna.
2007/5/23, solruser <so...@gmail.com>:
>
>
> Hi,
>
> I am wondering can we get the list of all highlighted terms from the
> search
> query. If yes can someone suggest query options?
>
> Thanks
> --
> View this message in context:
> http://www.nabble.com/List-of-highlighted-terms-from-search-query-tf3801344.html#a10755381
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>
--
regards
jl