Re: MLT Using a Query created in a different index

2013-04-05 Thread Peter Lavin
ay not have any representation in the target corpus. -- Jack Krupansky -Original Message----- From: Peter Lavin Sent: Thursday, April 04, 2013 1:06 PM To: java-user@lucene.apache.org Subject: MLT Using a Query created in a different index Dear Users, I am doing some research where Lucene is integr

MLT Using a Query created in a different index

2013-04-04 Thread Peter Lavin
in an index with several (say 100+) documents, with thanks, Peter -- with best regards, Peter Lavin, PhD Candidate, CAG - Computer Architecture & Grid Research Group, Lloyd Institute, 005, Trinity College Dublin, Ireland. +353

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 {

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

Cosine Similarity Using Two or More Terms`

2013-03-07 Thread Peter Lavin
gards Peter -- with best regards, Peter Lavin, PhD Candidate, CAG - Computer Architecture & Grid Research Group, Lloyd Institute, 005, Trinity College Dublin, Ireland. +353 1 8961536 - To unsubscribe, e-mail: java-user

Re: Differences in MLT Query Terms Question

2013-01-09 Thread Peter Lavin
changes when the size of the index changes, I need to understand. thanks again, Peter -- Jack Krupansky -Original Message- From: Peter Lavin Sent: Tuesday, January 08, 2013 1:46 PM To: java-user@lucene.apache.org Subject: Differences in MLT Query Terms Question Dear Users, I am ru

Differences in MLT Query Terms Question

2013-01-08 Thread Peter Lavin
uments is used? 2) Am I right in assuming that the reason for slightly different scores in the IDF, or could it be this slight difference in the sets of terms used (or possibly both)? regards, Peter -- with best regards, Peter Lavin, PhD Candidate, CAG - Computer Architecture & Gr