lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wenbo Zhao <zha...@gmail.com>
Subject Index individual digital strings
Date Mon, 09 Nov 2009 06:48:41 GMT
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@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message