Changing `tlogReplicas` property on existing collections in Solr Cloud

2023-02-22 Thread Nikolay Ivanov
Hello guys,

I have an issue that I cannot find an answer to. Can you please try to assist 
me?
I will briefly explain our setup: We, at VMWare, have a Solr Cloud cluster 
setup(ver. 8.9). We are using TLOG replication of 3. Due to underutilized 
replicas, we are considering of decreasing the tlogReplicas to 2(to save some 
cost).
We have a set of collections in production, so I want to smoothly make that 
transition.
The only problem I have so far is that it seems I cannot change `tlogReplicas` 
property using the MODIFYCOLLECTION API.
Is there any other way I can smoothly change `tlogReplicas` property of an 
existing collection without recreating it?

Thanks a lot for the help,
Nikolay Ivanov


Re: Changing `tlogReplicas` property on existing collections in Solr Cloud

2023-02-22 Thread Shawn Heisey

On 2/22/23 01:39, Nikolay Ivanov wrote:

Hello guys,

I have an issue that I cannot find an answer to. Can you please try to assist 
me?
I will briefly explain our setup: We, at VMWare, have a Solr Cloud cluster 
setup(ver. 8.9). We are using TLOG replication of 3. Due to underutilized 
replicas, we are considering of decreasing the tlogReplicas to 2(to save some 
cost).
We have a set of collections in production, so I want to smoothly make that 
transition.
The only problem I have so far is that it seems I cannot change `tlogReplicas` 
property using the MODIFYCOLLECTION API.
Is there any other way I can smoothly change `tlogReplicas` property of an 
existing collection without recreating it?


I can't find any mention of anything that actually USES that property.  
Maybe autoscaling does, but I haven't found any evidence supporting 
that.  I'm not sure that has any meaning outside the initial collection 
creation.


If you want fewer replicas, just delete one.  If the cluster doesn't 
automatically recreate it, then that will be the end of it.


Thanks,
Shawn



Inconsistent Solr Learning to Rank Feature Store State - SolrCloud / 7.7

2023-02-22 Thread Doug Turnbull
Hi all,

In SolrCloud mode, Solr 7.7, I uploaded a feature store, and notice it in
zookeeper under the collection's config. I've tried to upload various
feature store names with the command:

```
 curl -XPUT "http://localhost:8983/solr/collection/schema/feature-store";
--data-binary "@ltr/collection/feature_set.json" -H
'Content-type:application/json'

{
  "responseHeader":{
"status":0,
"QTime":19}}
```

The json file contents are:

```
[
{
  "name" : "title_bm25",
  "class" : "org.apache.solr.ltr.feature.SolrFeature",
  "params" : {
"q" : "title:(${keywords})"
  }
},
{
  "name" : "title_len",
  "class" : "org.apache.solr.ltr.feature.FieldLengthFeature",
  "params" : {
"field": "title"
  }
}
]
```

Everytime I curl to see what feature stores exist, I get an inconsistent
response from the node I uploaded to:

```

$ curl -XGET 'http://localhost:8983/solr/collection/schema/feature-store'
{
  "responseHeader":{
"status":0,
"QTime":2},
  "featureStores":[]}
(solr/search-v2/pool-v)douglas.turnbull@solr-prod-v2-

$ curl -XGET 'http://localhost:8983/solr/collection/schema/feature-store'
{
  "responseHeader":{
"status":0,
"QTime":0},
  "featureStores":[""]}

$ curl -XGET 'http://localhost:8983/solr/collection/schema/feature-store'
{
  "responseHeader":{
"status":0,
"QTime":103},
  "featureStores":[]}

$ curl -XGET 'http://localhost:8983/solr/collection/schema/feature-store'
{
  "responseHeader":{
"status":0,
"QTime":0},
  "featureStores":["_DEFAULT",
  "_DEFAULT_"]}

$ curl -XGET 'http://localhost:8983/solr/collection/schema/feature-store'
{
  "responseHeader":{
"status":0,
"QTime":0},
  "featureStores":["foo", "_DEFAULT_"]}
$ curl -XGET 'http://localhost:8983/solr/collection/schema/feature-store'
{
  "responseHeader":{
"status":0,
"QTime":103},
  "featureStores":[]}

```

