H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
-Original Message-
From: Stefy D. [mailto:tsuki_st...@yahoo.com]
Sent: Thursday, March 20, 2014 10:05 PM
To: java-user@lucene.apache.org
Subject: Dimension mismatch exception
Dear all,
I am trying to compu
unless you have some Lucene code around, too. If this is the case, you should
give more information how you use Lucene.
Uwe
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
> -Original Message-
> From: Stefy D. [mailto:tsuki_st.
014 10:05 PM
> To: java-user@lucene.apache.org
> Subject: Dimension mismatch exception
>
> Dear all,
>
> I am trying to compute the cosine similarity between several documents. I
> have an indexed directory A made using 1 files and another indexed
> directory B made u
If you want to compute the cosines between pairs of documents (each a compared
with each b), then the dimension is 100, the size of each document. If you want
to compare the whole index then you will need to make them the same length
(number of elements) by padding the shorter with zeroes. There
Dear all,
I am trying to compute the cosine similarity between several documents. I have
an indexed directory A made using 1 files and another indexed directory B
made using 2 files. All the indexed documents from both directories have
the same length (100 sentences). I want to get the