Problem in using solrJs

2010-09-09 Thread ankita shinde
Hello, I am using solrJs. I am trying to do Reuters example. I have followed all the steps but it's giving error in error console of browser that "AjaxSolr is undefined". I have all the jar files that are required. So tell me what should i do? Can you give me simple exampl

Re: solrjs

2009-12-12 Thread James McKinney
t; thanks > > --- Den ons 2009-10-28 skrev Colin Hynes : > >> Från: Colin Hynes >> Ämne: Re: solrjs >> Till: solr-user@lucene.apache.org >> Datum: onsdag 28 oktober 2009 15.18 >> >> Actually, it wasn't quite working. It also replicated

Re: solrjs

2009-10-28 Thread Colin Hynes
l not promote solr to larger audience.. well whats done is done. i will revert to older repo revision. thanks --- Den ons 2009-10-28 skrev Colin Hynes : Från: Colin Hynes Ämne: Re: solrjs Till: solr-user@lucene.apache.org Datum: onsdag 28 oktober 2009 15.18 Actually, it wasn't quite workin

Re: solrjs

2009-10-28 Thread Antonio Eggberg
> Ämne: Re: solrjs > Till: solr-user@lucene.apache.org > Datum: onsdag 28 oktober 2009 15.18 > > Actually, it wasn't quite working. It also replicated a lot > of stuff that's in ajax solr, which is being more actively > developed. Hence the removal. > > &g

Re: solrjs

2009-10-28 Thread Colin Hynes
ajax-solr before killing completely solrjs from trunk... at least it was working .. ajax-solr has no how to, nor any working example.. http://github.com/evolvingweb/ajax-solr Well why not just remove the javascript folder too and just have one liner mention in C

solrjs

2009-10-28 Thread Antonio Eggberg
I am all for new stuff. It would be nice to see a working example of ajax-solr before killing completely solrjs from trunk... at least it was working .. ajax-solr has no how to, nor any working example.. http://github.com/evolvingweb/ajax-solr Well why not just remove the javascript folder

Re: Build Solr to run SolrJS

2008-11-22 Thread Jon Baer
download solr from svn - trunk? - then, must I apply the patches of solrjs and velocity and unzip the files? or is this already in trunk? because trunk contains velocity and javascript in contrib. but does not find the velocity - How do I edit/activate SolrJs to adapt it to my data, the wiki

Re: Build Solr to run SolrJS

2008-11-22 Thread Matthias Epheser
Erik Hatcher schrieb: It'd be nice to have SolrJS and VrW's examples, at least the default one, work off the built-in Solr example data. It's pretty minimal, and somewhat contrived, but it'll make it lots easier to document and demonstrate this stuff if it's cohes

Re: Build Solr to run SolrJS

2008-11-22 Thread Erik Hatcher
It'd be nice to have SolrJS and VrW's examples, at least the default one, work off the built-in Solr example data. It's pretty minimal, and somewhat contrived, but it'll make it lots easier to document and demonstrate this stuff if it's cohesive that way. Ce

Re: Build Solr to run SolrJS

2008-11-22 Thread Matthias Epheser
this stuff. Erik On Nov 20, 2008, at 5:44 PM, JCodina wrote: I could not manage, yet to use it. :confused: My doubts are: - must I download solr from svn - trunk? - then, must I apply the patches of solrjs and velocity and unzip the files? or is this already in trunk? because tru

Re: Build Solr to run SolrJS

2008-11-22 Thread JCodina
orking better/cleaner as we go, so we appreciate your > early adopter help ironing out this stuff. > > Erik > > On Nov 20, 2008, at 5:44 PM, JCodina wrote: > >> >> I could not manage, yet to use it. :confused: >> My doubts are: >> - must I down

Re: Build Solr to run SolrJS

2008-11-22 Thread Erik Hatcher
On Nov 22, 2008, at 4:26 AM, Erik Hatcher wrote: I just got the client-side demo on trunk to work (with a few tweaks to make it work with the example core Solr data). On trunk follow these steps: * root directory: ant example One extra step needed, for the pedantic... * launch Solr: cd

Re: Build Solr to run SolrJS

2008-11-22 Thread Erik Hatcher
tter/cleaner as we go, so we appreciate your early adopter help ironing out this stuff. Erik On Nov 20, 2008, at 5:44 PM, JCodina wrote: I could not manage, yet to use it. :confused: My doubts are: - must I download solr from svn - trunk? - then, must I apply the patches of solrjs a

Re: Build Solr to run SolrJS

2008-11-20 Thread JCodina
I could not manage, yet to use it. :confused: My doubts are: - must I download solr from svn - trunk? - then, must I apply the patches of solrjs and velocity and unzip the files? or is this already in trunk? because trunk contains velocity and javascript in contrib. but does not find the

Re: Build Solr to run SolrJS

2008-11-17 Thread Matthias Epheser
Erik Hatcher schrieb: On Nov 16, 2008, at 1:40 PM, Matthias Epheser wrote: Matthias and Ryan - let's get SolrJS integrated into contrib/velocity. Any objections/reservations? As SolrJS may be used without velocity at all (using eg. ClientSideWidgets), is it possible to put it into &qu

Re: Build Solr to run SolrJS

