How to store a HashSet in the index?
Hi, Can anyone help me on, as to how I can go about efficiently indexing (actually, storing in the index) and retrieving, a HashSet object, which contains multiple string arrays? I just want to store the HashSet in the index, and not search on it. The HashSet should be returned with the document when I perform a search on any other fields. Regards, Rishabh
Re: How to store a HashSet in the index?
On Dec 10, 2007, at 3:10 AM, Rishabh Joshi wrote: Can anyone help me on, as to how I can go about efficiently indexing (actually, storing in the index) and retrieving, a HashSet object, which contains multiple string arrays? I just want to store the HashSet in the index, and not search on it. The HashSet should be returned with the document when I perform a search on any other fields. If you have Java on indexing and querying side of things, you could simply serialize and stringify (via uuencoding perhaps) the HashSet, and deserialize it on retrieval. Just be sure to set the field to be untokenized and stored. Erik
Re: How to store a HashSet in the index?
Thanks Eric! Rishabh On Dec 10, 2007 3:30 PM, Erik Hatcher [EMAIL PROTECTED] wrote: On Dec 10, 2007, at 3:10 AM, Rishabh Joshi wrote: Can anyone help me on, as to how I can go about efficiently indexing (actually, storing in the index) and retrieving, a HashSet object, which contains multiple string arrays? I just want to store the HashSet in the index, and not search on it. The HashSet should be returned with the document when I perform a search on any other fields. If you have Java on indexing and querying side of things, you could simply serialize and stringify (via uuencoding perhaps) the HashSet, and deserialize it on retrieval. Just be sure to set the field to be untokenized and stored. Erik