Re: Solr migration related issues.

2020-11-05 Thread Modassar Ather
Thanks Erick. I am going through the recommendations given in this email chain. Best, Modassar On Thu, Nov 5, 2020 at 7:17 PM Erick Erickson wrote: > Oh dear. > > You made me look at the reference guide. Ouch. > > We have this nice page “Defining core.properties” that talks about > defining

Re: Trouble with post.jar

2020-11-05 Thread Alexandre Rafalovitch
Are you sure you have the request handler for /update/extract defined in your solrconfig.xml? Not all the update request handlers are defined explicitly (you can check with Config API - /solr/hadoopDocs/config/requestHandler), but I am 99% sure that the /update/extract would be explicit because it

RE: Trouble with post.jar

2020-11-05 Thread Bruce Campbell
Thanks for your reply. I am using the Solr (or lucene) web site as a test site so my collection name is "solr". I think the first solr is part of the part of the url that the solr application uses while the second one is the name of the collection. Here is the same message when I tried to use a

Re: count mismatch with and without sort param

2020-11-05 Thread Erick Erickson
You need to provide examples in order for anyone to try to help you. Include 1> example docs (just the relevant field(s) will do) 2> your actual output 3> your expected output 4> the query you use. Best, Erick > On Nov 5, 2020, at 10:56 AM, Raveendra Yerraguntla > wrote: > > Hello > my date

count mismatch with and without sort param

2020-11-05 Thread Raveendra Yerraguntla
Hello my date query returns mismatch with and without sort parameter. The query parameter is on date field, on which records are inserted few hours ago. sort parameter is different from query parameter, which is the expected the count. Any clues if how it could be different? I am planning to do

Re: Trouble with post.jar

2020-11-05 Thread Vincenzo D'Amore
I see there are two solr in the url path, very likely you typed the wrong Solr host parameter http://localhost:8983/solr/solr/update/extract?commit=true Ciao, Vincenzo -- mobile: 3498513251 skype: free.dev > On 5 Nov 2020, at 16:27, Bruce Campbell wrote: > >

Re: getFirstValue problem with solrj

2020-11-05 Thread Raivo Rebane
Heloo I found mistake Thanks Raivo On 05.11.20 17:08, Raivo Rebane wrote: Hello I have one problem I made a query as foollws :                     System.out.println("Querying by using SolrQuery...");                     SolrQuery solrQuery = new SolrQuery("Name:" + Pattern);            

Trouble with post.jar

2020-11-05 Thread Bruce Campbell
I'm just getting my feet wet with Rolr. I am having trouble with posting a web crawl. I get the following: C:\Users\bruce.campbell\Downloads\solr-8.6.3\solr-8.6.3\example\exampledocs> java -Ddata=web -Dc=solr -jar post.jar http://www.lucene.apache.org/ SimplePostTool version 5.0.0 Posting web

getFirstValue problem with solrj

2020-11-05 Thread Raivo Rebane
Hello I have one problem I made a query as foollws :                     System.out.println("Querying by using SolrQuery...");                     SolrQuery solrQuery = new SolrQuery("Name:" + Pattern);                     solrQuery.addField("id");                    

Re: Solr 8.1.1 installation in Azure App service

2020-11-05 Thread Erick Erickson
I _strongly_ recommend you use the collections API CREATE command rather than try what you’re describing. You’re trying to mix manually creating core.properties files, which was the process for stand-alone Solr, with SolrCloud and hoping that it somehow gets propagated to Zookeeper. This has

Re: Solr migration related issues.

2020-11-05 Thread Erick Erickson
Oh dear. You made me look at the reference guide. Ouch. We have this nice page “Defining core.properties” that talks about defining core.properties. Unfortunately it has _no_ warning about the fact that trying to use this in SolrCloud is a really bad idea. As in “don’t do it”. To make

Re: Solr migration related issues.

2020-11-05 Thread Modassar Ather
Hi Shawn, I understand that we do not need to modify the core.properties and use the APIs to create core and collection and that is what I am doing now. This question of naming the core as per the choice comes from our older setup where we have 12 shards, a collection and core both named the same