On 4/29/2014 8:27 AM, Flavio Pompermaier wrote:
> In which sense fields and types are now deprecated in schema.xml? Where can
> I found any pointer about this?

https://issues.apache.org/jira/browse/SOLR-5936

Here is the patch for 4.8:

https://issues.apache.org/jira/secure/attachment/12637716/SOLR-5936.branch_4x.patch

This is the full list of fieldType classes that have been deprecated by
this issue:

BCDIntField
BCDLongField
BCDStrField
DateField
DoubleField
FloatField
IntField
LongField
SortableDoubleField
SortableFloatField
SortableIntField
SortableLongField

In schema.xml, these would show up preceded by "solr." and would be in
the class attribute of a fieldType.

None of these types are used in the *main* example for 4.x versions. 
They do show up in some of the other examples in earlier releases. 
Those examples have been reworked to use the newer field types.

Here's the javadoc for one of the types listed above, which shows the
deprecation notice:

http://lucene.apache.org/solr/4_8_0/solr-core/org/apache/solr/schema/LongField.html

Thanks,
Shawn

Reply via email to