Re: Count multivalued field issue

2016-01-06 Thread Jack Krupansky
Out of curiosity, where did you get your example code from - so we can assure that it gets corrected? Here's a valid example, from de-dupe: dedupe ... Note it is the request handler for "/update", not the "update handler." See: https://cwiki.apache.org/confluence/display/solr/De-Dup

Re: Count multivalued field issue

2016-01-06 Thread Binoy Dalal
You haven't given any name to your update handler. How are you planning to call it? On Wed, 6 Jan 2016, 19:41 GW wrote: > When dealing with Solr data you need to decide whether or not to go > programming. > > when I want to count a multi-value I go programming. > > > $count = array_count($array)

Re: Count multivalued field issue

2016-01-06 Thread GW
When dealing with Solr data you need to decide whether or not to go programming. when I want to count a multi-value I go programming. $count = array_count($array); On 6 January 2016 at 08:43, marotosg wrote: > Hi, > > I am trying to add a new field to my schema to add the number of items of