Re: Managed Schema multiValued Predict Problem

2017-04-26 Thread Rick Leir
Lova, When a search term is "foo*" or similar, you have a multivalue search. In schema.xml you have for a typical field, an index analysis chain and a query analysis chain. In the multivalue case, neither of these chains is followed. There is a wiki page which explains what chain gets followed,

Re: Managed Schema multiValued Predict Problem

2017-04-26 Thread Lova
Hello, I have this error org.apache.solr.common.SolrException: can not use FieldCache on multivalued field: post_title I can need specific field as multivalue, it's a bug in my app what I change in solrconfig.xml please? Thanks -- View this message in context: http://lucene.472066.n3.nabble.

Re: Managed Schema multiValued Predict Problem

2017-03-13 Thread Furkan KAMACI
You are right, I mean schemaless mode. I saw that it's your answer ;) I've edited solrconfig.xml and fixed it. Thanks! On Mon, Mar 13, 2017 at 5:46 PM, Alexandre Rafalovitch wrote: > There is managed schema, which means it is editable via API, and there > is 'schemaless' mode that uses that to a

Re: Managed Schema multiValued Predict Problem

2017-03-13 Thread Alexandre Rafalovitch
There is managed schema, which means it is editable via API, and there is 'schemaless' mode that uses that to auto-define the field based on the first occurance. 'schemaless' mode does not know if the field will be multi-valued the first time it sees content for that field. So, all the fields crea

Re: Managed Schema multiValued Predict Problem

2017-03-13 Thread Furkan KAMACI
OK, I found the answer here: http://stackoverflow.com/questions/38730035/solr-schemaless-mode-creating-fields-as-multivalued On Mon, Mar 13, 2017 at 5:15 PM, Furkan KAMACI wrote: > Hi, > > I generate dummy documents to test Solr 6.4.2. I create a field like that > at my test code: > >