Re: Getting error "Bad Message 414 reason: URI Too Long"

2021-01-15 Thread Shawn Heisey
On 1/14/2021 2:31 AM, Abhay Kumar wrote: I am trying to post below query to Solr but getting error as “Bad Message 414reason: URI Too Long”. I am sending query using SolrNet library. Please suggest how to resolve this issue. *Query :* http://localhost:8983/solr/documents/select?q=%22Geistes

Handling acronyms

2021-01-15 Thread Shaun Campbell
I have a medical journals search application and I've a list of some 9,000 acronyms like this: MSNQ=>MSNQ Multiple Sclerosis Neuropsychological Screening Questionnaire SRN=>SRN Stroke Research Network IGBP=>IGBP isolated gastric bypass TOMADO=>TOMADO Trial of Oral Mandibular Advancement Devices fo

RE: [Solr8.7] Performance of group.ngroups ?

2021-01-15 Thread Bruno Mannina
Hello, I found a temporary solution to my problem. I do a request without ngroups=true => result is quickly And just after, I do a simple request with my query and this param: ….&json.facet={x:"unique(fid)"} Where the field « fid » is my group field name. 88 sec => 3~4 sec for both requ

Re: Handling acronyms

2021-01-15 Thread Bernd Fehling
If you are using multiword synonyms, acronyms, ... Your should escape the space within the multiwords. As synonyms.txt: SRN, Stroke\ Research\ Network IGBP, isolated\ gastric\ bypass ... Redards Bernd Am 15.01.21 um 10:48 schrieb Shaun Campbell: I have a medical journals search application an

Fieldname alias for Highlighter results

2021-01-15 Thread Michael Aleythe, Sternwald
Hi everybody, I'm looking for a way to replace solr index field names in the highlighting response. For the query part there is the param fl=substitute:REAL_FIELD_NAME which substitutes the field name REAL_FIELD_NAME by "substitute". Sadly the substitution is not applied to the highlighter res

Re: Handling acronyms

2021-01-15 Thread Charlie Hull
I'm wondering if you should be using these acronyms at index time, not search time. It will make your index bigger and you'll have to re-index to add new synonyms (as they may apply to old documents) but this could be an occasional task, and in the meantime you could use query-time synonyms for

RE: Query over migrating a solr database from 7.7.1 to 8.7.0

2021-01-15 Thread Flowerday, Matthew J
Hi Jim Thanks for looking into it for me. I did some more testing and if I created a base solr 7.7.1 database using the 'out of the box' schema.xml and solrconfig and add this item manually using the Solr Admin tool documents/XML ABCD-N1 A test And then update it using AB

SolrCloud 8.7.0 with Zookeeper 3.4.5

2021-01-15 Thread Subhajit Das
Hi There, I am planning to implement Solr cloud 8.7.0 with existing Zookeeper 3.4.5. This is cloudera provided zookeeper. Is there any red flags, for such configuration, as I couldn’t find any compatibility matrix? Many thanks in advance. Regards, Subhajit

Unicode Normalization and ICUNormalizer2Filter

2021-01-15 Thread Bernd Fehling
Hello list, cloud it be that Apache Solr Reference Guide of all versions is wrong? Example: https://lucene.apache.org/solr/guide/8_7/filter-descriptions.html#icu-normalizer-2-filter NFC: (name="nfc" mode="compose") Normalization Form C, canonical decomposition NFD: (name="nfc" mode="decompose")

Replicaton SolrCloud

2021-01-15 Thread Jae Joo
Is non CDCR replication in SolrCloud still working in Solr 9.0? Jae

Re: Handling acronyms

2021-01-15 Thread Michael Gibney
The equivalent terms on the right-hand side of the `=>` operator in the example you sent should be separated by a comma. You mention you already tried only-comma-separated (e.g. one line: `SRN,Stroke Research Network`) and that that yielded unexpected results as well. I would recommend pre-case-nor

Re: Handling acronyms

2021-01-15 Thread Shaun Campbell
Hi Bernd Thanks for that. I think it is working, but I think unfortunately what I'm trying to do is impossible/not logical. When I enter a term it goes off and searches using all the matching acronyms, because I'm finding a term used in more than one synonym eg diabetes. I think at the end of th

