Re: Is it possible to writing solr result on disk from the server side?
On Thu, May 7, 2009 at 10:55 AM, arno13 wrote: > Do you know if it's possible to writing solr results directly on a hard disk > from server side and not to use an HTTP connection to transfer the results? If you have something like a CSV file (or any other file type that Solr accepts over HTTP), you can instruct that the body be read directly from disk instead. http://wiki.apache.org/solr/UpdateCSV -Yonik http://www.lucidimagination.com
Re: Is it possible to writing solr result on disk from the server side?
It's what I do from the client side however I don't know how to do this from the server side (solr). Sorry if I wasn't clear enough. Noble Paul നോബിള് नोब्ळ्-2 wrote: > > Solr does not need any special configuration to do this. Just fire > your query once and save the results xml/json into a file or in > memory. When you need them again , just read it from disk.memory > > On Fri, May 8, 2009 at 1:21 PM, arno13 > wrote: >> >> Thanks Paul! >> Yes, I saw it. In fact, if I well understand, it could be a solution, but >> a >> little beat too complicate for what I want to do. Currently my client >> part >> is not in Java and I still need a kind of client and server model because >> it's a Web application and solr have to be running and waiting query >> continuously. >> So even if it seems possible with EmbeddedSolrServer, sharing the xml >> results on a file will be a faster solution for me regarding also the >> development time. >> >> >> >> Noble Paul നോബിള് नोब्ळ्-2 wrote: >>> >>> did you consider using an EmbeddedSolrServer? >>> >>> On Thu, May 7, 2009 at 8:25 PM, arno13 >>> wrote: >>>> >>>> Do you know if it's possible to writing solr results directly on a hard >>>> disk >>>> from server side and not to use an HTTP connection to transfer the >>>> results? >>>> >>>> While the query time is very fast for solr, I want to do that, cause of >>>> the >>>> time taken during the transfer of the results between the client and >>>> the >>>> solr server when you have lot of 'rows'. >>>> For instance for 10'000 rows, the query time could be 50 ms and 19s to >>>> get >>>> the results from the server. As my client and server are on the same >>>> system, >>>> I could get the results faster directly on the hard disk (or better in >>>> a >>>> ram >>>> disk), is it possible configuring solr for that? >>>> >>>> Regards, >>>> >>>> >>>> >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/Is-it-possible-to-writing-solr-result-on-disk-from-the-server-side--tp23428509p23428509.html >>>> Sent from the Solr - User mailing list archive at Nabble.com. >>>> >>>> >>> >>> >>> >>> -- >>> - >>> Noble Paul | Principal Engineer| AOL | http://aol.com >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/Is-it-possible-to-writing-solr-result-on-disk-from-the-server-side--tp23428509p23441651.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> >> > > > > -- > - > Noble Paul | Principal Engineer| AOL | http://aol.com > > -- View this message in context: http://www.nabble.com/Is-it-possible-to-writing-solr-result-on-disk-from-the-server-side--tp23428509p23445157.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Is it possible to writing solr result on disk from the server side?
Solr does not need any special configuration to do this. Just fire your query once and save the results xml/json into a file or in memory. When you need them again , just read it from disk.memory On Fri, May 8, 2009 at 1:21 PM, arno13 wrote: > > Tanks Paul! > Yes, I saw it. In fact, if I well understand, it could be a solution, but a > little beat too complicate for what I want to do. Currently my client part > is not in Java and I still need a kind of client and server model because > it's a Web application and solr have to be running and waiting query > continuously. > So even if it seems possible with EmbeddedSolrServer, sharing the xml > results on a file will be a faster solution for me regarding also the > development time. > > > > Noble Paul നോബിള് नोब्ळ्-2 wrote: >> >> did you consider using an EmbeddedSolrServer? >> >> On Thu, May 7, 2009 at 8:25 PM, arno13 >> wrote: >>> >>> Do you know if it's possible to writing solr results directly on a hard >>> disk >>> from server side and not to use an HTTP connection to transfer the >>> results? >>> >>> While the query time is very fast for solr, I want to do that, cause of >>> the >>> time taken during the transfer of the results between the client and the >>> solr server when you have lot of 'rows'. >>> For instance for 10'000 rows, the query time could be 50 ms and 19s to >>> get >>> the results from the server. As my client and server are on the same >>> system, >>> I could get the results faster directly on the hard disk (or better in a >>> ram >>> disk), is it possible configuring solr for that? >>> >>> Regards, >>> >>> >>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Is-it-possible-to-writing-solr-result-on-disk-from-the-server-side--tp23428509p23428509.html >>> Sent from the Solr - User mailing list archive at Nabble.com. >>> >>> >> >> >> >> -- >> - >> Noble Paul | Principal Engineer| AOL | http://aol.com >> >> > > -- > View this message in context: > http://www.nabble.com/Is-it-possible-to-writing-solr-result-on-disk-from-the-server-side--tp23428509p23441651.html > Sent from the Solr - User mailing list archive at Nabble.com. > > -- - Noble Paul | Principal Engineer| AOL | http://aol.com
Re: Is it possible to writing solr result on disk from the server side?
Tanks Paul! Yes, I saw it. In fact, if I well understand, it could be a solution, but a little beat too complicate for what I want to do. Currently my client part is not in Java and I still need a kind of client and server model because it's a Web application and solr have to be running and waiting query continuously. So even if it seems possible with EmbeddedSolrServer, sharing the xml results on a file will be a faster solution for me regarding also the development time. Noble Paul നോബിള് नोब्ळ्-2 wrote: > > did you consider using an EmbeddedSolrServer? > > On Thu, May 7, 2009 at 8:25 PM, arno13 > wrote: >> >> Do you know if it's possible to writing solr results directly on a hard >> disk >> from server side and not to use an HTTP connection to transfer the >> results? >> >> While the query time is very fast for solr, I want to do that, cause of >> the >> time taken during the transfer of the results between the client and the >> solr server when you have lot of 'rows'. >> For instance for 10'000 rows, the query time could be 50 ms and 19s to >> get >> the results from the server. As my client and server are on the same >> system, >> I could get the results faster directly on the hard disk (or better in a >> ram >> disk), is it possible configuring solr for that? >> >> Regards, >> >> >> >> >> -- >> View this message in context: >> http://www.nabble.com/Is-it-possible-to-writing-solr-result-on-disk-from-the-server-side--tp23428509p23428509.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> >> > > > > -- > ----- > Noble Paul | Principal Engineer| AOL | http://aol.com > > -- View this message in context: http://www.nabble.com/Is-it-possible-to-writing-solr-result-on-disk-from-the-server-side--tp23428509p23441651.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Is it possible to writing solr result on disk from the server side?
did you consider using an EmbeddedSolrServer? On Thu, May 7, 2009 at 8:25 PM, arno13 wrote: > > Do you know if it's possible to writing solr results directly on a hard disk > from server side and not to use an HTTP connection to transfer the results? > > While the query time is very fast for solr, I want to do that, cause of the > time taken during the transfer of the results between the client and the > solr server when you have lot of 'rows'. > For instance for 10'000 rows, the query time could be 50 ms and 19s to get > the results from the server. As my client and server are on the same system, > I could get the results faster directly on the hard disk (or better in a ram > disk), is it possible configuring solr for that? > > Regards, > > > > > -- > View this message in context: > http://www.nabble.com/Is-it-possible-to-writing-solr-result-on-disk-from-the-server-side--tp23428509p23428509.html > Sent from the Solr - User mailing list archive at Nabble.com. > > -- - Noble Paul | Principal Engineer| AOL | http://aol.com
Is it possible to writing solr result on disk from the server side?
Do you know if it's possible to writing solr results directly on a hard disk from server side and not to use an HTTP connection to transfer the results? While the query time is very fast for solr, I want to do that, cause of the time taken during the transfer of the results between the client and the solr server when you have lot of 'rows'. For instance for 10'000 rows, the query time could be 50 ms and 19s to get the results from the server. As my client and server are on the same system, I could get the results faster directly on the hard disk (or better in a ram disk), is it possible configuring solr for that? Regards, -- View this message in context: http://www.nabble.com/Is-it-possible-to-writing-solr-result-on-disk-from-the-server-side--tp23428509p23428509.html Sent from the Solr - User mailing list archive at Nabble.com.