Re: SolrJ doesn't work with Json facet api

2016-10-05 Thread shamik
You can try something like : query.add("json.facet", your_json_facet_query); -- View this message in context: http://lucene.472066.n3.nabble.com/SolrJ-doesn-t-work-with-Json-facet-api-tp4299867p4299888.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: (ANNOUNCEMENT) Solr Examples reading group

2016-10-05 Thread Alexandre Rafalovitch
Yeah, I agree actually. That was an experiment in the radical simplification. I'll have uniqueKey, and _version_ back. But the fact that the schema still works is a good teaching point, in my mind. At the same time, I am still struggling with the reasonable minimal solrconfig.xml. None of the

Re: QuerySenderListener

2016-10-05 Thread Rallavagu
Not sure if this is related. https://issues.apache.org/jira/browse/SOLR-7035 firstSearcher has few queries that run longer (~3 min) On 10/5/16 6:58 PM, Erick Erickson wrote: How many cores? Is it possible you're seeing these from two different cores? Erick On Wed, Oct 5, 2016 at 11:44 AM,

Re: QuerySenderListener

2016-10-05 Thread Rallavagu
It is a single core. On 10/5/16 6:58 PM, Erick Erickson wrote: How many cores? Is it possible you're seeing these from two different cores? Erick On Wed, Oct 5, 2016 at 11:44 AM, Rallavagu wrote: Solr Cloud 5.4.1 with embedded jetty, jdk8 At the time of startup it

Re: (ANNOUNCEMENT) Solr Examples reading group

2016-10-05 Thread Erick Erickson
I'm a little reluctant to remove id and _version_ as they're so essential to SolrCloud. Stand alone for that matter, I strongly recommend that people have a no matter what as the "usual" expectation is to replace docs I think... But perhaps a minimal_config and milnimal_cloud_config? In either

Re: Error: Strong key gen and multiprime gen require at least 1024-bit keysize

2016-10-05 Thread Erick Erickson
Sure seems like a JIRA to me. I have no clue why 512 was chosen in the first place though. Or you could post the same question on dev list first. But this is an appropriate JIRA I think. Erick On Wed, Oct 5, 2016 at 10:43 AM, Martini, Jeremy (CGI Federal)

Re: QuerySenderListener

2016-10-05 Thread Erick Erickson
How many cores? Is it possible you're seeing these from two different cores? Erick On Wed, Oct 5, 2016 at 11:44 AM, Rallavagu wrote: > Solr Cloud 5.4.1 with embedded jetty, jdk8 > > At the time of startup it appears that "QuerySenderListener" is run twice > and this is

Re: running solr 6.x in Eclipse for debugging

2016-10-05 Thread Erick Erickson
John: The simple answer is "cheat" It takes a little fiddling, but here's what I do in IntelliJ: 1> use IntelliJ to create an "artifact" that's just the jar WITHOUT the associated Solr jar dependencies, just the compiled output 1a> Find the bits in <1>. It's usually under my project

SolrJ doesn't work with Json facet api

2016-10-05 Thread Jeffery Yuan
It seems that Solr returns different format when use Json facet api compared with the old syntax Thus solrj facet related api will not work when use Json facet api rsp.getFacetField("myFeild") is null The Json API is easier to use, its response is cleaner. But it would be even better if it works

Problem with Password Decryption in Data Import Handler

2016-10-05 Thread Jamie Jackson
Hi Folks, (Using Solr 5.5.3.) As far as I know, the only place where encrypted password use is documented is in https://cwiki.apache.org/confluence/display/solr/Uploading+Structured+Data+Store+Data+with+the+Data+Import+Handler, under the "Configuring the DIH Configuration File", in a comment in

Re: bash to get doc count

2016-10-05 Thread Shawn Heisey
On 10/5/2016 1:17 PM, KRIS MUSSHORN wrote: > Will someone please tell me why this stores the text "numDocs" instead > of returning the number of docs in the core? #!/bin/bash > DOC_COUNT=`wget -O- -q > $SOLR_HOST'admin/cores?action=STATUS='$SOLR_CORE_NAME'=json=true' > | grep numDocs | tr -d

