lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Newton <glen.new...@gmail.com>
Subject Re: Index-time term expansion
Date Fri, 03 May 2013 18:39:37 GMT
Thanks  :-)

On Fri, May 3, 2013 at 2:31 PM, Alan Woodward <alan@flax.co.uk> wrote:
> Hi Glen,
>
> You want the SynonymFilter: http://lucene.apache.org/core/4_2_0/analyzers-common/org/apache/lucene/analysis/synonym/SynonymFilter.html
>
> Alan Woodward
> www.flax.co.uk
>
>
> On 3 May 2013, at 19:14, Glen Newton wrote:
>
>> Hello,
>>
>> I know I've seen it go by on this list and elsewhere, but cannot seem
>> to find it: can someone point me to the best way to do term expansions
>> at indexing time.
>>
>> That is, when the sentence is: "This foo is in my way"
>> And I somewhere: foo=bar|yak
>> Lucene indexes something like:
>>  "This foo|bar|yak is in my way"
>>
>> where foo, bar and yak all share the same offset.
>> Oh, interested in versions 3.6 and/or 4.2
>>
>> Thanks,
>> Glen
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>



-- 
-
http://zzzoot.blogspot.com/
-

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message