You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by hari narayanan <ha...@gmail.com> on 2011/03/27 23:15:54 UTC

Using Lucene with an existing dataset

Hello,

I am completely new to Lucene... I would like to implement a searching
algorithm called GBRank and test it using Lucene on an existing dataset ...
Is it possible ? I dont know how to go about this. Can anyone give me
directions on how to proceed?

Thanks,
Hari

Re: Using Lucene with an existing dataset

Posted by Vijay Raj <vi...@sargasdata.com>.
Check out the similarity implementation here 
- http://lucene.apache.org/java/3_0_1/api/core/org/apache/lucene/search/Similarity.html ,
 to start thinking about custom ranking algorithms. 

You can open a IndexSearcher and set the similarity herewith -
http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/search/Searcher.html#setSimilarity(org.apache.lucene.search.Similarity) . 

 

--
  Vijay



----- Original Message ----
> From: hari narayanan <ha...@gmail.com>
> To: java-user@lucene.apache.org
> Sent: Sun, March 27, 2011 2:15:54 PM
> Subject: Using Lucene with an existing dataset
> 
> Hello,
> 
> I am completely new to Lucene... I would like to implement a  searching
> algorithm called GBRank and test it using Lucene on an existing  dataset ...
> Is it possible ? I dont know how to go about this. Can anyone  give me
> directions on how to proceed?
> 
> Thanks,
> Hari
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org