RE: ExtractingRequestHandler and local files
I had also been wondering about this, but was to lazy/busy to post a question. Now that it is resolved it would help lots if you could post ad example of how you invoked enableRemoteStreaming for your document(s)? Rgds Fergus. Thanks for the quick response, Grant. We tried it and it seems to work. The confusion stemmed from the fact that the wiki states that the parameter is not used - there are also comments in the test cases for the handler that say: //TODO: stop using locally defined fields once stream.file and stream.body start working everywhere So wanted to confirm. From: gsing...@apache.org To: solr-user@lucene.apache.org Subject: Re: ExtractingRequestHandler and local files Date: Tue, 9 Jun 2009 14:50:43 -0400 I haven't tried it, but I thought the enableRemoteStreaming stuff should work. That stuff is handled by Solr in other places, if I recall correctly. Have you tried it? -Grant On Jun 9, 2009, at 2:28 PM, doraiswamy thirumalai wrote: Hi, I would greatly appreciate a quick response to this question. Is there a means of passing a local file to the ExtractingRequestHandler (as the enableRemoteStreaming/stream.file option does with the other handlers) so the file contents can directly be read from the local disk versus going over HTTP? Per the Solr wiki entry for ExtractingRequestHandler, enableRemoteStreaming is not used? This is also a tad confusing because the Ruby example off: http://www.lucidimagination.com/blog/2009/02/17/acts_as_solr_cell/ explicitly recommends setting this parameter? Thanks! _ Lauren found her dream laptop. Find the PC that¹s right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290 -- Grant Ingersoll http://www.lucidimagination.com/ Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) using Solr/Lucene: http://www.lucidimagination.com/search _ Windows Live SkyDrive: Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009
Re: ExtractingRequestHandler and local files
I haven't tried it, but I thought the enableRemoteStreaming stuff should work. That stuff is handled by Solr in other places, if I recall correctly. Have you tried it? -Grant On Jun 9, 2009, at 2:28 PM, doraiswamy thirumalai wrote: Hi, I would greatly appreciate a quick response to this question. Is there a means of passing a local file to the ExtractingRequestHandler (as the enableRemoteStreaming/stream.file option does with the other handlers) so the file contents can directly be read from the local disk versus going over HTTP? Per the Solr wiki entry for ExtractingRequestHandler, enableRemoteStreaming is not used? This is also a tad confusing because the Ruby example off: http://www.lucidimagination.com/blog/2009/02/17/acts_as_solr_cell/ explicitly recommends setting this parameter? Thanks! _ Lauren found her dream laptop. Find the PC that’s right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290 -- Grant Ingersoll http://www.lucidimagination.com/ Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) using Solr/Lucene: http://www.lucidimagination.com/search
RE: ExtractingRequestHandler and local files
Thanks for the quick response, Grant. We tried it and it seems to work. The confusion stemmed from the fact that the wiki states that the parameter is not used - there are also comments in the test cases for the handler that say: //TODO: stop using locally defined fields once stream.file and stream.body start working everywhere So wanted to confirm. From: gsing...@apache.org To: solr-user@lucene.apache.org Subject: Re: ExtractingRequestHandler and local files Date: Tue, 9 Jun 2009 14:50:43 -0400 I haven't tried it, but I thought the enableRemoteStreaming stuff should work. That stuff is handled by Solr in other places, if I recall correctly. Have you tried it? -Grant On Jun 9, 2009, at 2:28 PM, doraiswamy thirumalai wrote: Hi, I would greatly appreciate a quick response to this question. Is there a means of passing a local file to the ExtractingRequestHandler (as the enableRemoteStreaming/stream.file option does with the other handlers) so the file contents can directly be read from the local disk versus going over HTTP? Per the Solr wiki entry for ExtractingRequestHandler, enableRemoteStreaming is not used? This is also a tad confusing because the Ruby example off: http://www.lucidimagination.com/blog/2009/02/17/acts_as_solr_cell/ explicitly recommends setting this parameter? Thanks! _ Lauren found her dream laptop. Find the PC that’s right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290 -- Grant Ingersoll http://www.lucidimagination.com/ Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) using Solr/Lucene: http://www.lucidimagination.com/search _ Windows Live™ SkyDrive™: Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009