lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravi L <mouryar...@gmail.com>
Subject Storing part of the field
Date Fri, 14 Nov 2008 07:49:24 GMT
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@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message