Similarly when I query for _DEFAULT_ directly:

```
$ curl -XGET 
'http://localhost:8983/solr/collection/schema/feature-store/_DEFAULT_'

reddit-search-config$
{
  "responseHeader":{
"status":0,
"QTime":2},
  "features":[]}


$ curl -XGET 
'http://localhost:8983/solr/collection/schema/feature-store/_DEFAULT_'
{
  "responseHeader":{
"status":0,
"QTime":1},
  "features":[{
  "name":"title_bm25",
  "class":"org.apache.solr.ltr.feature.SolrFeature",
  "params":{"q":"title:(${keywords})"},
  "store":"_DEFAULT_"},
{
  "name":"title_len",
  "class":"org.apache.solr.ltr.feature.FieldLengthFeature",
  "params":{"field":"title"},
  "store":"_DEFAULT_"}]}
$ curl -XGET 
'http://localhost:8983/solr/collection/schema/feature-store/_DEFAULT_'

reddit-search-config$
{
  "responseHeader":{
"status":0,
"QTime":1},
  "features":[]}
```

Is this a known issue? Seems like a bug, but let me know if there's a
workaround or something I should be doing differently

Thanks
-Doug


Re: Inconsistent Solr Learning to Rank Feature Store State - SolrCloud / 7.7

2023-02-22 Thread Doug Turnbull
It's important to always listen to Alessandro Benedetti. Reloading the
collection is the solution

https://sease.io/2021/03/common-errors-with-apache-solr-feature-stores-and-models.html



On Wed, Feb 22, 2023 at 10:49 AM Doug Turnbull 
wrote:

> Hi all,
>
> In SolrCloud mode, Solr 7.7, I uploaded a feature store, and notice it in
> zookeeper under the collection's config. I've tried to upload various
> feature store names with the command:
>
> ```
>  curl -XPUT "http://localhost:8983/solr/collection/schema/feature-store";
> --data-binary "@ltr/collection/feature_set.json" -H
> 'Content-type:application/json'
>
> {
>   "responseHeader":{
> "status":0,
> "QTime":19}}
> ```
>
> The json file contents are:
>
> ```
> [
> {
>   "name" : "title_bm25",
>   "class" : "org.apache.solr.ltr.feature.SolrFeature",
>   "params" : {
> "q" : "title:(${keywords})"
>   }
> },
> {
>   "name" : "title_len",
>   "class" : "org.apache.solr.ltr.feature.FieldLengthFeature",
>   "params" : {
> "field": "title"
>   }
> }
> ]
> ```
>
> Everytime I curl to see what feature stores exist, I get an inconsistent
> response from the node I uploaded to:
>
> ```
>
> $ curl -XGET 'http://localhost:8983/solr/collection/schema/feature-store'
> {
>   "responseHeader":{
> "status":0,
> "QTime":2},
>   "featureStores":[]}
> (solr/search-v2/pool-v)douglas.turnbull@solr-prod-v2-
>
> $ curl -XGET 'http://localhost:8983/solr/collection/schema/feature-store'
> {
>   "responseHeader":{
> "status":0,
> "QTime":0},
>   "featureStores":[""]}
>
> $ curl -XGET 'http://localhost:8983/solr/collection/schema/feature-store'
> {
>   "responseHeader":{
> "status":0,
> "QTime":103},
>   "featureStores":[]}
>
> $ curl -XGET 'http://localhost:8983/solr/collection/schema/feature-store'
> {
>   "responseHeader":{
> "status":0,
> "QTime":0},
>   "featureStores":["_DEFAULT",
>   "_DEFAULT_"]}
>
> $ curl -XGET 'http://localhost:8983/solr/collection/schema/feature-store'
> {
>   "responseHeader":{
> "status":0,
> "QTime":0},
>   "featureStores":["foo", "_DEFAULT_"]}
> $ curl -XGET 'http://localhost:8983/solr/collection/schema/feature-store'
> {
>   "responseHeader":{
> "status":0,
> "QTime":103},
>   "featureStores":[]}
>
> ```
>
> Similarly when I query for _DEFAULT_ directly:
>
> ```
> $ curl -XGET 
> 'http://localhost:8983/solr/collection/schema/feature-store/_DEFAULT_'
>  reddit-search-config$
> {
>   "responseHeader":{
> "status":0,
> "QTime":2},
>   "features":[]}
>
>
> $ curl -XGET 
> 'http://localhost:8983/solr/collection/schema/feature-store/_DEFAULT_'
> {
>   "responseHeader":{
> "status":0,
> "QTime":1},
>   "features":[{
>   "name":"title_bm25",
>   "class":"org.apache.solr.ltr.feature.SolrFeature",
>   "params":{"q":"title:(${keywords})"},
>   "store":"_DEFAULT_"},
> {
>   "name":"title_len",
>   "class":"org.apache.solr.ltr.feature.FieldLengthFeature",
>   "params":{"field":"title"},
>   "store":"_DEFAULT_"}]}
> $ curl -XGET 
> 'http://localhost:8983/solr/collection/schema/feature-store/_DEFAULT_'
>  reddit-search-config$
> {
>   "responseHeader":{
> "status":0,
> "QTime":1},
>   "features":[]}
> ```
>
> Is this a known issue? Seems like a bug, but let me know if there's a 
> workaround or something I should be doing differently
>
> Thanks
> -Doug
>
>


