Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

Index individual digital strings

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


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

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.