It's documented in that wiki page link below as "true/false -- true will add tokens to the stream, false will replace the existing token"
So if you index "cat" and it the phonetic filter turns it into "KT", it can either index cat and KT or just KT.
Erik
On Jun 14, 2011, at 10:45 , Jonathan Rochkind wrote:
> Hey Erik, in that wiki documentation the example it gives is:
>
> <filter class="solr.PhoneticFilterFactory" encoder="DoubleMetaphone" inject="true"/>
>
>
> Do you know what that 'inject' argument is about, and where (if anywhere) I'd find it (and other available arguments for PhoneticFilterFactory, which may or may not differ depending on encoder chosen?) documented?
>
> On 6/14/2011 8:31 AM, Erik Hatcher wrote:
>> On Jun 14, 2011, at 08:10 , Keith Jenkins wrote:
>>
>>> Does Solr support Soundex? (Soundex was originally developed to
>>> assist with alternate spellings of names)
>> Indeed. And several other phonetic algorithms:
>>
>> <http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.PhoneticFilterFactory>
>>
>> Erik
>>
|