lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pawel <pawelmis...@gmail.com>
Subject Re: Highlighting integer field
Date Fri, 12 Dec 2014 09:27:23 GMT
Hi,
Thanks for your response. Do you maybe have an idea how to handle integers
(even on low level - Lucene) in highlighter?

--
Paweł

On Fri, Dec 12, 2014 at 12:28 AM, Michael Sokolov <
msokolov@safaribooksonline.com> wrote:
>
> So the short answer to your original question is "no." Highlighting is
> designed to find matches *within* a tokenized (text) field only.  That is
> difficult because text gets processed and there are all sorts of
> complications, but for integers it should be pretty easy to match the
> values in the document and those in the query in the client, ie without
> help from Solr?
>
> -Mike
>
>
> On 12/11/14 6:19 PM, Pawel wrote:
>
>> Hi,
>> Thanks for response. It is quite important to me for example to highlight
>> multivalued field with many int or long tokens.
>>
>> --
>> Paweł
>>
>> On Thu, Dec 11, 2014 at 3:08 PM, Tomoko Uchida <
>> tomoko.uchida.1111@gmail.com
>>
>>> wrote:
>>>
>>> Hi Pawel,
>>>
>>> Essentially, highlighting is a feature to show "fragments of documents"
>>> that matche user queries.
>>> With that, he/she can find occurrence of their query in long documents
>>> and
>>> can understand their results well.
>>>
>>> For tint or tlong fields (or other non-text field types), "fragments"
>>> usually have no meaning.
>>>
>>> So, excuse me, I cannot understand your intent.
>>> If you specify your need a little bit more, I or other fellows may be
>>> able
>>> to help you.
>>>
>>> Regards,
>>> Tomoko
>>>
>>> 2014-12-11 19:12 GMT+09:00 Pawel Rog <pawelmiszcz@gmail.com>:
>>>
>>>  Hi,
>>>> Is it possible to highlight int (TrieLongField) or long (TrieLongField)
>>>> field in Solr?
>>>>
>>>> --
>>>> Paweł
>>>>
>>>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message