lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Suggestion for Token.java
Date Tue, 13 Apr 2004 18:19:43 GMT
What is wrong with simply creating a new token that replaces an 
incoming one for synonyms?

I'm just playing devil's advocate here.... since you can already get 
the termText() through the public _method_.

	Erik


On Apr 13, 2004, at 9:52 AM, Holger Klawitter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi there,
>
> Just a short suggestion:
>
> It would be useful to make Token.termText public (or to provide a 
> reader/
> writer pair).
>
> That way one can create TokenFilters altering termText (for Synonyms 
> for
> example) in other packages as org.apache.lucene.analyzer.
>
> Mit freundlichem Gruß / With kind regards
> 	Holger Klawitter
> - --
> lists <at> klawitter <dot> de
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
>
> iD8DBQFAe/C41Xdt0HKSwgYRAoUEAKCUARoxSFiPv6OyJCzJhbLCLbtkmwCfQHzH
> pH4Z4Bk6M/emmLn0CVoEX8w=
> =1fIA
> -----END PGP SIGNATURE-----
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org


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


Mime
View raw message