Hi Hossman,
Thanks for your reply.when i index the search fields in my
lucene document,it occupy 20% of the original size.how can i reduce the
reduce the index size.
hossman_lucene wrote:
>
>
> : I need to store all the attributes of the document i index as part of
> the
> : inde
: I need to store all the attributes of the document i index as part of the
: index. And I need to get the size of the files as close to 20% of the
: original size as possible. If anyone can help with this I can pay a nominal
: fee. Please contact me if anyone can help.
Let's be clear about somet
Have a look at http://www.gossamer-threads.com/lists/lucene/java-dev/
38880?search_string=compression;#38880
The upshot is that you should compress the data yourself and then
store it as a binary field (Field Constructor: public Field(String
name, byte[] value, Store store) ). This way yo