RE: Improper Solr Search results

2022-11-23 Thread Raj Krishna
Hi Team, Do we have any leads on this issue. Thanks Raj From: Raj Krishna Sent: Monday, November 21, 2022 2:56 PM To: users@solr.apache.org Subject: Improper Solr Search results Hi solr team, The solr search is not showing up the proper results. Here is what I am looking for: Scenerio1 Let's

Re: Improper Solr Search results

2022-11-23 Thread Markus Jelsma
Hello, It is unclear what you are looking for, do you have a problem with the highlighted excerpts, or a problem with the sorting of the top search results? Also, everything below 'Here are the settings what I have used.' is not really helpful. Regards, Markus Op wo 23 nov. 2022 om 12:35 schree

Re: Seeking tips about MoreLikeThis exceptions

2022-11-23 Thread Mikhail Khludnev
Hello, I can only speculate that some doc ids has a colon in value. In this can you need to either escape it with backslash or use more explicit syntax described in Solr Local Params topic. But I might be wrong. Can you provide a problem query and/or stacktrace? On Tue, Nov 22, 2022 at 9:09 PM Wu,

org.apache.solr.common.SolrException: Unable to create core

2022-11-23 Thread Aravind Reddy Jangam
I am using Java 11, Zookeeper 3.7.1, Solr 9.0.0 I installed & started three zookeeper instances I ran below commands to bootstrap & upload configs to zookeeper cd /opt/install/solr ./server/scripts/cloud-scripts/zkcli.sh -zkhost zk01:2181,zk02:2181,zk03:2181 -cmd makepath /solr-document1 ./server

Re: org.apache.solr.common.SolrException: Unable to create core

2022-11-23 Thread Shawn Heisey
On 11/23/22 11:45, Aravind Reddy Jangam wrote: I am using Java 11, Zookeeper 3.7.1, Solr 9.0.0 I installed & started three zookeeper instances I ran below commands to bootstrap & upload configs to zookeeper cd /opt/install/solr ./server/scripts/cloud-scripts/zkcli.sh -zkhost zk01:2181,zk02:2181,

updating document: add field if not exists ?

2022-11-23 Thread dmitri maziuk
Hi all, has anyone run into the problem of updating a document field, but only if not already present? TFM @ https://solr.apache.org/guide/8_11/updating-parts-of-documents.html has "set", "add", and "add-distinct" as update commands. I have a subset of documents where a single-valued field i

RE: org.apache.solr.common.SolrException: Unable to create core

2022-11-23 Thread Aravind Reddy Jangam
Thanks Shawn Can you please point me to documentation of setting up solr 9 cloud with 4 shards and 2 replicas in each shard -Original Message- From: Shawn Heisey Sent: Wednesday, November 23, 2022 2:02 PM To: users@solr.apache.org Subject: Re: org.apache.solr.common.SolrException: Unabl

Re: org.apache.solr.common.SolrException: Unable to create core

2022-11-23 Thread Shawn Heisey
On 11/23/22 12:12, Aravind Reddy Jangam wrote: Can you please point me to documentation of setting up solr 9 cloud with 4 shards and 2 replicas in each shard Here is how I download a config from zookeeper and then upload it again on my tiny install with exactly one core: /opt/solr/bin/solr

RE: [External] Re: Seeking tips about MoreLikeThis exceptions

2022-11-23 Thread Wu, Hansen [USA]
Hi Solr folks, Below is the info related to the bug I reported. Thanks for taking a look. Happy holidays! --H.Wu -- ERROR MESSAGE: -- Failed to search for document id: 123456/2022080916.txt Error from server at http://xxx.xxx.xxx:8983/solr/documents: Error from server at null: or

possible bug in import and dynamic fields?

2022-11-23 Thread dmitri maziuk
Hi all, this one's a bit convoluted and I'm not sure where to look nor how to best describe this: - we have a "master" table with a bunch of values incl. price, and a few "detail" tables with other attributes. - For the price, there is a dynamic field price_cs. As far as I can see it's

cache key/lookup with doc update ?

2022-11-23 Thread dmitri maziuk
Hi all, this works in Java DIH: cacheLookup="foo.OTHER_ID" > This fails with JSON POST: '{ "OTHER_ID" : blah, "foochild" : { "add" : bar } }' -- the exception is "Missing mandatory uniqueKey field". Which is correct: "OTHER_ID" is not defined as either mandatory or unique. (It is

Re: [External] Re: Seeking tips about MoreLikeThis exceptions

2022-11-23 Thread Mikhail Khludnev
For me it doesn't seem like MoreLikeThis, but it can fixed with escaping '\', I believe search:subj\:cedation On Wed, Nov 23, 2022 at 11:08 PM Wu, Hansen [USA] wrote: > Hi Solr folks, > Below is the info related to the bug I reported. Thanks for taking a look. > Happy holidays! > --H.Wu > > ---