lets say I have a largish set of data (120M docs) and that I am partitioning
my data by groups of states (using the state codes)

Someone suggested that I could use the following format in my solrconfig.xml
when defining the filterqueries work:

    <listener event="newSearcher" class="solr.QuerySenderListener">
      <arr name="queries">
        <lst>
          <str name="q">*:*</str>
          <str name="fq">State:AL</str>
          <str name="fq">State:AK</str>
...
          <str name="fq">State:WY</str>
      </arr>
    </listener>

Would that work, and if so how would I know that the cache is being hit?

Or do I need to use the following traditional syntax instead:

    <listener event="newSearcher" class="solr.QuerySenderListener">
      <arr name="queries">
        <lst>
          <str name="q">*:*</str>
          <str name="fq">State:AL</str>
        </str>
        <lst>
          <str name="q">*:*</str>
          <str name="fq">State:AK</str>
        </str>
...
        <lst>
          <str name="q">*:*</str>
          <str name="fq">State:WY</str>
        </str>
      </arr>
    </listener>

any help appreciated



--
View this message in context: 
http://lucene.472066.n3.nabble.com/is-it-possible-to-consolidate-filterquery-cache-strings-tp4121005.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to