Re: WeakReference Returning NULL

2013-03-12 Thread Peter Lavin
Please ignore this, I was using two different indexes, one of which did not have TermVectors.YES set, apologies, Peter On 03/12/2013 05:49 PM, Peter Lavin wrote: Hi all, I'm looking to create a TermFreqVector as follows TermFreqVector[] tfvs = null; try { tfvs = indxRead.getTermFreqVec

WeakReference Returning NULL

2013-03-12 Thread Peter Lavin
Hi all, I'm looking to create a TermFreqVector as follows TermFreqVector[] tfvs = null; try { tfvs = indxRead.getTermFreqVectors(docId); } catch (IOException e) { e.printStackTrace(); } However, the object tfvs is returning null. I've debugged it to a class called CloseableTh