lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igal @ getRailo.org" <i...@getrailo.org>
Subject Lucene API
Date Mon, 05 Nov 2012 18:33:13 GMT
I don't mean to sound critical, but is there a reason that the API is 
not simpler?

for example, if I want to read/modify a CharTermAttribute's value, I 
need to use toString() to get the value, which is very unintuitive, and 
either copyBuffer() or setEmpty() and append().

is there a reason not to add the methods getTerm() and setTerm()?

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