Re: suppressing FreqProxPostingsArray

2012-03-19 Thread Michael McCandless
Hmm, I agree we could be more RAM efficient if the field is DOCS_ONLY. We shouldn't have to allocate/use docFreqs, lastDocCodes, lastPositions arrays (3 of the 7); the others are still needed, I think. But, that said, you shouldn't hit OOME, as long as your max heap sizes is large enough (and, yo

is there an efficient way of finding locations of highlighted fragments in original text?

2012-03-19 Thread Ilya Zavorin
Hi, Is there an efficient way to find where a highlighted fragment is located in the original text stream? Of course, I can first find a fragment using Highlighter.getBestFragments() and then search for the fragment (without the ""s) using Java's substring search. But is there a way to do it fa

suppressing FreqProxPostingsArray

2012-03-19 Thread Ken McCracken
Hi, I am using lucene-3.5 and getting an OutOfMemoryError on a large indexing task of 100M documents. I am creating an index with 3 UUIDs as separate field values. I am using Store.YES on 1 of them and Store.NO on the others; I am using Index.NOT_ANALYZED_NO_NORMS on all three; explicitly settin

Re: delete entries from posting list Lucene 4.0

2012-03-19 Thread Zeynep P.
That is perfect Thank you very much Best regards ZP -- View this message in context: http://lucene.472066.n3.nabble.com/delete-entries-from-posting-list-Lucene-4-0-tp3838649p3839095.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. -

Re: delete entries from posting list Lucene 4.0

2012-03-19 Thread Andrzej Bialecki
On 19/03/2012 11:24, Zeynep P. wrote: I need to delete entries from posting list. How to do it in Lucene 4.0? I need to do this to test different pruning algorithms. Thanks in advance http://issues.apache.org/jira/browse/LUCENE-1812 http://issues.apache.org/jira/browse/LUCENE-2632 -- Best reg

How to display result like google like display text with search result?

2012-03-19 Thread neerajshah84
im using lucene2.9 and i need display search result like filename,filepath,textContent.. this text content highlight the matched string. When click on the search result ,it will go to the exact file and and the exact line. i tried to do it but my index size is very huge around 250MB, i think im doi

delete entries from posting list Lucene 4.0

2012-03-19 Thread Zeynep P.
I need to delete entries from posting list. How to do it in Lucene 4.0? I need to do this to test different pruning algorithms. Thanks in advance ZP -- View this message in context: http://lucene.472066.n3.nabble.com/delete-entries-from-posting-list-Lucene-4-0-tp3838649p3838649.html Sent from