Re: Update documents cause multivalue fields unexpected behaviour

2019-05-05 Thread Walter Underwood
We gather all the data for a document, then send it as one update to Solr. Actually, we create a JSON object for each document, then make a JSONL (one JSON object per line) feed of everything we want to send. That gets compressed and saved in Amazon S3. Then we break it into batches and send it

Re: Solr URI Too Long

2019-05-05 Thread Shawn Heisey
On 5/5/2019 3:40 PM, Furkan KAMACI wrote: I got a URI Too Long error and try to fix it. I'm aware of this conversation: http://lucene.472066.n3.nabble.com/URI-is-too-long-td4254270.html I've tried: Used POST instead of GET at SolrJ Can we see the actual code? I can probably verify whether or

Solr URI Too Long

2019-05-05 Thread Furkan KAMACI
Hi, I got a URI Too Long error and try to fix it. I'm aware of this conversation: http://lucene.472066.n3.nabble.com/URI-is-too-long-td4254270.html I've tried: Used POST instead of GET at SolrJ Set 2147483647 at solrconfig.xml for each cores. Defined SOLR_OPTS="$SOLR_OPTS -Dorg.eclipse.jetty.ser

Re: Custom post filter with support for 'OR' queries

2019-05-05 Thread alexpusch
Thanks for the quick reply. The real data is an representation of an HTML element "body div.class1 div.b.a", My goal is to match documents by css selector i.e ".class1 .a.b" The field I'm querying on is a tokenzied texts field. The post filter takes the doc value of the field (which is not tokeni

Re: Custom post filter with support for 'OR' queries

2019-05-05 Thread Erik Hatcher
Can you detail you actual querying need here?You’re down into some trenches with PostFilter, which is designed purely as an AND-like filtering mechanism, and contrary to ORing with it, generally speaking. Let’s see the real data and need to see what’s the best way to tackle it. Also, wi

Custom post filter with support for 'OR' queries

2019-05-05 Thread alexpusch
Hi, I'm trying to write my own custom post filter. I'm following the following guide - http://qaware.blogspot.com/2014/11/how-to-write-postfilter-for-solr-49.html My implementation works for a simple query: {!myFilter}query But I need to perform OR queries in addition to my post filter: field:v