lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Schultz <>
Subject Index vs. Query Time Aware Filters
Date Wed, 01 Jun 2011 05:13:08 GMT
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

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

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message