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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to