Mike Topper wrote:
Hello,
In one of the fields in my schema I am sending somewhat large texts. I
want to be able to index all of it since I want to search on the entire
text, but I only need the first N characters to be returned to me. Is
there a way to do this with one field or would I just create two fields,
one that is indexed and not stored and one that is stored and not
indexed and only send the first N characters to the stored field?
-Mike
If you are using a nigtly version, you can use maxChars attribute of
copyField feature
to implement your idea:
<copyField source="indexedNotStored" dest="storedNotIndexed"
maxChars="2000" />
Koji