Article - CS220261
Searching only for XML Tags fails with error "undefined field xml" when using Solr with "Search Mode" preference set to "Advanced" in windchill PDMLink 10.2
Modified: 15-Oct-2015
Applies To
- Windchill PDMLink 10.2 M022 to M030
- Apache Solr
Description
- Searching only for XML Tags fails with undefined field xml when using Solr with Search Mode preference set to Advanced
- For example:
- An xml file has the tag <Team>Customer<Team>
- preference Search Mode is set to Advanced
- searching for keyword xml:Team(Customer) to find all xml files with this tag fails with undefined field xml error
- Unable perform XML searching method server reporting Solr error:
org.apache.solr.core.SolrCore - org.apache.solr.common.SolrException: undefined field xml
at org.apache.solr.schema.IndexSchema.getDynamicFieldType(IndexSchema.java:1330)
at org.apache.solr.schema.IndexSchema$SolrQueryAnalyzer.getAnalyzer(IndexSchema.java:408)
at org.apache.solr.schema.IndexSchema.getDynamicFieldType(IndexSchema.java:1330)
at org.apache.solr.schema.IndexSchema$SolrQueryAnalyzer.getAnalyzer(IndexSchema.java:408)
- Works when Preference set to simple Search
This is a printer-friendly version of Article 220261 and may be out of date. For the latest version click CS220261