Re: Handling acronyms

2021-01-15 Thread Shaun Campbell
Hi Charlie I was indexing at index time only. The synonyms/acronyms were coming from the published journals xml files so I wasn't expecting to maintain them myself. If it worked, I was expecting, hopefully, to update the synonyms file automatically. As I just explained to Bernd I'm finding that

Re: Handling acronyms

2021-01-15 Thread Shaun Campbell
Hi Michael Thanks for that I'll have a study later. It's just reminded me of the expand option which I meant to have a look at. Thanks Shaun On Fri, 15 Jan 2021 at 14:33, Michael Gibney wrote: > The equivalent terms on the right-hand side of the `=>` operator in the > example you sent should

Solrcloud - Reads on specific nodes

2021-01-15 Thread Doss
Dear All, 1. Suppose we have 10 node SOLR Cloud setup, is it possible to dedicate 4 nodes for writes and 6 nodes for selects? 2. We have a SOLR cloud setup for our customer facing applications, and we would like to have two more SOLR nodes for some backend jobs. Is it good idea to form these node

Re: Handling acronyms

2021-01-15 Thread Michael Gibney
Shaun, I'm not 100% sure, but don't give up on this just yet: > For example if I enter diabetes it finds the acronym DM for diabetes mellitus I think the behavior you're observing may simply be a side-effect of a misconfiguration of synonyms.txt. In the example you posted, the equivalent terms a

Re: Replicaton SolrCloud

2021-01-15 Thread Shawn Heisey
On 1/15/2021 7:20 AM, Jae Joo wrote: Is non CDCR replication in SolrCloud still working in Solr 9.0? Solr 9 doesn't exist yet. Probably won't for at least a few months. The latest version is 8.7.0. Solr's replication feature is used by SolrCloud internally for recovery operations, but the

Re: Solrcloud - Reads on specific nodes

2021-01-15 Thread Michael Gibney
I know you're asking about nodes, not replicas; but depending on what you're trying to achieve you might be as well off routing requests based on replica. Have you considered the various options available via the `shards.preference` param [1]? For instance, you could set up your "write" replicas as

Re: Handling acronyms

2021-01-15 Thread Michael Gibney
EDIT: "the equivalent terms are separated by commas (as they should be)" => "the equivalent terms are _not_ separated by commas (as they should be)" On Fri, Jan 15, 2021 at 10:09 AM Michael Gibney wrote: > Shaun, > > I'm not 100% sure, but don't give up on this just yet: > > > For example if I e

Re: Solrcloud - Reads on specific nodes

2021-01-15 Thread Shawn Heisey
On 1/15/2021 7:56 AM, Doss wrote: 1. Suppose we have 10 node SOLR Cloud setup, is it possible to dedicate 4 nodes for writes and 6 nodes for selects? 2. We have a SOLR cloud setup for our customer facing applications, and we would like to have two more SOLR nodes for some backend jobs. Is it goo

Re: [Solr8.7] Performance of group.ngroups ?

2021-01-15 Thread Joel Bernstein
You can try collapse as well. Joel Bernstein http://joelsolr.blogspot.com/ On Fri, Jan 15, 2021 at 4:51 AM Bruno Mannina wrote: > Hello, > > > > I found a temporary solution to my problem. > > > > I do a request without ngroups=true => result is quickly > > And just after, I do a simple requ

Solr Slack Workspace

2021-01-15 Thread Justin Sweeney
Hi all, I did some googling and didn't find anything, but is there a Slack workspace for Solr? I think this could be useful to expand interaction within the community of Solr users and connect people solving similar problems. I'd be happy to get this setup if it does not exist already. Justin

Re: Solr Slack Workspace

2021-01-15 Thread matthew sporleder
IRC has kind of died off, https://lucene.apache.org/solr/community.html has a slack mentioned, I'm on https://opensourceconnections.com/slack after taking their solr training class and assume it's mostly open to solr community. On Fri, Jan 15, 2021 at 8:10 PM Justin Sweeney wrote: > > Hi all, > >