Re: running solr 6.x in Eclipse for debugging

2016-10-05 Thread John Bickerstaff
I've found this much in build.xml... I'm assuming Ant puts the compiled jars into the paths listed below. Further hints gratefully accepted if someone knows specifically how to set this up from top to bottom. I assume the Eclipse build path puts the jars into the referenced directories...?

Re: for lengthy search string edismax parser doesnot work but dismax works

2016-10-05 Thread Walter Underwood
We have production traffic with 1000 word free text edismax queries. They are slow, but they have never caused an OOM error. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Oct 5,

Re: running solr 6.x in Eclipse for debugging

2016-10-05 Thread John Bickerstaff
OK - I'm running now in debug mode. My intent is to add and test a "hello world" plugin to prove everything is wired up and that I can debug all the way into the plugin I wrote... I want to test plugins/addons which, as I understand it go here if you're adding them to an installed version of

Re: bash to get doc count

2016-10-05 Thread Comcast
So what would be the right -? Sent from my iPhone > On Oct 5, 2016, at 3:22 PM, Alan Woodward wrote: > > tr -d ‘0-9’ is removing all numbers from the line, which I’m guessing is the > opposite of what you want? > > Alan Woodward > www.flax.co.uk > > >> On 5 Oct 2016, at

Re: bash to get doc count

2016-10-05 Thread Walter Underwood
If you have the jq command, that will be cleaner than using tr. Also, you can get the number of documents with a query for *:* instead of using the admin API. This same question was asked on Sep. 19th. This was my answer then. Do a search. The URL will looks something like this:

Re: bash to get doc count

2016-10-05 Thread Alan Woodward
tr -d ‘0-9’ is removing all numbers from the line, which I’m guessing is the opposite of what you want? Alan Woodward www.flax.co.uk > On 5 Oct 2016, at 20:17, KRIS MUSSHORN wrote: > > Will someone please tell me why this stores the text "numDocs" instead of >

Re: bash to get doc count

2016-10-05 Thread KRIS MUSSHORN
ps $SOLR_HOST and $SOLR_CORE_NAME are set correctly. Kris - Original Message - From: "KRIS MUSSHORN" To: solr-user@lucene.apache.org Sent: Wednesday, October 5, 2016 3:17:19 PM Subject: bash to get doc count Will someone please tell me why this stores

bash to get doc count

2016-10-05 Thread KRIS MUSSHORN
Will someone please tell me why this stores the text "numDocs" instead of returning the number of docs in the core? #!/bin/bash DOC_COUNT=`wget -O- -q $SOLR_HOST'admin/cores?action=STATUS='$SOLR_CORE_NAME'=json=true' | grep numDocs | tr -d '0-9'` TIA Kris

Re: running solr 6.x in Eclipse for debugging

2016-10-05 Thread John Bickerstaff
Thanks Mikhail! On Wed, Oct 5, 2016 at 11:29 AM, Mikhail Khludnev wrote: > ok. it's "run-example" [ ..@solr]$ant -p > run-example Run Solr interactively, via Jetty. > -Dexample.debug=true to en > able JVM debugger > I have it in master and branch_6x > > On

QuerySenderListener

2016-10-05 Thread Rallavagu
Solr Cloud 5.4.1 with embedded jetty, jdk8 At the time of startup it appears that "QuerySenderListener" is run twice and this is causing "firstSearcher" and "newSearcher" to run twice as well. Any clues as to why QuerySenderListener is triggered twice? Thanks.

Re: running solr 6.x in Eclipse for debugging

2016-10-05 Thread Mikhail Khludnev
ok. it's "run-example" [ ..@solr]$ant -p run-example Run Solr interactively, via Jetty. -Dexample.debug=true to en able JVM debugger I have it in master and branch_6x On Wed, Oct 5, 2016 at 5:51 PM, John Bickerstaff wrote: > Mikhail -- which version

Solr 4.10.2 Enabling Basic Authentication in HTTP

