How can i load this custom properties with solrJ?

 

Von: Erick Erickson [via Lucene]
[mailto:ml-node+s472066n4070068...@n3.nabble.com] 
Gesendet: Donnerstag, 13. Juni 2013 00:53
An: uwe72
Betreff: Re: SOLR-4641: Schema now throws exception on illegal field
parameters.

 

But see Steve Rowe's comments at 
https://issues.apache.org/jira/browse/SOLR-4641 and use custom child 
properties as: 

<field indexed="true" multiValued="true" name="f1" stored="true"
type="string"> 
  <MYPARAM>VALUE</MYPARAM>  <!-- Maven property style --> 
  <custom MYPARAM="VALUE"/> <!-- Alternative syntax; element name 
could be anything you want  --> 
  ... 
</field> 

Best 
Erick 

On Wed, Jun 12, 2013 at 6:49 PM, Erick Erickson <[hidden email]> wrote: 


> bbarani: 
> 
> Where did you see this? I haven't seen it before and I get an error on 
> startup if I add validate="false" to a <field> definition.... 
> 
> Thanks, 
> Erick 
> 
> On Tue, Jun 11, 2013 at 12:33 PM, bbarani <[hidden email]> wrote: 
>> I think if you use validate=false in schema.xml, field or dynamicField
level, 
>> Solr will not disable validation. 
>> 
>> I think this only works in solr 4.3 and above.. 
>> 
>> 
>> 
>> -- 
>> View this message in context:
http://lucene.472066.n3.nabble.com/SOLR-4641-Schema-now-throws-exception-o
n-illegal-field-parameters-tp4069622p4069688.html
>> Sent from the Solr - User mailing list archive at Nabble.com. 

 

  _____  

If you reply to this email, your message will be added to the discussion
below:

http://lucene.472066.n3.nabble.com/SOLR-4641-Schema-now-throws-exception-o
n-illegal-field-parameters-tp4069622p4070068.html 

To unsubscribe from SOLR-4641: Schema now throws exception on illegal
field parameters., click here
<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubsc
ribe_by_code&node=4069622&code=dXdlLmNsZW1lbnRAZXh4Y2VsbGVudC5kZXw0MDY5NjI
yfC0yOTkxOTMwMjI=> .
 
<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_v
iewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.Ba
sicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.temp
late.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-in
stant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.nam
l> NAML 





--
View this message in context: 
http://lucene.472066.n3.nabble.com/SOLR-4641-Schema-now-throws-exception-on-illegal-field-parameters-tp4069622p4070160.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to