Hoss,

I was able to successfully apply the path Solr-343 and even after applying
the patch, date facet minCount does not work. Appropriate part of response
are as given below:


 ["responseHeader"] => object(SolrObject)#107 (3) {
    ["status"] => int(0)
    ["QTime"] => int(4)
    ["params"] => object(SolrObject)#108 (18) {
      ["facet.date.start"] => string(17) "NOW/YEAR-200YEARS"
      ["facet"] => string(4) "true"
      ["indent"] => string(2) "on"
      ["facet.date"] => string(11) "r_take_date"
      ["wt"] => string(3) "xml"
      ["f.Instrument.facet.mincount"] => string(1) "1"
      ["version"] => string(3) "2.2"
      ["rows"] => string(2) "20"
      ["f.r_take_date.facet.mincount"] => string(1) "1"
      ["f.Target_Audience.facet.mincount"] => string(1) "1"
      ["start"] => string(1) "0"
      ["q"] => string(3) "*:*"
      ["f.Language.facet.mincount"] => string(1) "1"
      ["f.Location.facet.mincount"] => string(1) "1"
      ["facet.field"] => array(5) {
        [0] => string(4) "Type"
        [1] => string(10) "Instrument"
        [2] => string(8) "Language" ["responseHeader"] =>
object(SolrObject)#107 (3) {
    ["status"] => int(0)
    ["QTime"] => int(4)
    ["params"] => object(SolrObject)#108 (18) {
      ["facet.date.start"] => string(17) "NOW/YEAR-200YEARS"
      ["facet"] => string(4) "true"
      ["indent"] => string(2) "on"
      ["facet.date"] => string(11) "r_take_date"
      ["wt"] => string(3) "xml"
      ["f.Instrument.facet.mincount"] => string(1) "1"
      ["version"] => string(3) "2.2"
      ["rows"] => string(2) "20"
      ["f.r_take_date.facet.mincount"] => string(1) "1"
      ["f.Target_Audience.facet.mincount"] => string(1) "1"
      ["start"] => string(1) "0"
      ["q"] => string(3) "*:*"
      ["f.Language.facet.mincount"] => string(1) "1"
      ["f.Location.facet.mincount"] => string(1) "1"
      ["facet.field"] => array(5) {
        [0] => string(4) "Type"
        [1] => string(10) "Instrument"
        [2] => string(8) "Language"
        [3] => string(8) "Location"
        [4] => string(15) "Target_Audience"
      }
      ["facet.date.gap"] => string(6) "+8YEAR"
      ["f.Type.facet.mincount"] => string(1) "1"
      ["facet.date.end"] => string(8) "NOW/YEAR"
    }

        [3] => string(8) "Location"
        [4] => string(15) "Target_Audience"
      }
      ["facet.date.gap"] => string(6) "+8YEAR"
      ["f.Type.facet.mincount"] => string(1) "1"
      ["facet.date.end"] => string(8) "NOW/YEAR"
    }

----Facet info-----

 ["facet_counts"] => object(SolrObject)#130 (3) {
    ["facet_queries"] => object(SolrObject)#131 (0) {
    }
    ["facet_fields"] => object(SolrObject)#132 (5) {
      ["Type"] => object(SolrObject)#133 (26) {
        ["Instrumental"] => int(1673)
        ["Vocal"] => int(977)
        ["Spoken"] => int(38)
        ["tenor vocal"] => int(6)
        ["baritone vocal"] => int(4)
        ["cornet"] => int(4)
        ["soprano vocal"] => int(3)
        ["bass vocal"] => int(2)
        ["flute"] => int(2)
        ["whistling"] => int(2)
        ["bagpipes"] => int(1)
        ["barrel piano"] => int(1)
        ["bass trombone"] => int(1)
        ["chimes"] => int(1)
        ["clarinet"] => int(1)
        ["contralto"] => int(1)
        ["euphonium"] => int(1)
        ["mandolin"] => int(1)
        ["piano"] => int(1)
        ["piccolo"] => int(1)
        ["saxophone"] => int(1)
        ["trombone"] => int(1)
        ["trumpet"] => int(1)
        ["violin"] => int(1)
        ["violoncello"] => int(1)
        ["xylophone"] => int(1)
      }
      ["Instrument"] => object(SolrObject)#134 (13) {
        [" baritone horn"] => int(54)
        [" bassoon"] => int(54)
        [" cornets"] => int(54)
        [" piccolo"] => int(54)
        [" tubas"] => int(54)
        ["clarinets"] => int(54)
        [" traps "] => int(39)
        [" trombones"] => int(39)
        [" French horns"] => int(33)
        [" horns"] => int(21)
        [" oboe"] => int(18)
        [" traps"] => int(15)
        [" trombones "] => int(15)
      }
      ["Language"] => object(SolrObject)#135 (4) {
        ["Italian"] => int(43)
        ["French"] => int(13)
        ["Polish"] => int(8)
        ["Spanish"] => int(8)
      }
      ["Location"] => object(SolrObject)#136 (6) {
        ["Camden, New Jersey [unconfirmed]"] => int(1555)
        ["Philadelphia, Pennsylvania [unconfirmed]"] => int(979)
        ["Camden, New Jersey"] => int(101)
        ["New York, New York"] => int(29)
        ["Camden, New Jersey. Church Bldg."] => int(19)
        ["Philadelphia, Pennsylvania"] => int(1)
      }
      ["Target_Audience"] => object(SolrObject)#137 (5) {
        ["Scottish"] => int(3)
        ["Jewish"] => int(2)
        ["Bohemian (Czech)"] => int(1)
        ["Polish"] => int(1)
        ["Swedish"] => int(1)
      }
    }
    ["facet_dates"] => object(SolrObject)#138 (1) {
      ["r_take_date"] => object(SolrObject)#139 (27) {
        ["1810-01-01T00:00:00Z"] => int(0)
        ["1818-01-01T00:00:00Z"] => int(0)
        ["1826-01-01T00:00:00Z"] => int(0)
        ["1834-01-01T00:00:00Z"] => int(0)
        ["1842-01-01T00:00:00Z"] => int(0)
        ["1850-01-01T00:00:00Z"] => int(0)
        ["1858-01-01T00:00:00Z"] => int(0)
        ["1866-01-01T00:00:00Z"] => int(0)
        ["1874-01-01T00:00:00Z"] => int(0)
        ["1882-01-01T00:00:00Z"] => int(0)
        ["1890-01-01T00:00:00Z"] => int(0)
        ["1898-01-01T00:00:00Z"] => int(0)
        ["1906-01-01T00:00:00Z"] => int(0)
        ["1914-01-01T00:00:00Z"] => int(0)
        ["1922-01-01T00:00:00Z"] => int(0)
        ["1930-01-01T00:00:00Z"] => int(0)
        ["1938-01-01T00:00:00Z"] => int(0)
        ["1946-01-01T00:00:00Z"] => int(0)
        ["1954-01-01T00:00:00Z"] => int(0)
        ["1962-01-01T00:00:00Z"] => int(0)
        ["1970-01-01T00:00:00Z"] => int(0)
        ["1978-01-01T00:00:00Z"] => int(0)
        ["1986-01-01T00:00:00Z"] => int(0)
        ["1994-01-01T00:00:00Z"] => int(1611)
        ["2002-01-01T00:00:00Z"] => int(986)
        ["gap"] => string(6) "+8YEAR"
        ["end"] => string(20) "2010-01-01T00:00:00Z"
      }
    }
  }
}


Thanks,
Umesh

-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Re-SOLR-343-date-facet-mincount-patch-tp789556p842853.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to