lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: Controlling what is indexed / normalizing our index
Date Mon, 15 Feb 2010 21:38:50 GMT

> We have a list of keywords with aliases (Example: 
> keyword = "ms access"
> aliases = "microsoft access", "msaccess", "m.s.
> access"  )
> 
> We would like to intercept the aliases prior to them being
> indexed, and have
> the keyword indexed instead.  We can do this with a
> CustomFilter for single
> word aliases.  (Example: in filter token = "access",
> we change value to
> "msaccess").  Our problem is when the token equals
> microsoft, we need to
> find out if the next token is access or not, that is, does
> it match one of
> our aliases.
> 
> Has anyone had an issue like?  Any and all help is
> appreciated.  Thanx.

Very similar discussion has been made short time ago:

http://www.lucidimagination.com/search/document/6a2725ae6de611b3/read_more_tokens_during_analysis#ded44745457549ed


      

---------------------------------------------------------------------
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