2008-11-17 Thread Matthias Epheser
these conveniences. I want to get it using SolrJ's API for request/response rather than the more internal stuff we're using now. Got your point. I just added a new patch at https://issues.apache.org/jira/browse/SOLR-620 that makes solrjs run again. It includes: - support for response wra

Re: Build Solr to run SolrJS

2008-11-17 Thread Ryan McKinley
On Nov 17, 2008, at 2:59 PM, Erik Hatcher wrote: On Nov 17, 2008, at 2:11 PM, Matthias Epheser wrote: After we add the SolrQueryResponse to the templates first, we realized that some convenience methods for iterating the result docs, accessing facets etc. would be fine. The idea was to r

Re: Build Solr to run SolrJS

2008-11-17 Thread Erik Hatcher
On Nov 17, 2008, at 2:11 PM, Matthias Epheser wrote: After we add the SolrQueryResponse to the templates first, we realized that some convenience methods for iterating the result docs, accessing facets etc. would be fine. The idea was to reuse the existing wrappers (eg. QueryResponse). It

Re: Build Solr to run SolrJS

2008-11-17 Thread Matthias Epheser
Ryan McKinley schrieb: On Nov 17, 2008, at 1:35 PM, Erik Hatcher wrote: Can you elaborate on the use case for why you need the raw response like that? I vaguely get it, but want to really understand the need here. I'm weary of the EmbeddedSolrServer usage in there, as I want to distill the

Re: Build Solr to run SolrJS

2008-11-17 Thread Ryan McKinley
On Nov 17, 2008, at 1:35 PM, Erik Hatcher wrote: Can you elaborate on the use case for why you need the raw response like that? I vaguely get it, but want to really understand the need here. I'm weary of the EmbeddedSolrServer usage in there, as I want to distill the VrW stuff to be able

Re: Build Solr to run SolrJS

2008-11-17 Thread Ryan McKinley
I'm weary of the EmbeddedSolrServer usage in there, as I want to distill the VrW stuff to be able to use SolrJ's API rather than assume embedded Solr. This way VrW can be separated from core Solr to another "tier" and template on remote Solr responses. Thoughts on how this feature might

Re: Build Solr to run SolrJS

2008-11-17 Thread Erik Hatcher
ccess to the created response, as well as to the "rawResponse". I'll try to add the least necessary stuff to current vrw, test ist against solrjs and post a patch to jira. matthias Erik

Re: Build Solr to run SolrJS

2008-11-17 Thread Matthias Epheser
rt. In the etmplate , there is access to the created response, as well as to the "rawResponse". I'll try to add the least necessary stuff to current vrw, test ist against solrjs and post a patch to jira. matthias Erik

Re: Build Solr to run SolrJS

2008-11-17 Thread Erik Hatcher
On Nov 17, 2008, at 11:45 AM, Matthias Epheser wrote: Just noticed that VelocityResponeWriter in trunk is very reduced to my last patch from 2008-07-25. Right, that was intentional for my own simplicity's sake... The crucial difference is the missing translation into a solrj response by s

Re: Build Solr to run SolrJS

2008-11-17 Thread Matthias Epheser
Erik Hatcher schrieb: However, it isn't currently suitable for wiring to SolrJS - Matthias and I will have to resolve that. Just noticed that VelocityResponeWriter in trunk is very reduced to my last patch from 2008-07-25. Moving the templates into a jar shouldn't be a problem. S

Re: Build Solr to run SolrJS

2008-11-17 Thread Erik Hatcher
On Nov 16, 2008, at 1:40 PM, Matthias Epheser wrote: Matthias and Ryan - let's get SolrJS integrated into contrib/ velocity. Any objections/reservations? As SolrJS may be used without velocity at all (using eg. ClientSideWidgets), is it possible to put it into "contrib/ javas

Re: Build Solr to run SolrJS

2008-11-17 Thread Erik Hatcher
by default. It's a contrib, not core, so I intentionally put it in a separate lib directory. Here are the instructions to wire it in successfully from trunk: <http://wiki.apache.org/solr/VelocityResponseWriter > However, it isn't currently suitable for wiring to SolrJS - Mat

Re: Build Solr to run SolrJS

2008-11-17 Thread JCodina
.com/Build-Solr-to-run-SolrJS-tp20526644p20535777.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Build Solr to run SolrJS

2008-11-16 Thread Matthias Epheser
Erik Hatcher schrieb: Joan - I'll have a look at this in the near future. SolrJS was using a custom version of a VelocityResponseWriter patch, but since then I have committed a version of that code to the contrib/velocity area of Solr. contrib/velocity probably does not work with S

Re: Build Solr to run SolrJS

2008-11-16 Thread Erik Hatcher
Joan - I'll have a look at this in the near future. SolrJS was using a custom version of a VelocityResponseWriter patch, but since then I have committed a version of that code to the contrib/velocity area of Solr. contrib/velocity probably does not work with SolrJS currently, but

Build Solr to run SolrJS

2008-11-16 Thread JCodina
I downloaded solr/trunk and build it, everything seems to work except that the VelocityResponseWriter is not in the war file and tomcat , gives an error of configuration when using the conf.xml of the solrjs. Any suggestion on how to build the solr to work with solrjs?? Thanks Joan Codina