2016-10-05 Thread Alexandre Drouin
Hi, I currently have basic authentication enabled with HTTPS and it is working great. I want to remove SSL from my Solr installation (master/slave) while keeping the basic authentication. To this effect, I removed the SslSelectChannelConnector connector from my jetty.xml file and I replaced

RE: Solr 4.10.2 Enabling Basic Authentication in HTTP

2016-10-05 Thread Alexandre Drouin
I forgot to mention that I also tried this connector without success: 5 1500 false If I remove the basic authentication related configuration from web.xml I can access Solr without issue so

Apache Tika's public regression corpus

2016-10-05 Thread Allison, Timothy B.
All, I recently blogged about some of the work we're doing with a large scale regression corpus to make Tika, POI and PDFBox more robust and to identify regressions before release. If you'd like to chip in with recommendations, requests or Hadoop/Spark clusters (why not shoot for the stars),

Error: Strong key gen and multiprime gen require at least 1024-bit keysize

2016-10-05 Thread Martini, Jeremy (CGI Federal)
Hi, I'm looking at filing an issue in JIRA, but wanted to first make sure my issue would be a valid change. In order to configure our dataSource without requiring a plaintext password in the configuration file, we extended JdbcDataSource to create our own custom implementation. Our dataSource

Re: (ANNOUNCEMENT) Solr Examples reading group

2016-10-05 Thread Alexandre Rafalovitch
http://gethue.com/ does Solr as part of Big Data, but not sure about Nutch https://github.com/DigitalPebble/behemoth has Solr and Nutch, but not sure about UI LucidWorks' commercial Fusion platform I believe has both with UI Solr default config has LOTS of comments :-) Of course, the ones in

Re: Solr 6.2 Distributed joins

2016-10-05 Thread Joel Bernstein
The relational algebra expressions (innerJoin, outerJoin etc...) will not interact with Solr standard grouping or paging. So if you want to group following a join you will need wrap the join with the reduce function. There is a lot to understand about how this works though. There are both

Re: (ANNOUNCEMENT) Solr Examples reading group

2016-10-05 Thread WebDawg
On Wed, Oct 5, 2016 at 11:15 AM, Alexandre Rafalovitch wrote: > I have an nearly minimal config for Solr 4.9, 5.5 and 6.2 at: > https://github.com/arafalov/simplest-solr-config/ . They are _quite_ > feature minimal (6.2 does not even have ID or version), but they will > import

Re: (ANNOUNCEMENT) Solr Examples reading group

2016-10-05 Thread Alexandre Rafalovitch
I have an nearly minimal config for Solr 4.9, 5.5 and 6.2 at: https://github.com/arafalov/simplest-solr-config/ . They are _quite_ feature minimal (6.2 does not even have ID or version), but they will import and search example/exampledocs/*.xml without fuss I challenge you to guess number of

Solr 6.2 Distributed joins

