Re: Storing part of the field

2008-11-14 Thread Ravi L
o you care? Storing two fields, one indexed but not stored and one stored but not indexed shouldn't use very many resources. Best Erick On Fri, Nov 14, 2008 at 3:06 AM, Ravi L <[EMAIL PROTECTED]> wrote: Thanks Anshum! This can be possible. But, I am searching for is to do this w

Re: Storing part of the field

2008-11-14 Thread Ravi L
o store as per your logic. Hope this solves your purpose. -- Anshum Gupta Naukri Labs! http://ai-cafe.blogspot.com The facts expressed here belong to everybody, the opinions to me. The distinction is yours to draw On Fri, Nov 14, 2008 at 1:19 PM, Ravi L <[EMAIL PROTECTED]> wr

Storing part of the field

2008-11-13 Thread Ravi L
Hi, I am simple question. I want a string to be indexed, but stored part of that string. For example, if my string is "foo bar", I want to index whole string("foo bar") but store the first 3 characters("foo") of it. How can I do this with the lucene APIs? thanks ravi ---