Re: Not possible to use NOT queries with Solr Export Handler?

2018-08-23 Thread Shawn Heisey
the Solr Export request handler. Our users are able to construct Not queries and export the results. We were testing this feature and noticed that Not queries do not return anything, but normal queries do return results. Is there a reason for this or am I missing something that will allow NOT

Not possible to use NOT queries with Solr Export Handler?

2018-08-23 Thread Antelmo Aguilar
Hello, I asked this question in the IRC channel, but had to leave so was not able to wait for a response. So sending it through here instead with the hopes that someone can give me some insight on the issue I am experiencing. So in our Solr setup, we use the Solr Export request handler. Our

Re: solr /export handler - behavior during close()

2017-06-27 Thread Joel Bernstein
> > > found > > > >> >> > > > > > out a couple more issues with streaming and did local > > hacks > > > >> for > > > >> >> > them, > > > >> >> > > > > would > &g

Re: solr /export handler - behavior during close()

2017-06-27 Thread Susmit Shukla
t;> > > > > > > Joel Bernstein > > >> >> > > > > > > http://joelsolr.blogspot.com/ > > >> >> > > > > > > > > >> >> > > > > > > On Sat, May 13, 2017 at 2:51 PM, Susmit Shu

Re: solr /export handler - behavior during close()

2017-06-27 Thread Joel Bernstein
>> >> > > > > > > > org.apache.http.impl.io.ChunkedInputStream.read( > >> >> > > > > > > > ChunkedInputStream.java:215) > >> >> > > > > > > > at > >> >> > > > >

Re: solr /export handler - behavior during close()

2017-06-25 Thread Susmit Shukla
>> >> > > > > > > > org.apache.http.conn.EofSensorInputStream.close( >> >> > > > > > > > EofSensorInputStream.java:174) >> >> > > > > > > > at sun.nio.cs.StreamDecoder.implC >> >> lose(StreamDecoder.java:378) >> >>

Re: solr /export handler - behavior during close()

2017-05-17 Thread Susmit Shukla
; > > > >> > > > > > > > Thanks, > >> > > > > > > > Susmit > >> > > > > > > > > >> > > > > > > > On Sat, May 13, 2017 at 10:48 AM, Joel Bernstein < > >> &

Re: solr /export handler - behavior during close()

2017-05-17 Thread Joel Bernstein
t; > > > > > > In that scenario the /export would indeed continue to send >> > > data. >> > > > I >> > > > > > > think >> > > > > > > > we >> > > > > > > > > can consider

Re: solr /export handler - behavior during close()

2017-05-16 Thread Joel Bernstein
; interact > > > > > with > > > > > > > the > > > > > > > > > /export handler in a the way that it expects. > > > > > > > > > > > > > > > > > > > &

Re: solr /export handler - behavior during close()

2017-05-16 Thread Varun Thacker
; > > > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > Hi Joel, > > > > > > > > > > > > > > > > > > I did not observe that. On calling close() on stream, it > &

Re: solr /export handler - behavior during close()

2017-05-16 Thread Susmit Shukla
ading 1st tuple. The time taken for the > > operation > > > > with > > > > > > > > close() call was same as that if I had read all the 100k > > tuples. > > > > > > > > As I have pointed out, close() on underlying > ChunkedInputStream > > >

Re: solr /export handler - behavior during close()

2017-05-16 Thread Joel Bernstein
le reads.. > > > > > > > I think there should be an abort() API for solr streams that > > hooks > > > > into > > > > > > > httpmethod.abort() . That would enable client to disconnect > early > > > and > > > > > > > probabl

Re: solr /export handler - behavior during close()

2017-05-15 Thread Susmit Shukla
; > > Thanks, > > > > > > Susmit > > > > > > > > > > > > > > > > > > On Sat, May 13, 2017 at 7:42 AM, Joel Bernstein < > > joels...@gmail.com> > > > > > > wrote: > > > > > >

Re: solr /export handler - behavior during close()

2017-05-15 Thread Joel Bernstein
> > > > > Joel Bernstein > > > > > > http://joelsolr.blogspot.com/ > > > > > > > > > > > > On Sat, May 13, 2017 at 1:46 AM, Susmit Shukla < > > > > shukla.sus...@gmail.com> > > > > > > wrote:

Re: solr /export handler - behavior during close()

2017-05-13 Thread Susmit Shukla
t; > > shukla.sus...@gmail.com> > > > > > wrote: > > > > > > > > > > > Hi Joel, > > > > > > > > > > > > Thanks for the insight. How can this exception be thrown/forced > > from > > > > > client > >

Re: solr /export handler - behavior during close()

2017-05-13 Thread Joel Bernstein
on be thrown/forced > from > > > > client > > > > > side. Client can't do a System.exit() as it is running as a webapp. > > > > > > > > > > Thanks, > > > > > Susmit > > > > > > > > > > On

