We have very long schema files for each of our language dependent query
shards.  One thing that is doubling the configuration length of our main
text processing field definition is that we have to repeat the exact same
filter chain for query time version EXCEPT with a queryMode=true parameter.

Is there a way for a filter to figure out if it's the index vs. query time
version?

A similar wish would be for the filter to be able to figure out the name of
the field currently being indexed.  This would allow a filter to set a
parameter at runtime based on fieldname, instead of boilerplate copying the
same filterchain definition in schema.xml EXCEPT for one parameter.  The
motivation is again to reduce errors and increase readability of the schema
file.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Index-vs-Query-Time-Aware-Filters-tp3009450p3009450.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to