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.1...@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 <pawelmis...@gmail.com>:

Hi,
Is it possible to highlight int (TrieLongField) or long (TrieLongField)
field in Solr?

--
Paweł


Reply via email to