Re: backup strategy

2019-10-04 Thread Koen De Groote
Shawn, Indeed, we're probably already in catastrophe territory in this case. A complete replace does indeed seem like the best option in that case. Client is just the default solr client, ` org.apache.solr:solr-solrj:` Mikhail, Sounds possible, but I wonder about the cases where I would need a

Re: backup strategy

2019-10-04 Thread Mikhail Khludnev
Hello, Koen. What about switching "query" alias to restored collection, and then nuking the old one? On Fri, Oct 4, 2019 at 10:52 PM Koen De Groote wrote: > Greetings. > > Solr 7.6, cloud. > > From what I've researched, backup and restore is pretty straightforward. > BACKUP and RESTORE are

Re: backup strategy

2019-10-04 Thread Shawn Heisey
On 10/4/2019 1:41 PM, Koen De Groote wrote: From what I've researched, backup and restore is pretty straightforward. BACKUP and RESTORE are collection commands and the backup is to be put on a shared filesystem. So far so good. I'm a bit concerned about the RESTORE action. A RESTORE command

Re: json.facet throws ClassCastException

2019-10-04 Thread Mikhail Khludnev
Gosh, obviously. see the clue https://github.com/apache/lucene-solr/blob/7d3dcd220f92f25a997cf1559a91b6d9e1b57c6d/solr/core/src/java/org/apache/solr/search/facet/FacetModule.java#L78 On Fri, Oct 4, 2019 at 10:47 PM Webster Homer < webster.ho...@milliporesigma.com> wrote: > Sometimes it comes

Re: Updating Solr schema doesn't work

2019-10-04 Thread Shawn Heisey
On 10/4/2019 2:45 PM, Shawn Heisey wrote: It's probably not the way I would do it.  I would update a local copy of the config and then re-upload the entire config rather than dealing with a single file. You will also need to reload the collection or restart Solr, and then as already

Re: Updating Solr schema doesn't work

2019-10-04 Thread Shawn Heisey
On 10/4/2019 10:22 AM, amruth wrote: *- /opt/zookeeper/bin/zkCli.sh delete /configs/collection1/managed-schema - /opt/zookeeper/bin/zkCli.sh create /configs/collection1/managed-schema "`cat /var/solr/data/collection1/conf/managed-schema`"* I could see fields on managed-schema on Solr UI and

backup strategy

2019-10-04 Thread Koen De Groote
Greetings. Solr 7.6, cloud. >From what I've researched, backup and restore is pretty straightforward. BACKUP and RESTORE are collection commands and the backup is to be put on a shared filesystem. So far so good. I'm a bit concerned about the RESTORE action. A RESTORE command will create a new

RE: json.facet throws ClassCastException

2019-10-04 Thread Webster Homer
Sometimes it comes back in the reply "java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map\n\tat org.apache.solr.search.facet.FacetModule.prepare(FacetModule.java:78)\n\tat org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:269)\n\tat

Re: json.facet throws ClassCastException

2019-10-04 Thread Mikhail Khludnev
Hello, Webster. Have you managed to capture stacktrace? On Fri, Oct 4, 2019 at 8:24 PM Webster Homer < webster.ho...@milliporesigma.com> wrote: > I'm trying to understand what is wrong with my query or collection. > > I have a functioning solr schema and collection. I'm running Solr 7.2 > >

json.facet throws ClassCastException

2019-10-04 Thread Webster Homer
I'm trying to understand what is wrong with my query or collection. I have a functioning solr schema and collection. I'm running Solr 7.2 When I run with a facet.field it works, but if I change it to use a json.facet it throws a class cast exception.

Updating Solr schema doesn't work

2019-10-04 Thread amruth
Hello, I am running SolrCloud 6.6.0 and trying to add new fields to Solr Schema. I have added fields to /var/solr/data/collection1/conf/managed-schema and executed, *- /opt/zookeeper/bin/zkCli.sh delete /configs/collection1/managed-schema - /opt/zookeeper/bin/zkCli.sh create

Re: Solr Text Tagger | All tags in desc order

2019-10-04 Thread Simon Rosenthal
Hi Vipul: I'm not sure what you mean by 'score' in this context, as tagging requests do not return a standard Solr/Lucene score. If you're looking for the number of times a specific tag occurs in the tagged text, then you'll need to calculate that in your application from the returned JSON. HTH

Solr Text Tagger | All tags in desc order

2019-10-04 Thread Vipul Sharma
Hi All, After putting all the master data in Solr Text Tagger, I want to parse resume text to fetch the top five skills based on there score is there any way to fetch the result in descending order?

Re: Solrcloud export all results sorted by score

2019-10-04 Thread Edward Turner
Hi Chris, Good info, thank you for that! > What's your UI & middle layer like for this application and > eventual "download" ? I'm working in a team on the back-end side of things, where we providing a REST API that can be used by clients, which include our UI, which is a React JS based app