lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <arafa...@gmail.com>
Subject Re: phonetic filter factory question
Date Sat, 15 Aug 2015 16:53:50 GMT
>From the "teaching to fish" category of advice (since I don't know the
actual answer).

Did you try "Analysis" screen in the Admin UI? If you check "Verbose
output" mark, you will see all the offsets and can easily confirm the
detailed behavior for yourself.

Regards,
  Alex.
----
Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter:
http://www.solr-start.com/


On 15 August 2015 at 12:22, Jamie Johnson <jej2003@gmail.com> wrote:
> The JavaDoc says that the PhoneticFilterFactory will "inject" tokens with
> an offset of 0 into the stream.  I'm assuming this means an offset of 0
> from the token that it is analyzing, is that right?  I am trying to
> collapse some of my schema, I currently have a text field that I use for
> general purpose text and another field with the PhoneticFilterFactory
> applied for finding things that are similar phonetically, but if this does
> inject at the current position then I could likely collapse these into a
> single field.  As always thanks in advance!
>
> -Jamie

Mime
View raw message