Re: building custom RequestHandlers

2009-06-25 Thread Julian Davchev
Ok, I glued all stuff and ended up extending handler.component.SearchHandlercause I wan to use all it's functionlity only toadjust the q param before it gets preocessed. How exactly can I get the q and set it back later? >From digging code it seems thats the way SolrParams p = req.getP

Re: building custom RequestHandlers

2009-06-24 Thread Julian Davchev
Great thank you. Mats Lindh wrote: > I wrote a small post regarding how to create an analysis filter about a year > ago. I'm guessing that the process is quite similar when developing a custom > request handler: > > http://e-mats.org/2008/06/writing-a-solr-analysis-filter-plugin/ > > Hope that hel

Re: building custom RequestHandlers

2009-06-24 Thread Mats Lindh
I wrote a small post regarding how to create an analysis filter about a year ago. I'm guessing that the process is quite similar when developing a custom request handler: http://e-mats.org/2008/06/writing-a-solr-analysis-filter-plugin/ Hope that helps. --mats On Wed, Jun 24, 2009 at 12:54 PM, J

Re: building custom RequestHandlers

2009-06-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Wed, Jun 24, 2009 at 4:24 PM, Julian Davchev wrote: > Well it's really lovely whats in there but this is just configuration > aspect. Is there sample where should I place my class etc > and howto complie and all. just simple top to bottom example. I guess > most of those aspects might be java

Re: building custom RequestHandlers

2009-06-24 Thread Julian Davchev
Well it's really lovely whats in there but this is just configuration aspect. Is there sample where should I place my class etc and howto complie and all. just simple top to bottom example. I guess most of those aspects might be java but they are solr related as well. Noble Paul നോബിള്‍ नोब्ळ् wr

Re: building custom RequestHandlers

2009-06-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
this part of the doc explains what you shold do to write a custom requesthandler http://wiki.apache.org/solr/SolrPlugins#head-7c0d03515c496017f6c0116ebb096e34a872cb61 On Wed, Jun 24, 2009 at 3:35 AM, Julian Davchev wrote: > Is it just me or this is thread steal? nothing todo with what thread is >

Re: building custom RequestHandlers

2009-06-23 Thread Julian Davchev
Is it just me or this is thread steal? nothing todo with what thread is originally about. Cheers 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-n

Re: building custom RequestHandlers

2009-06-23 Thread Chris Hostetter
: 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. I would start here... http://wiki.apache.org/solr/SolrPlugins ...and then ask specific questions as you encounter them.

Re: building custom RequestHandlers

2009-06-23 Thread Chris Hostetter
: 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. Did you look at

Re: building custom RequestHandlers

2009-06-23 Thread Julian Davchev
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 t

Re: building custom RequestHandlers

2009-06-23 Thread Bill Dueber
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

Re: building custom RequestHandlers

2009-06-23 Thread Eric Pugh
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 loo

Re: building custom RequestHandlers

2009-06-23 Thread Julian Davchev
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! > > Eri

Re: building custom RequestHandlers

2009-06-23 Thread Eric Pugh
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 s

building custom RequestHandlers

2009-06-23 Thread Julian Davchev
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