2016-10-05 Thread Gurdeep Singh
Hello all, I am exploring one of Solr 6.2 new feature (stream decorators) for one of my application and the "leftOuterJoin" is working as expected. (joining two streams and getting the data from both the collections) I need to know if group query works with these distributed joins or not? (like

Re: running solr 6.x in Eclipse for debugging

2016-10-05 Thread John Bickerstaff
Mikhail -- which version of Solr are you using to do this [ant example -Dexample.debug=true] I may be wrong, but it seems that "example" no longer works with 6.x...? On Wed, Oct 5, 2016 at 1:14 AM, Mikhail Khludnev wrote: > launching ant example -Dexample.debug=true from

Re: running solr 6.x in Eclipse for debugging

2016-10-05 Thread John Bickerstaff
Thanks Erick, I don't care which way I start it, just that I can get Solr running in debug mode so I can test any plugins / components that I add... And - I'd love to find out how to do the same in Intellij as that is the IDE used at my new gig... I'll give this a shot - thanks again. On Tue,

Re: (ANNOUNCEMENT) Solr Examples reading group

2016-10-05 Thread Erick Erickson
Charlie: I like that idea. It's bewildering how much stuff is in the config. I do think there's value in having it all there though since people won't even know to look in, say, "kitchen-sink-solrconfig.xml" for all the _other_ things that can be done Perhaps comment out all the "extra

Re: Writing Solr Custom Components

2016-10-05 Thread John Bickerstaff
Thank you both! On Oct 5, 2016 2:32 AM, "Charlie Hull" wrote: > On 04/10/2016 17:23, John Bickerstaff wrote: > >> All, >> >> I'm looking for information on writing custom Solr components. A quick >> search showed nothing really recent and before I dig deeper, I thought I'd

Re: for lengthy search string edismax parser doesnot work but dismax works

2016-10-05 Thread Shawn Heisey
On 10/5/2016 4:03 AM, preeti kumari wrote: > For lengthy search string (chars more than 150) edismax parser doesnot > work. It starts giving OOM heap error. But same query with dismax > works and no heap issue. Can anyone help me with any parameter to > tweak such queries to make it work with

6.2.1 service installation script errors on Ubuntu 16.04.1

2016-10-05 Thread xiao.ma
Hi, I'm having trouble to run install_solr_service in Ubuntu 16.04.1. Solr 6.2.1 tgz has been downloaded, then I run root@server1:/tmp# sudo ./install-solr-service.sh solr-6.2.1.tgz 1. First error was "chkconfig: command not found" in line 320. I fixed it by changing to

Re: for lengthy search string edismax parser doesnot work but dismax works

2016-10-05 Thread Alexandre Rafalovitch
Can you give a query example? Any wild cards? Also an exception stack trace if you have one. Regards, Alex On 5 Oct 2016 5:03 PM, "preeti kumari" wrote: > Hi All, > > For lengthy search string (chars more than 150) edismax parser doesnot > work. It starts giving

for lengthy search string edismax parser doesnot work but dismax works

2016-10-05 Thread preeti kumari
Hi All, For lengthy search string (chars more than 150) edismax parser doesnot work. It starts giving OOM heap error. But same query with dismax works and no heap issue. Can anyone help me with any parameter to tweak such queries to make it work with edismax parser? Thanks Preeti

Re: Writing Solr Custom Components

2016-10-05 Thread Charlie Hull
On 04/10/2016 17:23, John Bickerstaff wrote: All, I'm looking for information on writing custom Solr components. A quick search showed nothing really recent and before I dig deeper, I thought I'd ask the community for anything you are aware of. Thanks We wrote a few for the BioSolr project:

Re: (ANNOUNCEMENT) Solr Examples reading group

2016-10-05 Thread Charlie Hull
On 05/10/2016 02:19, Walter Underwood wrote: I’m trying to bring up 6.2.1 after experience with 1.2 through 5.5, and it is a mess. I’ve done solid good practice (Zookeeper ensemble, chroot, data on EBS volume), but I’m stuck with a completely non-instructive stack trace. We run a separate data

Re: running solr 6.x in Eclipse for debugging

2016-10-05 Thread Mikhail Khludnev
launching ant example -Dexample.debug=true from Exlipse works to me. It takes a while for useless compile checks, then you can debug remotely to 5005. Jetty process need to be terminated separately. SolrAdmin works, debugging with sources works too. However, there is no cores my default, you need

Facet Aggregate Functions precision

2016-10-05 Thread Zheng Lin Edwin Yeo
Hi, Regarding the Solr JSON Facet Aggregate Functions, is it possible to round off a value to a specific decimal place? Currently, the values are like those below, which has more than 10 decimal place. "facets":{ "count":32, "categories":{ "buckets":[ {

Re: Faceting on both Parent and Child records in Block Join Query Parser

2016-10-05 Thread Zheng Lin Edwin Yeo
Thanks for the information. Will try them out. Regards, Edwin On 5 October 2016 at 02:58, Mikhail Khludnev wrote: > Edwin, > It seems like you try to pull document hierarchy back. That's usually done > by searching parents and fl=[child ..],,. > > On Tue, Oct 4, 2016 at 5:22