Re: Build Solr to run SolrJS

2008-11-22 Thread Jon Baer
data rows (requires a started testserver) Erik -- View this message in context: http://www.nabble.com/Build-Solr-to-run-SolrJS-tp20526644p20611635.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Build Solr to run SolrJS

2008-11-22 Thread Matthias Epheser
t in browser: doc/index.html * ant example-init -> (depends ant dist on solr root) copies the current built of solr.war and solr-velocity.jar to example/testsolr/.. * ant example-start -> starts the testsolr server on port 8983 * ant example-import -> imports 3000 test data rows (require

Re: Build Solr to run SolrJS

2008-11-22 Thread Erik Hatcher
lr.war and solr-velocity.jar to example/testsolr/.. * ant example-start -> starts the testsolr server on port 8983 * ant example-import -> imports 3000 test data rows (requires a started testserver) Erik -- View this message in context: http://www.nabble.com/Build-Solr-to-run-SolrJS-tp20526644p20611635.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Build Solr to run SolrJS

2008-11-22 Thread Matthias Epheser
city.jar to example/testsolr/.. * ant example-start -> starts the testsolr server on port 8983 * ant example-import -> imports 3000 test data rows (requires a started testserver) Erik -- View this message in context: http://www.nabble.com/Build-Solr-to-run-SolrJS-tp20526644p20611635.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Build Solr to run SolrJS

2008-11-22 Thread JCodina
rjs.zip to >>> https://issues.apache.org/jira/browse/SOLR-868. It >>> is intended to be extracted in contrib/javascript and supports the >>> following ant >>> targets: >>> >>> * ant dist -> creates a single js file and a jar that holds velocity >>

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
; (depends ant dist on solr root) copies the current built of solr.war and solr-velocity.jar to example/testsolr/.. * ant example-start -> starts the testsolr server on port 8983 * ant example-import -> imports 3000 test data rows (requires a started testserver) Erik -- View th

Re: Build Solr to run SolrJS

2008-11-20 Thread JCodina
gt; creates js docs. test in browser: doc/index.html > * ant example-init -> (depends ant dist on solr root) copies the current > built > of solr.war and solr-velocity.jar to example/testsolr/.. > * ant example-start -> starts the testsolr server on port 8983 > * ant example-i

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 "contrib/

Re: Build Solr to run SolrJS

2008-11-17 Thread Matthias Epheser
Erik Hatcher schrieb: 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.

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
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 to use SolrJ's API rather than assume embedded Sol

Re: Build Solr to run SolrJS

2008-11-17 Thread Matthias Epheser
Erik Hatcher schrieb: 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

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. Setting the co

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/ javascript" and cre

Re: Build Solr to run SolrJS

2008-11-17 Thread Erik Hatcher
On Nov 17, 2008, at 3:55 AM, JCodina wrote: java.lang.NoClassDefFoundError: org/apache/solr/request/VelocityResponseWriter (wrong name: ... [jar] Building jar: /home/joan/workspace/solr/contrib/dataimporthandler/target/apache- solr-dataimporthandler-1.4-dev.jar dist: ... [jar] B

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
ponseWriter 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 --View this message in context: http://www.nabble.com/Build-Solr-to-run-SolrJS-tp20526644p20526

Re: Build Solr to run SolrJS

2008-11-16 Thread Erik Hatcher
-- View this message in context: http://www.nabble.com/Build-Solr-to-run-SolrJS-tp20526644p20526644.html Sent from the Solr - User mailing list archive at Nabble.com.

Build Solr to run SolrJS

2008-11-16 Thread JCodina
-- View this message in context: http://www.nabble.com/Build-Solr-to-run-SolrJS-tp20526644p20526644.html Sent from the Solr - User mailing list archive at Nabble.com.