Re: Help in Lucene Postings Highlighter..

2013-11-25 Thread VIGNESH S
Hi Mike, I indexed 1 GB document with postingshighlighter and Fast Vector Highlighter. To my Surprise PostingsHighlighter took almost 1.6 times FastVectorHighlighter.. I thought storing document offset will take less space compared to Storing Term Vector. On Mon, Nov 25, 2013 at 7:04 PM, M

Re: Help in Lucene Postings Highlighter..

2013-11-25 Thread Michael McCandless
Yes, you need to store it; this is where PH gets the "original" content from for highlighting. Alternatively you can store/retrieve this content yourself and pass it to PH. But, what NPE did you hit? We should improve that if we can... Mike McCandless http://blog.mikemccandless.com On Mon, N

Help in Lucene Postings Highlighter..

2013-11-25 Thread VIGNESH S
Hi, I tried indexing for PostingsHighligher with TextField."TYPE_NOT_STOREDTYPE_STORED" and used postings highlighter..iam getting null pointer Exception. But if i use TextField.TYPE_STORED it is working properly.. can,t i use postingshighlighter without storing ?.Please kindly Help. Below is t