Hi all,
What's the best way to index digital strings ?
currently I'm using
    doc.add(new Field("id", docid, Field.Store.YES, Field.Index.NOT_ANALYZED));
    doc.add(new Field("field", str, Field.Store.NO, Field.Index.ANALYZED));
str is concatenated digital strings for this document.
I guess there should be more effeciency way to do that.
Because the order of these strings are not useful.
I just want to index them mapping to the docid, like a rdms does.



-- 

Best Regards,
ZHAO, Wenbo

=======================

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