Indexing "single nested child" in XML

2022-04-29 Thread Thomas Corthals
Hi, In a JSON request, you can add nested child documents as a single document or an array of documents. JSON data: { "id": "1", "single_child": { "id": "2" }, "children": [{ "id": "3" }, { "id": "4" }] } Response: { "responseHeader":{ "status":0, "QTime"

Re: Wrong Results for parent blockjoin

2022-04-29 Thread Mikhail Khludnev
On Fri, Apr 29, 2022 at 10:28 PM Gus Heck wrote: > > It has to be possible since even in a parent/child data set there could be > parents with no children? > Sure, childfree docs are absolutely valid. > > On Fri, Apr 29, 2022 at 1:21 PM Mikhail Khludnev wrote: > > > Hello, Gus. > > > > On Fri

Re: Wrong Results for parent blockjoin

2022-04-29 Thread Gus Heck
Of course it's possible. Block mask ("Not Children") just has to include *:* -_node_path_:* (all documents without a _nest_path_) to catch non-block join docs as well as a filter for the levels in the hierarchy that are to be considered "parents" (not children) If you don't define _node_path_ th

Re: Wrong Results for parent blockjoin

2022-04-29 Thread Mikhail Khludnev
Hello, Gus. On Fri, Apr 29, 2022 at 6:55 PM Gus Heck wrote: > Also if you have an index with a mixture of > hierarchical documents and other non block/join docs. > Such mix is not an option, it should be declared somewhere. Any standalone docs should be marked as parent. > > On Fri, Apr 29, 2

Re: Wrong Results for parent blockjoin

2022-04-29 Thread Gus Heck
The confusing thing about the block mask is that it is actually defining the set of things that are "Not Children" as opposed to "Are Parents" ... so in cases where you have more than 2 levels, and you want to tread a middle level as a parent to the lower levels this becomes an important distinctio

Re: Wrong Results for parent blockjoin

2022-04-29 Thread Mikhail Khludnev
Hello, James. Excuse me if I didn't fully get all points of your inquiry. As I grasped the challenge. One can not filter/select certain parents (types) with `which` param, because block join is a plain nextBitSet() over dense ordinals. So, parents bitset should include all parents - disjunct all p

Re: Problem with indexing a String field in SOLR.

2022-04-29 Thread Shawn Heisey
On 4/28/22 14:16, Neha Gupta wrote: I am not using dynamic fields and schema is as below. That isn't the schema.  It's a screenshot of the Schema Browser in the admin UI, showing information from one field. A better way of asking for what is needed:  We need the XML file containing the sche

Re: Stop a long running query

2022-04-29 Thread Mikhail Khludnev
Hello, Rahul. I probably not fully get what you expect, but curiously I believe that timeAllowed does what you expect. Just clarify your context, please. On Fri, Apr 29, 2022 at 12:22 AM Rahul Goswami wrote: > Hello, > I am using Solr 7.7.2. Is it possible to stop a long running request ? > Usin

RE: Question about Zookeeper architecture

2022-04-29 Thread DAVID MARTIN NIETO
Hi, I make a similar question time ago and get this answer: Shawn Heisey Mié 24/02/2021 17:33  [https://agave.myanalytics.cdn.office.net/images/logos/Insights_System_Mono_5A92FE_64_2x.png]     Para: * solr-u...@lucene.apache.org On 2/24/2021 9:04 AM, DAVID MARTIN NIETO wrote: > If I'm n

Re: Problem with indexing a String field in SOLR.

2022-04-29 Thread Thamizh Azhagan
Hi Neha, Please bear me with this basic question. You said that you were able to index with the name "hcn" but not with "host_common_name". Is there any problem with underscore..Did you use any other field with underscore which is indexing successfully? Thanks, Thamizh On Fri, Apr 29, 2022 at 1