Let’s say I have

<!-- something we ignore, just for use in copyfields --><dynamicField
name="*_st" type="ignored" stored="false" indexed="false"
multiValued="true"/>
<!-- simple text
​ (only indexed) ​
and string
​ ​(only stored)
fields --><dynamicField name="*_t" type="text" stored="false"
indexed="true" multiValued="true"/><dynamicField name="*"
type="string" stored="true" indexed="false" multiValued="true"/>
<!-- copyfields
​ ​
to turn *_st fields into what I actually want --><copyField
source="*_st" dest="*_t"/><copyField source="*_st" dest="*"/>

[I
​started thinking this sort of thing
 through a while back
<http://robotlibrarian.billdueber.com/2014/10/schemaless-solr-with-dynamicfield-and-copyfield/>
]

If I index a field named lastname_st, I end up with:

   - field lastname_t of type text
   - field lastname of type string

*​​*
*Is there any way for me to query solr to find out what​ fields and
fieldtypes​ it’s going to ​produce, in the way the analysis handlers can
show me transformations and so on?*

—
Bill Dueber
Library Systems Programmer
University of Michigan Library
​

Reply via email to