Mystery solved.  I added 'features' to the schema, next error was name, then manu, sku, and cat.  These are defined in solrconfig.xml under browse:

<str name="qf">text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 title^10.0 description^5.0 keywords^5.0 author^2.0 resourcename^1.0 </str> <str name="mlt.qf">text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 title^10.0 description^5.0 keywords^5.0 author^2.0 resourcename^1.0 </str><str name="mlt.fl">text,features,name,sku,id,manu,cat,title,description,keywords,author,resourcename</str>

and under the clustering request handler:
<str name="qf">text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 </str> What's odd is that this doesn't cause an issue with 7.x, but does with 8.2.  Removed the fields that my schema doesn't have and clustering works on the fields I have defined for carrot2.

-Joe

On 8/29/2019 10:39 AM, Jörn Franke wrote:
Maybe there are more details in the logfiles?

It could be also that a parameter is configured with a different default? Try 
also to change the Solr version in solrconfig.xml to a higher one, e.g. 8.0.0

Am 29.08.2019 um 16:12 schrieb Joe Obernberger <joseph.obernber...@gmail.com>:

Thank you Erick.  I'm upgrading from 7.6.0 and as far as I can tell the schema 
and configuration (solrconfig.xml) isn't different (apart from the version).  
Right now, I'm at a loss.  I still have the 7.6.0 cluster running and the query 
works OK there.

Sure seems like I'm missing a field called 'features', but it's not defined in 
the prior schema either.  Thanks again!

-Joe

On 8/28/2019 6:19 PM, Erick Erickson wrote:
What it says ;)

My guess is that your configuration mentions the field “features” in, perhaps 
carrot.snippet or carrot.title.

But it’s a guess.

Best,
Erick

On Aug 28, 2019, at 5:18 PM, Joe Obernberger <joseph.obernber...@gmail.com> 
wrote:

Hi All - trying to use clustering with SolrCloud 8.2, but getting this error:

"msg":"Error from server at null: org.apache.solr.search.SyntaxError: Query Field 
'features' is not a valid field name",

The URL, I'm using is:
http://solrServer:9100/solr/DOCS/select?q=*%3A*&qt=/clustering&clustering=true&clustering.collection=true
  
<http://cronus:9100/solr/UNCLASS_2018_5_19_184/select?q=*%3A*&qt=/clustering&clustering=true&clustering.collection=true>

Thanks for any ideas!

Complete response:
{
  "responseHeader":{
    "zkConnected":true,
    "status":400,
    "QTime":38,
    "params":{
      "q":"*:*",
      "qt":"/clustering",
      "clustering":"true",
      "clustering.collection":"true"}},
  "error":{
    "metadata":[
      "error-class","org.apache.solr.common.SolrException",
      "root-error-class","org.apache.solr.common.SolrException",
      
"error-class","org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException",
      
"root-error-class","org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException"],
    "msg":"Error from server at null: org.apache.solr.search.SyntaxError: Query 
Field 'features' is not a valid field name",
    "code":400}}


-Joe

---
This email has been checked for viruses by AVG.
https://www.avg.com

Reply via email to