I'm assuming doc.add is the
object that would add tokens to the index?
Sometimes.

How can a token (word, phrase) be
"searchable but not stored in the index"?
Impossible.

You can search only stuff in the index. But you can not reconstruct page content from your index. If you would be able to get parts of the original content, you also have to store the page.

So: Index the parts you would like to search, Store the stuff you would like to get in their original version out of your system. Or do both.

If you want to search special fields, you should not extend the content field, you should create a new field.

Maybe it is better to have a look at index-more plugin instead of the basic index stuff.

Matthias
--
http://www.eventax.com - eventax GmbH
http://www.umkreisfinder.de - Die Suchmaschine für Lokales und Events

Reply via email to