
zhaowb at gmail
Nov 8, 2009, 10:48 PM
Post #1 of 1
(285 views)
Permalink
|
|
Index individual digital strings
|
|
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-unsubscribe [at] lucene For additional commands, e-mail: java-user-help [at] lucene
|