[ 
https://issues.apache.org/jira/browse/SOLR-3569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoss Man updated SOLR-3569:
---------------------------

    Attachment: SOLR-3569.patch

My suggestion addressed the situation of trying to decalre the fieldType as 
multiValued, but did nothing to address fields & dynamic fields that were 
explicitly declared multiValued.

So in the attached patch i introduce a new method into the FieldType api called 
"checkSchemaField" which the SchemaField constructor uses to let the FieldType 
check the instance for errors that violate any invariants about hte field type. 
 the default impl is a NOOP and CurrencyField overrides this.

Would like someone to sanity check that this approach is a good idea (seems 
like it would definitely have other uses moving forward) otherwise i think it's 
feasible solution to the currency multivalued problem and we should get it in 
for 4.0
                
> distributed debug is empty when no match to query
> -------------------------------------------------
>
>                 Key: SOLR-3569
>                 URL: https://issues.apache.org/jira/browse/SOLR-3569
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Hoss Man
>            Priority: Minor
>         Attachments: SOLR-3569.patch, SOLR-3569.patch
>
>
> If a query matches 0 documents, the "debug" information for a distributed 
> query will be empty - ie: no information on timing, or (most importantly for 
> many people) query parsing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to