Re: Results appear to be wrongly ordered after sorting

2022-09-08 Thread Netta Steinberg
On 2022/09/07 22:09:58 Joel Bernstein wrote: > The sort is on a tokenized field. You'll likely need to sort on a string or > SortableTextField to get the correct ordering. > > https://solr.apache.org/guide/8_6/field-types-included-with-solr.html > > > Joel Bernstein > http://joelsolr.blogspot.com/

MoreLikeThis with externally supplied text, and facets?

2022-09-08 Thread Batanun B
Hi, I'm evaluating if the MoreLikeThis (mlt) feature of solr can be useful for our editors when they are creating new content. We want to trigger this before the content has been inserted in the system, so there is no document in solr that we can use as a base for the mlt search. So we want to

Re: MoreLikeThis with externally supplied text, and facets?

2022-09-08 Thread Mikhail Khludnev
Hello Batanun I checked {!mlt} source code. It can't swallow external content. I've found that Lucene XML parser https://lucene.apache.org/core/9_1_0/queryparser/org/apache/lucene/queryparser/xml/CorePlusQueriesParser.html is capable to handle . However, it's diverged and not available in Solr out-

shards.tolerant support for stream handlers

2022-09-08 Thread Chetan Rautela
Hi All, While using stream handler API in Solr 7.4.0. I am getting following exception, API : http://localhost:8983/solr/demo_collection_1/stream?expr=search(demo_collection_1,q=*:*,fl=name,age,id,rec_time,sort=rec_time desc,qt=/export) Response : { "result-set":{ "docs":[{ "EXCEPTI

Trigger or auto-enforcing of cluster policy?

2022-09-08 Thread Koen De Groote
Hello everyone, I recently set up the following system: 2 hosts, with each 2 docker containers for Solr. The first has a high JVM for a single core that requires a lot. The second has lower JVM for a few cores that need to exist but are not heavily used, nor have a lot of documents. I was resear

Re: Solr Cloud Architecture Recommendations

2022-09-08 Thread Eric Pugh
Lots of good questions here, I’ll inline a couple of answers... > On Sep 8, 2022, at 1:59 AM, Satya Nand > wrote: > > Hi All, > > We have recently moved from solr 6.5 to solr cloud 8.10. > > > *Earlier Architecture:*We were using a master-slave architecture where we > had 4 slaves(14 cpu, 96

Re: Solr Cloud Architecture Recommendations

2022-09-08 Thread matthew sporleder
In my experience sharding really slows you down because of all the extra network chatter. Do you index continuously or nightly or what? You should never need to optimize. Check out your cache performance (in JMX or the solr ui) and increase those if you index infrequently. Ideally your entire i

Re: MultiLevel Collapse Supproted by Solr?

2022-09-08 Thread Joel Bernstein
Here is the jira that allowed for multiple collapse: https://issues.apache.org/jira/browse/SOLR-14073 This was a bug fix. I don't think this was ever documented as a feature, but it should work with Solr 8.5 and beyond. Here is the follow-on work for expand: https://issues.apache.org/jira/brows

Re: shards.tolerant support for stream handlers

2022-09-08 Thread Joel Bernstein
This is not something that has been tested yet with the stream handler unfortunately. Joel Bernstein http://joelsolr.blogspot.com/ On Thu, Sep 8, 2022 at 8:26 AM Chetan Rautela wrote: > Hi All, > > > While using stream handler API in Solr 7.4.0. > I am getting following exception, > API : > >

Re: Parent Child Document Management

2022-09-08 Thread Dwane Hall
Thanks Mikhail, it was a long shot but I thought I'd ask. Appreciate the input, Dwane From: Mikhail Khludnev Sent: Thursday, 8 September 2022 4:54 PM To: users@solr.apache.org Subject: Re: Parent Child Document Management Hi, Dwane. Breaking blocks are not po

Schema question: multi-valued field pint vs pints

2022-09-08 Thread Christopher Schultz
All, I have defined a schema which uses a multi-valued field with type "pint" and when I fetch the schema from Solr, it says the field type is "pints". It seems if I create a field of type "pints" with "mutivalued":"false", I still get a multi-valued field. Is one an alias of the other? It

JDBC stream expression

2022-09-08 Thread James Greene
I'm on solr 8.11.1 and trying to use the 'jdbc' streaming expression as documented here: https://solr.apache.org/guide/8_11/stream-source-reference.html#jdbc When I try to run a jdbc stream expression I get the error: 'function 'jdbc' is unknown (not mapped to a valid TupleStream' Here is an exam

Re: JDBC stream expression

2022-09-08 Thread Joel Bernstein
The jdbc stream was removed from the standard expression library for security reasons. It is still in the jars though and can be included through a change in the solrconfig.xml. This jira describes how to plugin an expression: https://issues.apache.org/jira/browse/SOLR-9103 The class is: org.apa

Re: Solr Cloud Architecture Recommendations

2022-09-08 Thread Satya Nand
Thank you Eric for your reply. Please find my response below. > 1. Were we right to assume to separate indexing and query layer? is it a > > good idea? or something else could have been done better? because right > > now it can affect our cluster stability, if in case replica node is not > > avai

Re: Solr Cloud Architecture Recommendations

2022-09-08 Thread Satya Nand
Hi Matthew, In my experience sharding really slows you down because of all the > extra network chatter. Yes, we have also faced the same, But it is not about the cloud we could never match the response time of our old solr(6.5) with an upgraded one(8.7,8.10), even without the cloud. 6.5 was alwa