Re: Solr DIH using JDBC with TIKA

2017-07-04 Thread ANNAMANENI RAVEENDRA
Yes it can be local directory File:///full path On Tue, 4 Jul 2017 at 10:25 PM, d0ct0r4r6a wrote: > For the URL param in the "extract" entity, can it be a local directory? If > yes, how do you specify the path? > > > > -- > View this message in context: >

Re: Solr DIH using JDBC with TIKA

2017-07-04 Thread d0ct0r4r6a
For the URL param in the "extract" entity, can it be a local directory? If yes, how do you specify the path? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-DIH-using-JDBC-with-TIKA-tp4180737p4344273.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: cdcr replication only 1 node gets data

2017-07-04 Thread Webster Homer
We too often end up with a shard looking like: { "name": "shard2", "range": "0-7fff", "state": "active", "replicas": [ { "name": "core_node1", "core": "sial-catalog-gene_shard2_replica2", "baseUrl": "http://uc1f-ecom-msc01:8983/solr;, "nodeName": "uc1f-ecom-msc01:8983_solr", "state":

cdcr replication only 1 node gets data

2017-07-04 Thread Webster Homer
I've seen this a number of times. We do cdcr replication to a cloud, and only the shard leader gets data. CDCR source has 2 nodes and we replicate to 2 clouds each of which have 4 nodes Both source and targets have 2 shards We frequently end up with collections where the target shard leader has

Re: Did /export use to emit tuples and now does not?

2017-07-04 Thread Joel Bernstein
In the very early releases (5x) the /export handler had a different format then the /search handler. Later the /export handler was changed to have the same basic response format as the /search handler. This was done in anticipation of unifying /search and /export at a later date. The /export

Re: Unique() metrics not supported in Solr Streaming facet stream source

2017-07-04 Thread Susheel Kumar
Hello Joel, I tried to create a patch to add UniqueMetric and it works, but soon realized, we have UniqueStream as well and can't load both of them (like below) when required, since both uses "unique" keyword. Any advice how we can handle this. Come up with different keyword for UniqueMetric

Re: cdcr bootstrap errors

2017-07-04 Thread Webster Homer
restarting the zookeeper on the source cloud seems to have helped On Tue, Jul 4, 2017 at 3:42 PM, Webster Homer wrote: > Another strange error message I'm seeing > 2017-07-04 18:59:40.585 WARN (cdcr-replicator-110-thread- > 4-processing-n:dfw-pauth-msc02:8983_solr) [

Re: cdcr bootstrap errors

2017-07-04 Thread Webster Homer
Another strange error message I'm seeing 2017-07-04 18:59:40.585 WARN (cdcr-replicator-110-thread-4-processing-n:dfw-pauth-msc02:8983_solr) [ ] o.a.s.h.CdcrReplicator Failed to forward update request to target: sial-catalog-product org.apache.solr.common.SolrException: Could not load collection

cdcr bootstrap errors

2017-07-04 Thread Webster Homer
We've been using cdcr for a while now. It seems to be pretty fragile. Currently we're seeing tons of errors like this: 2017-07-04 14:41:27.015 ERROR (cdcr-bootstrap-status-51-thread-1-processing-n:dfw-pauth-msc02:8983_solr) [ ] o.a.s.h.CdcrReplicatorManager Exception during bootstrap status

Re: Admin-UI: multiple facet

2017-07-04 Thread d0ct0r4r6a
The only way I know to directly add multiple facet fields in the Admin UI is to add those facet fields in the "Raw Query Parameters". Like this: facet.field=subject=type=organization=region -- View this message in context:

Re: Strange boolean query behaviour on 5.5.4

2017-07-04 Thread Erick Erickson
First of all, Solr doesn't implement strict boolean logic, see Hoss' explanation here: https://lucidworks.com/2011/12/28/why-not-and-or-and-not/ And bare "not" operators are a pain. There's actually _some_ trickery _some_ places to help you out (fq clauses come to mind) and prepend *:* for you.

Did /export use to emit tuples and now does not?

2017-07-04 Thread Ronald Wood
9 months ago I did a proof of concept for solr streaming using the /export handler. At that time, I got tuples back. Now when I try 6.x, I get results in a format similar to /search (including a count), instead of tuples (with an EOF). Did something change between 5.x and 6.x in this regard?

Re: xml indexing

2017-07-04 Thread Alexandre Rafalovitch
You can set default values in the UpdateRequestProcessor chain: http://www.solr-start.com/javadoc/solr-lucene/org/apache/solr/update/processor/DefaultValueUpdateProcessorFactory.html You can combine URPs with DIH. There is an example for that in the latest Solr:

xml indexing

2017-07-04 Thread txlap786
Hello everyone o/. Im trying to index a xml file using DIH. Its mostly like this. EXAMPLE DIH CONFIG STRUCTURE EXAMPLE XML STRUCTURE xx xx xx

Re: Solr 6.4. Can't index MS Visio vsdx files

2017-07-04 Thread Charlie Hull
On 11/04/2017 20:48, Allison, Timothy B. wrote: It depends. We've been trying to make parsers more, erm, flexible, but there are some problems from which we cannot recover. Tl;dr there isn't a short answer. :( My sense is that DIH/ExtractingDocumentHandler is intended to get people up and

Strange boolean query behaviour on 5.5.4

2017-07-04 Thread Bram Van Dam
Hey folks, I'm experiencing some strange query behaviour, and it isn't immediately clear to me why this wouldn happen. The definition of the query syntax on the wiki is a bit fuzzy, so my interpretation of the syntax might be off. This query does work (no results, when results are expected).

Re: Is there any particular reason why ExternalFileField is read from data directory

2017-07-04 Thread apoorvqwerty
Thanks a lot, for now I've written a listener to read from redis instead. But might not scale well since the map is kept in memory. -- View this message in context:

Re: behind nginx

2017-07-04 Thread Rick Leir
Hi Walid Is there any error occurring? If not, then do not change anything. Yes, that version of Solr is old, if you get the chance you would want to upgrade. Cheers -- Rick On July 4, 2017 6:11:57 AM EDT, walid wrote: >Hi, >i have a multiple solr slaves reversed by

Re: Work-around for "indexed without position data"

2017-07-04 Thread Susheel Kumar
Did you try to reproduce this on latest Solr (6.6) just to rule out any bug with that version (though less likely). Pls download and do a quick test. On Mon, Jul 3, 2017 at 5:01 PM, Solr User wrote: > Not sure if it helps beyond the steps to reproduce that I supplied above,

behind nginx

2017-07-04 Thread walid
Hi, i have a multiple solr slaves reversed by nginx, clients browser send to nginx who reverse with round robin to solr slaves, clients use post, and directly deal with solrs i use "ajax-solr". with this configuration and if i have a lot of ecommerce users, Is there a risk to have many tomcat