Re: SolrClient.ping() in 8.2, using SolrJ

2019-08-26 Thread Mikhail Khludnev
Well. It seems it lacking some perfection, but hope you can overcome it with BaseCloudSolrClient.setDefaultCollection(String). On Mon, Aug 26, 2019 at 7:18 AM Ben Friedman wrote: > Before I submit a new bug, I should ask you folks if this is my error. > > I started a local SolrCloud instance wi

Re: Recipe for moving to solr cloud without reindexing

2019-08-26 Thread Kamal Kishore Aggarwal
Hi Erick, Is there any workaround for this? My requirement is to move solr data from solr 6 to solr 7. I have thought to use /replication handler to do so. But, as per the case, the solr 6 collection has 1 shard & 1 replica and we wish to have 2 shards and 1 replica on solr 7. If I enable replica

ExecutorService support in SolrIndexSearcher

2019-08-26 Thread Aghasi Ghazaryan
Hi, Lucene's IndexSearcher supports running searches for each segment separately, using the provided ExecutorService

Require searching only for file content and not metadata

2019-08-26 Thread Khare, Kushal (MIND)
Hello Guys! This is Kushal Khare, a new addition to the user-list. I started working with Solr few days ago for implementing it in my project. Now, I have the basics done, and reached the query stage. My problem is – I need to restrict the solr to search only for the file content and not the meta

Re: Require searching only for file content and not metadata

2019-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kushal, On 8/26/19 07:52, Khare, Kushal (MIND) wrote: > This is Kushal Khare, a new addition to the user-list. I started > working with Solr few days ago for implementing it in my project. > > Now, I have the basics done, and reached the query sta

facetting+tagging in JSON Query DSL

2019-08-26 Thread Jochen Barth
Dear reader, I'm trying to do this: https://lucene.apache.org/solr/guide/8_1/faceting.html#tagging-and-excluding-filters with JSON Query DSL: https://lucene.apache.org/solr/guide/8_1/json-query-dsl.html#tagging-in-json-query-dsl here is the complete query - essential parts in red (see bel

Re: facetting+tagging in JSON Query DSL

2019-08-26 Thread Jochen Barth
Oops.. my thunderbird did not preserve color... the keywords to look for in the query are »facet.field=%7B%21ex%3Dtype_s%7Dtype_s« and »{"#type_s":"type_s:article"}« Kind regards, Jochen Am 26.08.19 um 15:25 schrieb Jochen Barth: Dear reader, I'm trying to do this: https://lucene.apache.org/

Re: facetting+tagging in JSON Query DSL

2019-08-26 Thread Mikhail Khludnev
I suppose tagging won't work on below the top level like "filter":[{"bool":{"should":[{"#type_s":"type_s:article"}]}}] It should be something like "filter":["#type_s":{"bool":{" should":["type_s:article"]}}] On Mon, Aug 26, 2019 at 4:29 PM Jochen Barth wrote: > Oops.. my thunderbird did not

SOLR 7+ / Lucene 7+ and performance issues with DelegatingCollector and PostFilter

2019-08-26 Thread Wittenberg, Lucas
Hello all, Here is the situation I am facing. I am migrating from SOLR 4 to SOLR 7. SOLR 4 is running on Tomcat 8, SOLR 7 runs with built in Jetty 9. The largest core contains about 1,800,000 documents (about 3 GB). The migration went through smoothly. But something's bothering me. I have a Pos

Re: SOLR 7+ / Lucene 7+ and performance issues with DelegatingCollector and PostFilter

2019-08-26 Thread Erick Erickson
Is “customid” a docValues=true field? I suspect not, in which case I think this is the problem (but do be warned, I don’t spend much time in Lucene code). this.reader.document(docNumber).get("customid”) document(docNumber) goes out to do a disk read I think. If it were docValues=true, it could b

Different DIH failure behavior on non-sharded and sharded collections

2019-08-26 Thread Jack Schlederer
Hello, The size and complexity of a collection that I'm running on a SolrCloud (v7.5) has recently grown to the point where it warranted splitting the collection into two shards. I run the data import handler once a day to index documents returned by a MSSQL stored proc. Previously, on the single-

Re: SolrClient.ping() in 8.2, using SolrJ

2019-08-26 Thread Mikhail Khludnev
follow up https://issues.apache.org/jira/browse/SOLR-13719 On Mon, Aug 26, 2019 at 10:42 AM Mikhail Khludnev wrote: > Well. It seems it lacking some perfection, but hope you can overcome it > with BaseCloudSolrClient.setDefaultCollection(String). > > > On Mon, Aug 26, 2019 at 7:18 AM Ben Fried

Query number of Lucene documents using Solr?

2019-08-26 Thread Bram Van Dam
Possibly somewhat unusual question: I'm looking for a way to query the number of *lucene documents* from within Solr. This can be different from the number of Solr documents (because of unmerged deletes/updates/ etc). As a bit of background; we recently found this lovely little error message in a

Re: Query number of Lucene documents using Solr?

2019-08-26 Thread Alexandre Rafalovitch
Luke may have it at least for a quick check: https://github.com/dmitrykey/luke (part of last/next? version of Lucene now). Regards, Alex. On Mon, 26 Aug 2019 at 16:20, Bram Van Dam wrote: > > Possibly somewhat unusual question: I'm looking for a way to query the > number of *lucene documents*

Re: Query number of Lucene documents using Solr?

2019-08-26 Thread Shawn Heisey
On 8/26/2019 2:19 PM, Bram Van Dam wrote: Possibly somewhat unusual question: I'm looking for a way to query the number of *lucene documents* from within Solr. This can be different from the number of Solr documents (because of unmerged deletes/updates/ etc). As a bit of background; we recently

Re: Query number of Lucene documents using Solr?

2019-08-26 Thread Bernd Fehling
You might use the Lucene internal CheckIndex included in lucene core. It should tell you everything you need. At least a good starting point for writing your own tool. Copy lucene-core-x.y.z-SNAPSHOT.jar and lucene-misc-x.y.z-SNAPSHOT.jar to a local directory. java -cp lucene-core-x.y.z-SNAPSHOT