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: 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 co

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 se

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 tok

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 f

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 para

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 page:

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] Sent:

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: https://wiki.apache.org/solr/UsingMai

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 parameters

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: 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: "solr-user@lucene.apache.org

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 excl

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 recom

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 i