Re: Facet count incorrect

2019-05-23 Thread Erick Erickson
You’ll have subtle, or not so subtle problems. String types are a single token, so a document with “my dog has fleas” will not be returned when searching for any of those 4 words. My definition there’s no position information in stored with the string type, so no phrases will work against docs

Re: Facet count incorrect

2019-05-23 Thread John Davis
Reindexing to alias is not always easy if it requires 2x resources. Just to be clear the issues you mentioned are mostly around faceting because we haven't seen any other search/retrieval issues. Or is that not accurate? On Wed, May 22, 2019 at 5:12 PM Erick Erickson wrote: > 1> I strongly

Re: Enabling SSL on SOLR breaks my SQL Server connection

2019-05-23 Thread Jörn Franke
And this is only a solutions for testing. For production you need to import the certificate chain into your truststore > Am 23.05.2019 um 18:06 schrieb Shawn Heisey : > >> On 5/23/2019 9:56 AM, Paul wrote: >> Thanks for the reply Shawn. >> What I was asking is whether there is an option to

Re: Unable to run solr | SolrCore Initialization Failures {{Core}}: {{error}}

2019-05-23 Thread Natarajan, Rajeswari
Please see if the zookeeper is installed before installing solrcloud , in case you are not running embedded Zookeeper. Hope it helps. Regards, Rajeswari From: Karthic Viswanathan Reply-To: "solr-user@lucene.apache.org" Date: Wednesday, May 22, 2019 at 10:37 PM To:

Re: Enabling SSL on SOLR breaks my SQL Server connection

2019-05-23 Thread Shawn Heisey
On 5/23/2019 9:56 AM, Paul wrote: Thanks for the reply Shawn. What I was asking is whether there is an option to exclude the comms to SQL from SOLR managed encryption as the JDBC driver manages the connection and SOLR is acting as the Client in this instance and is already using encrypted comms

Re: Enabling SSL on SOLR breaks my SQL Server connection

2019-05-23 Thread Paul
Thanks for the reply Shawn. What I was asking is whether there is an option to exclude the comms to SQL from SOLR managed encryption as the JDBC driver manages the connection and SOLR is acting as the Client in this instance and is already using encrypted comms via the connection string

Re: Unable to run solr | SolrCore Initialization Failures {{Core}}: {{error}}

2019-05-23 Thread Erick Erickson
We don’t see your attachments, the mail server pretty aggressively strips them. You’ll have to put them somewhere shareable and post a link. What exactly are you trying? SolrCloud? Stand-alone? What commands do you run when you start Solr? You might review:

RE: CloudSolrClient (any version). Find the node your query has connected to.

2019-05-23 Thread Russell Taylor
Thanks Erick, Pretty stuck with the delete-by-query as it can be deleting a million docs. I'll work through what you have said and also try to find the root cause of the recovery. Regards Russell Taylor -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com]

Re: Enabling SSL on SOLR breaks my SQL Server connection

2019-05-23 Thread Shawn Heisey
On 5/23/2019 5:45 AM, Paul wrote: unable to find valid certification path to requested target This seems to be the root of your problem with the connection to SQL server. If I have all the context right, Java is saying it can't validate the certificate returned by the SQL server. This

Enabling SSL on SOLR breaks my SQL Server connection

2019-05-23 Thread Paul
Hi, I have enabled HTTPS on my SOLR server and it works fine over HTTPS for interaction with SOLR via the browser such as for data queries and management actions. However, I now get an error when attempting to retrieve data from the SQL server for Indexing. The JDBC connection string has the

Re: Negative boost query (bq) with edismax for lower scores with Solr 8

2019-05-23 Thread CO
I didn't see any response so I wanted to check if my observation simply is not relevant for other people or if I missed to provide any required details. Thanks! -Original Message- Date: 05/09/2019 08:28 AM Subject: Negative boost query (bq) with edismax for lower scores with Solr 8 I

Re: Does Solr support retrieve a string text and get its filename accordingly?

2019-05-23 Thread luckydog xf
Thank you all. Learn a lot from you guys. On Thu, May 23, 2019 at 3:54 PM Nicolas Franck wrote: > In that case you'll have to duplicate that field: > > id: $name_of_file > id_t: $name_of_file > > The first field should be marked as "string", and set to be the key field. > Id-fields cannot be

Re: Does Solr support retrieve a string text and get its filename accordingly?

2019-05-23 Thread Nicolas Franck
In that case you'll have to duplicate that field: id: $name_of_file id_t: $name_of_file The first field should be marked as "string", and set to be the key field. Id-fields cannot be tokenized. The second field is a derivative (you can just copy the contents, or use copyField), and should be

Re: Does Solr support retrieve a string text and get its filename accordingly?

2019-05-23 Thread Mohomed Rimash
yes in that case your file name should be key field of each document you added to the solr On Thu, 23 May 2019 at 12:32, luckydog xf wrote: > Thanks guys. > > *Don't mean to be a bother*, just want to confirm, I know it's doable to > search keywords, but what I want is * FileName(s) * that

Re: Does Solr support retrieve a string text and get its filename accordingly?

2019-05-23 Thread luckydog xf
Thanks guys. *Don't mean to be a bother*, just want to confirm, I know it's doable to search keywords, but what I want is * FileName(s) * that contains the string. The answer is still a yes? Thanks again. On Thu, May 23, 2019 at 2:20 PM Jörn Franke wrote: > You can go much more than grep.

Re: CloudSolrClient (any version). Find the node your query has connected to.

2019-05-23 Thread Jan Høydahl
Try to add =true to your request. It will return a section telling exactly what shards/replicas served that request with counts and all :) Jan Høydahl > 22. mai 2019 kl. 21:17 skrev Erick Erickson : > > You have to be a little careful here, one thing I learned relatively recently > is that

Re: Ignore faceting for particular fields in solr using Solrconfig.xml

2019-05-23 Thread Bernd Fehling
Have a look at "invariants" for your requestHandler in solrconfig.xml. It might be an option for you. Regards Bernd Am 22.05.19 um 22:23 schrieb RaviTeja: Hello Solr Expert, How are you? Am trying to ignore faceting for some of the fields. Can you please help me out to ignore faceting using

Re: Does Solr support retrieve a string text and get its filename accordingly?

2019-05-23 Thread Jörn Franke
You can go much more than grep. I recommend to get a book on Solr and read through it. Then you get the full context and you can see if it is useful for you. > Am 23.05.2019 um 07:44 schrieb luckydog xf : > > Hi, list, > >A quick question, we have tons of Microsoft docx/PDFs files( some

Re: Does Solr support retrieve a string text and get its filename accordingly?

2019-05-23 Thread Mohomed Rimash
Hi Definitely you can do, what you have to do is 1.Feed Docs/PDF (solr support rich format file import) to solr 2.index it with corresponding analyzers (if its just string match, default is adequate. if you want phonetic and partial matches you have to add more analyzers) 3.Create a query

Re: Unable to run solr | SolrCore Initialization Failures {{Core}}: {{error}}

2019-05-23 Thread Mohomed Rimash
Hi Do you know what are the cores (name of the core used) in the solr instance you trying to use? if create those cores manually and try Regards Rimash On Thu, 23 May 2019 at 11:07, Karthic Viswanathan < karthic.viswan...@gmail.com> wrote: > > Hi, > > I am trying to install Solr for my