Re: Vector Space Model: New Similarity Implementation Issues

2008-02-28 Thread Dharmalingam
ity! To that end, my two cents would be to focus on creating > the right kinds of queries, analyzers, etc. > > > -Grant > > On Feb 28, 2008, at 3:55 PM, Dharmalingam wrote: > >> >> Thanks for your tips. My overall goal is to quickly implement 7 >>

Re: Vector Space Model: New Similarity Implementation Issues

2008-02-28 Thread Dharmalingam
treat every requirement as a query. In this problem, I would like to compare these collection of algorithms for their relevance. Grant Ingersoll-6 wrote: > > > On Feb 28, 2008, at 9:00 AM, Dharmalingam wrote: > >> >> Thanks for the reply. Sorry if my explanatio

Indexing source code files

2008-02-28 Thread Dharmalingam
I am working on some sort of search mechanism to link a requirement (i.e. a query) to source code files (i.e., documents). For that purpose, I indexed the source code files using Lucene. Contrary to traditional natural language search scenario, we search for code files that are relevant to a given

Re: Vector Space Model: New Similarity Implementation Issues

2008-02-28 Thread Dharmalingam
es of Lucene. Thanks for your advice. Grant Ingersoll-6 wrote: > > Not sure I am understanding what you are asking, but I will give it a > shot. See below > > > On Feb 26, 2008, at 3:45 PM, Dharmalingam wrote: > >> >> Hi List, >> >> I am prett

Vector Space Model: New Similarity Implementation Issues

2008-02-26 Thread Dharmalingam
Hi List, I am pretty new to Lucene. Certainly, it is very exciting. I need to implement a new Similarity class based on the Term Vector Space Model given in http://www.miislita.com/term-vector/term-vector-3.html Although that model is similar to Lucene’s model (http://hudson.zones.apache.org/hud

RE: Problem in Coding, to get the DOC ID from HITS

2008-02-22 Thread Dharmalingam Ganesan
Of course, these are programming errors nothing really related to Lucene. Hits hits; Int hitCount = hits.length This does not make sense. You have just declared hits. It must be created before using it. The second error should disapper if you add throws declaration or try/catch block. By the wa

RE: How to get the doc ID from HITS

2008-02-22 Thread Dharmalingam Ganesan
It should be hits.id(i), not hits.id[i]. Note id is a method not an array. -Original Message- From: sumittyagi [mailto:[EMAIL PROTECTED] Sent: Friday, February 22, 2008 4:06 PM To: java-user@lucene.apache.org Subject: Re: How to get the doc ID from HITS here is my code, i am just starti