You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by sarfaraz masood <sa...@yahoo.com> on 2010/06/22 19:38:49 UTC

Change the Solr searcher

I am a novice in solr / lucene. but i have gone
thru the documentations of both.I have even implemented programs in
lucene for searching etc.

My problem is to apply a new search technique other than the one used by solr. 

Now as i know that lucene has its own searcher
which is used by solr as well. 

*Ques.. Cant i replace this searcher part in
SOLR by a java program that returns documents as per my algorithm ?

i.e I only want to change the searcher part of solr. I have
studied abt customizing the scoring which is absolutely not my aim.My
aim is replace the searcher.

Plz help me in this regards. I will be highly gratefull to you for your assistance in this work of mine.

If any part of this mail was not clear to you then plz lemme know, i will expain that you.

Regards

-sarfaraz


Re: Mr Erick Re: Change the Solr searcher

Posted by sarfaraz masood <sa...@yahoo.com>.
but how to add this change to the running solr server?? 

i mean to say that how make my changes visible in running solr ?? Do i need to make a pluggin , patch or something???

-sarfaraz

--- On Tue, 22/6/10, Erik Hatcher <er...@gmail.com> wrote:

From: Erik Hatcher <er...@gmail.com>
Subject: Re: Change the Solr searcher
To: solr-user@lucene.apache.org
Date: Tuesday, 22 June, 2010, 11:11 PM

Sounds like what you want is to override Solr's "query" component.  Have a look at the built-in one and go from there.

    Erik

On Jun 22, 2010, at 1:38 PM, sarfaraz masood wrote:

> I am a novice in solr / lucene. but i have gone
> thru the documentations of both.I have even implemented programs in
> lucene for searching etc.
> 
> My problem is to apply a new search technique other than the one used by solr.
> 
> Now as i know that lucene has its own searcher
> which is used by solr as well.
> 
> *Ques.. Cant i replace this searcher part in
> SOLR by a java program that returns documents as per my algorithm ?
> 
> i.e I only want to change the searcher part of solr. I have
> studied abt customizing the scoring which is absolutely not my aim.My
> aim is replace the searcher.
> 
> Plz help me in this regards. I will be highly gratefull to you for your assistance in this work of mine.
> 
> If any part of this mail was not clear to you then plz lemme know, i will expain that you.
> 
> Regards
> 
> -sarfaraz
> 




Re: Change the Solr searcher

Posted by Erik Hatcher <er...@gmail.com>.
Sounds like what you want is to override Solr's "query" component.   
Have a look at the built-in one and go from there.

	Erik

On Jun 22, 2010, at 1:38 PM, sarfaraz masood wrote:

> I am a novice in solr / lucene. but i have gone
> thru the documentations of both.I have even implemented programs in
> lucene for searching etc.
>
> My problem is to apply a new search technique other than the one  
> used by solr.
>
> Now as i know that lucene has its own searcher
> which is used by solr as well.
>
> *Ques.. Cant i replace this searcher part in
> SOLR by a java program that returns documents as per my algorithm ?
>
> i.e I only want to change the searcher part of solr. I have
> studied abt customizing the scoring which is absolutely not my aim.My
> aim is replace the searcher.
>
> Plz help me in this regards. I will be highly gratefull to you for  
> your assistance in this work of mine.
>
> If any part of this mail was not clear to you then plz lemme know, i  
> will expain that you.
>
> Regards
>
> -sarfaraz
>