Re: solr /export handler - behavior during close()

2017-05-13 Thread Susmit Shukla
gt; > > In this scenario the /export handler continues to export results > > until > > > it > > > > > encounters a "Broken Pipe" exception. This exception is trapped and > > > > ignored > > > > > rather then logged as it's no

Re: solr /export handler - behavior during close()

2017-05-13 Thread Joel Bernstein
it > > > > encounters a "Broken Pipe" exception. This exception is trapped and > > > ignored > > > > rather then logged as it's not considered an exception if the client > > > > disconnects early. > > > > > > > > Joe

Re: solr /export handler - behavior during close()

2017-05-13 Thread Susmit Shukla
lient > > > disconnects early. > > > > > > Joel Bernstein > > > http://joelsolr.blogspot.com/ > > > > > > On Fri, May 12, 2017 at 2:10 PM, Susmit Shukla < > shukla.sus...@gmail.com> > > > wrote: > > > > > > > Hi, >

Re: solr /export handler - behavior during close()

2017-05-13 Thread Joel Bernstein
t; > On Fri, May 12, 2017 at 2:10 PM, Susmit Shukla > > wrote: > > > > > Hi, > > > > > > I have a question regarding solr /export handler. Here is the scenario > - > > > I want to use the /export handler - I only need sorted data and this is > >

Re: solr /export handler - behavior during close()

2017-05-12 Thread Susmit Shukla
17 at 2:10 PM, Susmit Shukla > wrote: > > > Hi, > > > > I have a question regarding solr /export handler. Here is the scenario - > > I want to use the /export handler - I only need sorted data and this is > the > > fastest way to get it. I am doing multiple

Re: solr /export handler - behavior during close()

2017-05-12 Thread Joel Bernstein
m/ On Fri, May 12, 2017 at 2:10 PM, Susmit Shukla wrote: > Hi, > > I have a question regarding solr /export handler. Here is the scenario - > I want to use the /export handler - I only need sorted data and this is the > fastest way to get it. I am doing multiple level joins using s

solr /export handler - behavior during close()

2017-05-12 Thread Susmit Shukla
Hi, I have a question regarding solr /export handler. Here is the scenario - I want to use the /export handler - I only need sorted data and this is the fastest way to get it. I am doing multiple level joins using streams using /export handler. I know the number of top level records to be

Re: Solr /export and dates (Solr 5.5.1)

2016-06-06 Thread Erick Erickson
Sorry, it dropped off my radar somehow. Just opened SOLR-9187. I have a patch that I'm testing now, we'll see how that goes. On Wed, Jun 1, 2016 at 7:54 PM, Ronald Wood wrote: > > Thanks! I'm glad to find out I'm not going crazy. > > I'll keep a lookout for that enhancement. > > Ronald S. Wood >

Re: Solr /export and dates (Solr 5.5.1)

2016-06-01 Thread Ronald Wood
Thanks! I'm glad to find out I'm not going crazy. I'll keep a lookout for that enhancement. Ronald S. Wood Immediate customer support: Call 1-866-762-7741 (x2) or emailsupp...@smarsh.com On Jun 1, 2016, at 21:45, Joel Bernstein mailto:joels...@gmail.com>> wrote: T

Re: Solr /export and dates (Solr 5.5.1)

2016-06-01 Thread Joel Bernstein
The documentation is wrong for sure. We need a new example query. I was just discussing the date issue with Erick Erickson the other day. I believe he is working on adding dates to the export handler but I didn't see a jira ticket for this yet. We'll also need to add dates to the /export handler f

Solr /export and dates (Solr 5.5.1)

2016-06-01 Thread Ronald Wood
I have spent a bit of time with the export handler in 5.5.1 (since we are unable to upgrade directly from 4 to 6). The speed looks impressive at first glance compared to paging with cursors. However, I am deeply confused that it does not seem to be possible to either sort on or get date values

Re: Solr /export handler is exporting only unique values from multivalued field?

2016-01-11 Thread Alok Bhandari
Thanks Joel. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-export-handler-is-exporting-only-unique-values-from-multivalued-field-tp4249986p4250067.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr /export handler is exporting only unique values from multivalued field?

2016-01-11 Thread Joel Bernstein
On Mon, Jan 11, 2016 at 1:25 PM, Alok Bhandari < > alokomprakashbhand...@gmail.com> wrote: > >> Hello , >> >> I am using solr /export handler to export search results and it is >> performing well. >> Today I faced an issue , actually there are 2 multivalued

Re: Solr /export handler is exporting only unique values from multivalued field?