Re: Inconsistent Solr Learning to Rank Feature Store State - SolrCloud / 7.7

2023-02-22 Thread Doug Turnbull
Oof I mean Anna Rugerro :) but also listen to Alessandro, he's smart too!

On Wed, Feb 22, 2023 at 10:57 AM Doug Turnbull 
wrote:

> It's important to always listen to Alessandro Benedetti. Reloading the
> collection is the solution
>
>
> https://sease.io/2021/03/common-errors-with-apache-solr-feature-stores-and-models.html
>
>
>
> On Wed, Feb 22, 2023 at 10:49 AM Doug Turnbull <
> douglas.turnb...@reddit.com> wrote:
>
>> Hi all,
>>
>> In SolrCloud mode, Solr 7.7, I uploaded a feature store, and notice it in
>> zookeeper under the collection's config. I've tried to upload various
>> feature store names with the command:
>>
>> ```
>>  curl -XPUT "http://localhost:8983/solr/collection/schema/feature-store";
>> --data-binary "@ltr/collection/feature_set.json" -H
>> 'Content-type:application/json'
>>
>> {
>>   "responseHeader":{
>> "status":0,
>> "QTime":19}}
>> ```
>>
>> The json file contents are:
>>
>> ```
>> [
>> {
>>   "name" : "title_bm25",
>>   "class" : "org.apache.solr.ltr.feature.SolrFeature",
>>   "params" : {
>> "q" : "title:(${keywords})"
>>   }
>> },
>> {
>>   "name" : "title_len",
>>   "class" : "org.apache.solr.ltr.feature.FieldLengthFeature",
>>   "params" : {
>> "field": "title"
>>   }
>> }
>> ]
>> ```
>>
>> Everytime I curl to see what feature stores exist, I get an inconsistent
>> response from the node I uploaded to:
>>
>> ```
>>
>> $ curl -XGET 'http://localhost:8983/solr/collection/schema/feature-store'
>> {
>>   "responseHeader":{
>> "status":0,
>> "QTime":2},
>>   "featureStores":[]}
>> (solr/search-v2/pool-v)douglas.turnbull@solr-prod-v2-
>>
>> $ curl -XGET 'http://localhost:8983/solr/collection/schema/feature-store'
>> {
>>   "responseHeader":{
>> "status":0,
>> "QTime":0},
>>   "featureStores":[""]}
>>
>> $ curl -XGET 'http://localhost:8983/solr/collection/schema/feature-store'
>> {
>>   "responseHeader":{
>> "status":0,
>> "QTime":103},
>>   "featureStores":[]}
>>
>> $ curl -XGET 'http://localhost:8983/solr/collection/schema/feature-store'
>> {
>>   "responseHeader":{
>> "status":0,
>> "QTime":0},
>>   "featureStores":["_DEFAULT",
>>   "_DEFAULT_"]}
>>
>> $ curl -XGET 'http://localhost:8983/solr/collection/schema/feature-store'
>> {
>>   "responseHeader":{
>> "status":0,
>> "QTime":0},
>>   "featureStores":["foo", "_DEFAULT_"]}
>> $ curl -XGET 'http://localhost:8983/solr/collection/schema/feature-store'
>> {
>>   "responseHeader":{
>> "status":0,
>> "QTime":103},
>>   "featureStores":[]}
>>
>> ```
>>
>> Similarly when I query for _DEFAULT_ directly:
>>
>> ```
>> $ curl -XGET 
>> 'http://localhost:8983/solr/collection/schema/feature-store/_DEFAULT_'   
>>   reddit-search-config$
>> {
>>   "responseHeader":{
>> "status":0,
>> "QTime":2},
>>   "features":[]}
>>
>>
>> $ curl -XGET 
>> 'http://localhost:8983/solr/collection/schema/feature-store/_DEFAULT_'
>> {
>>   "responseHeader":{
>> "status":0,
>> "QTime":1},
>>   "features":[{
>>   "name":"title_bm25",
>>   "class":"org.apache.solr.ltr.feature.SolrFeature",
>>   "params":{"q":"title:(${keywords})"},
>>   "store":"_DEFAULT_"},
>> {
>>   "name":"title_len",
>>   "class":"org.apache.solr.ltr.feature.FieldLengthFeature",
>>   "params":{"field":"title"},
>>   "store":"_DEFAULT_"}]}
>> $ curl -XGET 
>> 'http://localhost:8983/solr/collection/schema/feature-store/_DEFAULT_'   
>>   reddit-search-config$
>> {
>>   "responseHeader":{
>> "status":0,
>> "QTime":1},
>>   "features":[]}
>> ```
>>
>> Is this a known issue? Seems like a bug, but let me know if there's a 
>> workaround or something I should be doing differently
>>
>> Thanks
>> -Doug
>>
>>


