Check out this link http://wiki.apache.org/solr/FieldOptionsByUseCase
You need to store the field if you want to use the highlighting feature. If you need to retrieve and display the highlighted snippets then the fields definitely needs to be stored. To use term offsets, it will be a good idea to enable the following attributes for that field termVectors termPositions termOffsets The only issue here is that your storage costs will increase because of these extra features. Nevertheless, you definitely need to store the field if you need to retrieve it for highlighting purposes. On Tue, Oct 26, 2010 at 6:50 AM, Phong Dais <phong.gd...@gmail.com> wrote: > Hi, > > I've been looking thru the mailing archive for the past week and I haven't > found any useful info regarding this issue. > > My requirement is to index a few terabytes worth of data to be searched. > Due to the size of the data, I would like to index without storing but I > would like to use the highlighting feature. Is this even possible? What > are my options? > > I've read about termOffsets, payload that could possibly be used to do this > but I have no idea how this could be done. > > Any pointers greatly appreciated. Someone please point me in the right > direction. > > I don't mind having to write some code or digging thru existing code to > accomplish this task. > > Thanks, > P. > -- °O° "Good Enough" is not good enough. To give anything less than your best is to sacrifice the gift. Quality First. Measure Twice. Cut Once. http://www.israelekpo.com/