lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafał Kuć <r....@solr.pl>
Subject Re: how to implement a TokenFilter?
Date Sun, 23 Dec 2012 08:01:00 GMT
Hello!

The simplest way is to look at Lucene javadoc and see what
implementations of Attribute interface there are - http://lucene.apache.org/core/4_0_0/core/org/apache/lucene/util/Attribute.html

-- 
Regards,
 Rafał Kuć
 Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch

> thanks, i read this ready. it is useful, but it is too 'small'...

> e.g. for this.charTermAttr = addAttribute(CharTermAttribute.class);

> i want to know what are the other attributes i need in order to implement
> my function. where i can find a references to these attributes? i tried on
> lucene & solr wiki, but all i found is a list of the names of these
> attributes, nothing about what are they capable of...




> On Sat, Dec 22, 2012 at 10:37 PM, Rafał Kuć <r.kuc@solr.pl> wrote:

>> Hello!
>>
>> A small example with some explanation can be found here:
>> http://solr.pl/en/2012/05/14/developing-your-own-solr-filter/
>>
>> --
>> Regards,
>>  Rafał Kuć
>>  Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
>>
>> > Hi,
>>
>> > I need a guide to implement my own TokenFilter. I checked the wiki, but I
>> > could not find any useful guide :(
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>>



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