Java Mailing List Archive

http://www.java2.5341.com/

Home » java-user.lucene »

Storing part of the field

Ravi L

2008-11-14

Replies: Find Java Web Hosting

Author LoginPost Reply
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

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@(protected)
For additional commands, e-mail: java-user-help@(protected)

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.