synonym file

2023-02-22 Thread Matthew Castrigno
Hello,

Is there a source for a general english synonym file?
One for medical terms?

Thank you,



 [cid:112c8584-f545-4233-8ab5-2d09ede23c3b]

Matthew Castrigno

IHT Developer II

St. Luke’s Health System

•  208-859-4276
•  castr...@slhs.org

--
"This message is intended for the use of the person or entity to which it is 
addressed and may contain information that is confidential or privileged, the 
disclosure of which is governed by applicable law. If the reader of this 
message is not the intended recipient, you are hereby notified that any 
dissemination, distribution, or copying of this information is strictly 
prohibited. If you have received this message by error, please notify us 
immediately and destroy the related message."


Re: synonym file

2023-02-22 Thread Matthew Castrigno
Yes, I realize a really good synonym list would be very specific to the site.

I was wanting to start with some basic English words or even plurals that are 
spelled differently. I realize these are not really synonyms but the 
synonym.txt file is an expedient way of expanding results.
ie
baby, babies

Our application is for clients; however, clients may put in specific medical 
terms. Those will however generate results as our indexed data tends to have 
specific medical terminology indexed.  Cephalgia would be indexed for a 
document but it may not have headaches.

headaches, cephalgia


 [cid:bc5784b8-2faa-4306-ab7e-12ffb4c43a4f]

