[ no subject ]

2009-05-11 Thread Kamal Najib
will the anlyzer now do stemming, if i do the folow: analyzer = new StandardAnalyzer(); analyzer=AnalyzerUtil.getPorterStemmerAnalyzer(analyzer); thanks. Kamal. -- - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.or

Re: Re: [ no subject ]

2009-05-01 Thread Kamal Najib
Thanks Anshum Gupta for the reply, "As per my knowledge, you'd have to index one of the docs and then run a query (second doc) to get the similarity score." which docs do you mean? do you mean i have to create a doc for each Vector, do you mean somthing like this: Vector1 =<"term1","term2","ter

Re: [ no subject ]

2009-04-30 Thread Anshum
As per my knowledge, you'd have to index one of the docs and then run a query (second doc) to get the similarity score. Also, the default similarity would take into account more factors than the regular VSM hence, you'd even have to look into it. You may write code that on the fly creates a volati

[ no subject ]

2009-04-30 Thread Kamal Najib
Hi, A am new in Lucene and I want to get the similarity between two vectors of strings,is there a method, who do that? for example assume the vectors: Vector1 :<"term1","term2","term3"> Vector2:<"term4","term5","term5"> is there a method to get the similarity between them in lucene,or is ther