2016-01-11 Thread Joel Bernstein
/ On Mon, Jan 11, 2016 at 1:25 PM, Alok Bhandari < alokomprakashbhand...@gmail.com> wrote: > Hello , > > I am using solr /export handler to export search results and it is > performing well. > Today I faced an issue , actually there are 2 multivalued fields I am > fetchi

Solr /export handler is exporting only unique values from multivalued field?

2016-01-11 Thread Alok Bhandari
Hello , I am using solr /export handler to export search results and it is performing well. Today I faced an issue , actually there are 2 multivalued fields I am fetching lets say which holds list of items and which holds list of sellers. here I am storing information such that seller for 1st

Re: solr export get wrong results

2015-01-03 Thread Sandy Ding
Thanks a lot for your for your help, Joel. Just wondering, why does "export" have such limitations? It uses the same query handler with "select", isn't it? 2014-12-31 10:28 GMT+08:00 Joel Bernstein : > For the initial release only JSON output format is supported with the > /export feature. Also t

Re: solr export get wrong results

2014-12-30 Thread Joel Bernstein
For the initial release only JSON output format is supported with the /export feature. Also there is no built-in distributed support yet. Both of these features are likely to follow in future releases. For the initial release you'll need a client that can handle the JSON format and distributed log

Re: solr export get wrong results

2014-12-28 Thread Sandy Ding
Hi, Joel Thanks for your reply. It seems that the weird export results is because that I removed the "xsort" invariant of the export request handler in the default sorlconfig.xml to get csv-format output. I don't quite understand the meaning of "xsort", but I removed it because I always get json r

Re: solr export get wrong results

2014-12-26 Thread Joel Bernstein
Hi Sandy, I pulled Solr 4.10.3 to see if I could recreate the issue you are seeing with export and I wasn't able to recreate the bug you are seeing. For example the following query: http://localhost:8983/solr/collection1/export?q=join_i:[50 TO 500010]&wt=json&indent=true&sort=join_i+asc&fl=jo

Re: solr export get wrong results

2014-12-26 Thread Joel Bernstein
Hi Sandy, The export handler should only return documents in JSON format. The results in your second example are in XML for format so something looks to be wrong in the configuration. Can you post what your solrconfig looks like? Joel Joel Bernstein Search Engineer at Heliosearch On Fri, Dec 26

Re: solr export get wrong results

2014-12-26 Thread Erick Erickson
I think you missed a very important part of Jack's reply: bq: I notice that you don't have distrib=false on your select, which would make your select be from all nodes, while export would only be docs from the specific node you sent the request to. And from the Reference Guide on export bq: The

Re: solr export get wrong results

2014-12-26 Thread Ahmet Arslan
Hi, Do you have any custom solr components deployed? May be custom response writer? Ahmet On Friday, December 26, 2014 3:26 PM, Sandy Ding wrote: Hi, Ahmet, I use libuuid for unique id and I guess there shouldn't be duplicate ids. Also, the results are not just incomplete, they are screwed

Re: solr export get wrong results

2014-12-26 Thread Sandy Ding
Hi, Ahmet, I use libuuid for unique id and I guess there shouldn't be duplicate ids. Also, the results are not just incomplete, they are screwed. 2014-12-26 20:19 GMT+08:00 Ahmet Arslan : > Hi, > > Two different things : > > If you have unique key defined document with same id override within a

Re: solr export get wrong results

2014-12-26 Thread Sandy Ding
you think is "wrong" in the > results. > > Have you modified the default solrconfig file? > > I notice that you don't have distrib=false on your select, which would make > your select be from all nodes, while export would only be docs from the > specific node you sent

Re: solr export get wrong results

2014-12-26 Thread Ahmet Arslan
Hi, Two different things : If you have unique key defined document with same id override within a single shard. Plus, uniqueIDs expected to be unique across shards. Ahmet On Friday, December 26, 2014 11:00 AM, Sandy Ding wrote: Hi, all I've recently set up a solr cluster and found that "

Re: solr export get wrong results

2014-12-26 Thread Jack Krupansky
e that you don't have distrib=false on your select, which would make your select be from all nodes, while export would only be docs from the specific node you sent the request to. Please confirm whether you have read the doc for the Solr export feature: https://cwiki.apache.org/confluence/display

solr export get wrong results

2014-12-26 Thread Sandy Ding
Hi, all I've recently set up a solr cluster and found that "export" returns different results from "select". And I confirmed that the "export" results are wrong by manually query the results. Even simple queries as follows will get different results: curl "http://localhost:8983/solr/pa_info/selec

Solr-Export

2012-09-06 Thread Helton Alponti
Hey Guys, I created a program to export Solr index data to XML. The url is https://github.com/eltu/Solr-Export Tell me about any problem, please. *** I only tested with the Solr 3.6.1 Thanks, Helton