Matthew Castrigno

IHT Developer II

St. Luke’s Health System

•  208-859-4276
•  castr...@slhs.org


From: Walter Underwood 
Sent: Wednesday, February 22, 2023 11:44 AM
To: users@solr.apache.org 
Cc: Matthew Castrigno 
Subject: Re: synonym file

 Sets of synonyms are almost always domain-specific. I needed a demo synonym 
file for a product once and ended up with UK/US equivalents, like 
lift/elevator. But even that wasn’t always a good idea. A customer that made 
solid fuel rocket motors
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside the St. Luke's email system.

ZjQcmQRYFpfptBannerEnd
Sets of synonyms are almost always domain-specific. I needed a demo synonym 
file for a product once and ended up with UK/US equivalents, like 
lift/elevator. But even that wasn’t always a good idea. A customer that made 
solid fuel rocket motors was a little confused when they searched for “rocket 
fuel” and it suggested “arugula”.

A medical synonym lexicon could be huge. And even then, is this for medical 
professionals or clients? Will it use contusion or bruise?

wunder
Walter Underwood
https://observer.wunderwood.org/  
[observer.wunderwood.org]

On Feb 22, 2023, at 11:48 AM, Matthew Castrigno  wrote:


Hello,

Is there a source for a general english synonym file?
One for medical terms?

Thank you,



 [cid:112c8584-f545-4233-8ab5-2d09ede23c3b]

Matthew Castrigno

IHT Developer II

St. Luke’s Health System

•  208-859-4276
•  castr...@slhs.org


"This message is intended for the use of the person or entity to which it is 
addressed and may contain information that is confidential or privileged, the 
disclosure of which is governed by applicable law. If the reader of this 
message is not the intended recipient, you are hereby notified that any 
dissemination, distribution, or copying of this information is strictly 
prohibited. If you have received this message by error, please notify us 
immediately and destroy the related message."

--
"This message is intended for the use of the person or entity to which it is 
addressed and may contain information that is confidential or privileged, the 
disclosure of which is governed by applicable law. If the reader of this 
message is not the intended recipient, you are hereby notified that any 
dissemination, distribution, or copying of this information is strictly 
prohibited. If you have received this message by error, please notify us 
immediately and destroy the related message."


Re: synonym file

2023-02-22 Thread Mikhail Khludnev
I suppose tricky plurals are handled well with
https://solr.apache.org/guide/solr/latest/indexing-guide/filters.html#hunspell-stem-filter
Medical terminology it's the whole industry. Perhaps you were lucky to get
something from
https://www.nlm.nih.gov/research/umls/licensedcontent/umlsknowledgesources.html

On Wed, Feb 22, 2023 at 9:57 PM Matthew Castrigno  wrote:

