lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Davchev <j...@drun.net>
Subject Re: building custom RequestHandlers
Date Tue, 23 Jun 2009 20:40:17 GMT
I am not sure we talk about same thing at all. I want to extend solr
(java)  so that I have another request handler in java
And I can do for example      /select?qt=myhandler&q=querystring

Then in this myhandler class in java ot whoever I will parse querystring
so I build the final correct query to pass to the engine.

So question is howto extend the class.... where to place the file, howto
recomplie, set in solrconfig.xml etc... so that it's all glued together
and can make use of it.

Bill Dueber wrote:
> Is it possible to change the javascript  output? I find some of the
> information choices (e.g., that facet information is returned in a flat
> list, with facet names in the even-numbered indexes and number-of-items
> following them in the odd-numbered indexes) kind of annoying.
>
> On Tue, Jun 23, 2009 at 12:16 PM, Eric Pugh <epugh@opensourceconnections.com
>   
>> wrote:
>>     
>
>   
>> Like most things JavaScript, I found that I had to just dig through it and
>> play with it.  However, the Reuters demo site was very easy to customize to
>> interact with my own Solr instance, and I went from there.
>>
>>
>> On Jun 23, 2009, at 11:30 AM, Julian Davchev wrote:
>>
>>  Never used it.. I am just looking in docs how can I extend solr but no
>>     
>>> luck so far :(
>>> Hoping for some docs or real extend example.
>>>
>>>
>>>
>>> Eric Pugh wrote:
>>>
>>>       
>>>> Are you using the JavaScript interface to Solr?
>>>> http://wiki.apache.org/solr/SolrJS
>>>>
>>>> It may provide much of what you are looking for!
>>>>
>>>> Eric
>>>>
>>>> On Jun 23, 2009, at 10:27 AM, Julian Davchev wrote:
>>>>
>>>>  I am using solr and php quite nicely.
>>>>         
>>>>> Currently the work flow includes some manipulation on php side so I
>>>>> correctly format the query string and pass to tomcat/solr.
>>>>> I somehow want to build own request handler in java so I skip the whole
>>>>> apache/php request that is just for formating.
>>>>> This will saves me tons of requests to apache since I use solr directly
>>>>> from javascript.
>>>>>
>>>>> Would like to ask if there is something ready that I can use and adjust.
>>>>> I am kinda new in Java but once I get the pointers
>>>>> I think should be able to pull out.
>>>>> Thanks,
>>>>> JD
>>>>>
>>>>>
>>>>>
>>>>>           
>>>> -----------------------------------------------------
>>>> Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 |
>>>> http://www.opensourceconnections.com
>>>> Free/Busy: http://tinyurl.com/eric-cal
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>         
>> -----------------------------------------------------
>> Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 |
>> http://www.opensourceconnections.com
>> Free/Busy: http://tinyurl.com/eric-cal
>>
>>
>>
>>
>>
>>     
>
>
>   


Mime
View raw message