On 8/1/2011 6:17 AM, Chantal Ackermann wrote:
If you are looking for a config-only solution - i'm not sure that there
is one. Someone else might be able to comment on that?
You might want to take a look at SOLR-2597; it has a patch for
XmlStripCharFilter, which will strip tags from XML for indexing (like
HtmlStripCharFilter), and also allows you to specify XML element names
to include/exclude. Not full XPath, but might work for you? You would
have to compile the 2 java files and place them in your solr classpath
since the patch has not been committed.
-Mike