> Yes, I realize a really good synonym list would be very specific to the
> site.
>
> I was wanting to start with some basic English words or even plurals that
> are spelled differently. I realize these are not really synonyms but the
> synonym.txt file is an expedient way of expanding results.
> ie
> baby, babies
>
> Our application is for clients; however, clients may put in specific
> medical terms. Those will however generate results as our indexed data
> tends to have specific medical terminology indexed.  Cephalgia would be
> indexed for a document but it may not have headaches.
>
> headaches, cephalgia
>
>
>
> *Matthew Castrigno*
>
> *IHT Developer II*
>
> *St. Luke’s Health System*
>
> (  208-859-4276
> +  castr...@slhs.org 
> --
> *From:* Walter Underwood 
> *Sent:* Wednesday, February 22, 2023 11:44 AM
> *To:* users@solr.apache.org 
> *Cc:* Matthew Castrigno 
> *Subject:* Re: synonym file
>
>  Sets of synonyms are almost always domain-specific. I needed a demo
> synonym file for a product once and ended up with UK/US equivalents, like
> lift/elevator. But even that wasn’t always a good idea. A customer that
> made solid fuel rocket motors
> ZjQcmQRYFpfptBannerStart
> This Message Is From an External Sender
> This message came from outside the St. Luke's email system.
>
> ZjQcmQRYFpfptBannerEnd
> Sets of synonyms are almost always domain-specific. I needed a demo
> synonym file for a product once and ended up with UK/US equivalents, like
> lift/elevator. But even that wasn’t always a good idea. A customer that
> made solid fuel rocket motors was a little confused when they searched for
> “rocket fuel” and it suggested “arugula”.
>
> A medical synonym lexicon could be huge. And even then, is this for
> medical professionals or clients? Will it use contusion or bruise?
>
> wunder
> Walter Underwood
> https://observer.wunderwood.org/  [observer.wunderwood.org]
> 
>
> On Feb 22, 2023, at 11:48 AM, Matthew Castrigno  wrote:
>
> 
> Hello,
>
> Is there a source for a general english synonym file?
> One for medical terms?
>
> Thank you,
>
>
>
>
> *Matthew Castrigno*
>
> *IHT Developer II*
>
> *St. Luke’s Health System*
>
> (  208-859-4276
> +  castr...@slhs.org 
> --
> "This message is intended for the use of the person or entity to which it
> is addressed and may contain information that is confidential or
> privileged, the disclosure of which is governed by applicable law. If the
> reader of this message is not the intended recipient, you are hereby
> notified that any dissemination, distribution, or copying of this
> information is strictly prohibited. If you have received this message by
> error, please notify us immediately and destroy the related message."
>
> --
> "This message is intended for the use of the person or entity to which it
> is addressed and may contain information that is confidential or
> privileged, the disclosure of which is governed by applicable law. If the
> reader of this message is not the intended recipient, you are hereby
> notified that any dissemination, distribution, or copying of this
> information is strictly prohibited. If you have received this message by
> error, please notify us immediately and destroy the related message."
>


-- 
Sincerely yours
Mikhail Khludnev
https://t.me/MUST_SEARCH
A caveat: Cyrillic!


Re: synonym file

2023-02-22 Thread Thomas Corthals
I let the content team define their own synonyms as they see fit in the
backend and use Managed Resources to push their changes to Solr.

https://solr.apache.org/guide/solr/latest/configuration-guide/managed-resources.html

Thomas

Op wo 22 feb. 2023 om 20:32 schreef Mikhail Khludnev :

> I suppose tricky plurals are handled well with
>
> https://solr.apache.org/guide/solr/latest/indexing-guide/filters.html#hunspell-stem-filter
> Medical terminology it's the whole industry. Perhaps you were lucky to get
> something from
>
> https://www.nlm.nih.gov/research/umls/licensedcontent/umlsknowledgesources.html
>
> On Wed, Feb 22, 2023 at 9:57 PM Matthew Castrigno 
> wrote:
>
> > Yes, I realize a really good synonym list would be very specific to the
> > site.
> >
> > I was wanting to start with some basic English words or even plurals that
> > are spelled differently. I realize these are not really synonyms but the
> > synonym.txt file is an expedient way of expanding results.
> > ie
> > baby, babies
> >
> > Our application is for clients; however, clients may put in specific
> > medical terms. Those will however generate results as our indexed data
> > tends to have specific medical terminology indexed.  Cephalgia would be
> > indexed for a document but it may not have headaches.
> >
> > headaches, cephalgia
> >
> >
> >
> > *Matthew Castrigno*
> >
> > *IHT Developer II*
> >
> > *St. Luke’s Health System*
> >
> > (  208-859-4276
> > +  castr...@slhs.org 
> > --
> > *From:* Walter Underwood 
> > *Sent:* Wednesday, February 22, 2023 11:44 AM
> > *To:* users@solr.apache.org 
> > *Cc:* Matthew Castrigno 
> > *Subject:* Re: synonym file
> >
> >  Sets of synonyms are almost always domain-specific. I needed a demo
> > synonym file for a product once and ended up with UK/US equivalents, like
> > lift/elevator. But even that wasn’t always a good idea. A customer that
> > made solid fuel rocket motors
> > ZjQcmQRYFpfptBannerStart
> > This Message Is From an External Sender
> > This message came from outside the St. Luke's email system.
> >
> > ZjQcmQRYFpfptBannerEnd
> > Sets of synonyms are almost always domain-specific. I needed a demo
> > synonym file for a product once and ended up with UK/US equivalents, like
> > lift/elevator. But even that wasn’t always a good idea. A customer that
> > made solid fuel rocket motors was a little confused when they searched
> for
> > “rocket fuel” and it suggested “arugula”.
> >
> > A medical synonym lexicon could be huge. And even then, is this for
> > medical professionals or clients? Will it use contusion or bruise?
> >
> > wunder
> > Walter Underwood
> > https://observer.wunderwood.org/  [observer.wunderwood.org]
> > <
> https://urldefense.com/v3/__https://observer.wunderwood.org/__;!!FkC3_z_N!KbC5SdNVDwvAFe6w8atDSwHGuRIhFAMwX4FWPu8CvShkyYb-QCDHgdzyJfVA1iLFJXqiA1WUksp-jq0K$
> >
> >
> > On Feb 22, 2023, at 11:48 AM, Matthew Castrigno 
> wrote:
> >
> > 
> > Hello,
> >
> > Is there a source for a general english synonym file?
> > One for medical terms?
> >
> > Thank you,
> >
> >
> >
> >
> > *Matthew Castrigno*
> >
> > *IHT Developer II*
> >
> > *St. Luke’s Health System*
> >
> > (  208-859-4276
> > +  castr...@slhs.org 
> > --
> > "This message is intended for the use of the person or entity to which it
> > is addressed and may contain information that is confidential or
> > privileged, the disclosure of which is governed by applicable law. If the
> > reader of this message is not the intended recipient, you are hereby
> > notified that any dissemination, distribution, or copying of this
> > information is strictly prohibited. If you have received this message by
> > error, please notify us immediately and destroy the related message."
> >
> > --
> > "This message is intended for the use of the person or entity to which it
> > is addressed and may contain information that is confidential or
> > privileged, the disclosure of which is governed by applicable law. If the
> > reader of this message is not the intended recipient, you are hereby
> > notified that any dissemination, distribution, or copying of this
> > information is strictly prohibited. If you have received this message by
> > error, please notify us immediately and destroy the related message."
> >
>
>
> --
> Sincerely yours
> Mikhail Khludnev
> https://t.me/MUST_SEARCH
> A caveat: Cyrillic!
>


About Using Hadoop in SolrCloud

2023-02-22 Thread Zara Parst
Hi,

I read at many places about using Hadoop in solrCloud. I try to find the
reason why to use Hadoop in place of a local file system. Can someone
briefly explain why to use Hadoop with SolrCloud when solr is just using
Hadoop for indexing and storing logs in Hadoop. Is there any compelling
reason to do that?

Is Hadoop having any advantage over the local file system with solr, since
I can achieve cloud mod storing index in the local file system and can
still use shard and replica.  So my question is what advantage Hadoop will
give me, does Hadoop do indexing fast, does Hadoop take less space to store
index, is that distributed file system is better in Hadoop, like sharding,
replication etc. Or does it take backup automatically?

Please do answer this question as much as possible,


Return field aliasing for id field does not work

2023-02-22 Thread Rajani Maski
Hi,

 Solr 9.x, aliasing "id" field in return fields list with a different field
value does not work the same as 7.x.  fl=unique_key:id,id:some_field. This
returns an empty docs array in the response. Any alternative?

Thanks,
rajani