I did not know about LUCENE-3080. (and take a look now)
So discussion seems to be beyond user mailing list, but thank you for your
information.
Regards,
Tomoko
2014-12-12 21:04 GMT+09:00 Pawel :
>
> Hi again,
> When I removed those lines from DefaultSolrHighlighter and rebuilt Solr it
> seems to
Hi again,
When I removed those lines from DefaultSolrHighlighter and rebuilt Solr it
seems to work.
final SchemaField schemaField = schema.getFieldOrNull(fieldName);
if (schemaField != null && ((schemaField.getType() instanceof
org.apache.solr.schema.TrieField)
|| (schemaField.
Hi,
As Mike have pointed, there is no way to highlight numeric fields.
If you want to highlight, you have to index them as *text* field. It's not
about Solr, but Lucene.
(Maybe it's possible to "highlight" them in application layer, server side
program or client side JavaScript, rather than Solr?
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 <
msoko...@safaribooksonline.com> wrote:
>
> So the short answer to your original question is "no." Highlighting i
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 d
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 wrote:
>
> Hi Pawel,
>
> Essentially, highlighting is a feature to show "fragments of documents"
> that matche use
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 h
Hi,
Is it possible to highlight int (TrieLongField) or long (TrieLongField)
field in Solr?
--
Paweł