Hi Marc, It could be because of "." in the field name. Try doing url encoding of "." and it should work.
"But if I put : q=*:*&facet=true&facet.field=lom.classification.ddc.id &facet.field=lom.educational.context " -param On 1/4/12 10:27 AM, "Marc SCHNEIDER" <marc.schneide...@gmail.com> wrote: >Hi, > >I'm quite sure I'm missing something but I'm getting mad with this >problem : > >If I put : q=*:*&facet=true&facet.field=lom.classification.ddc.id >=> I have results for facet fields >If I put : q=*:*&facet=true&facet.field=lom.educational.context >=> I have results for facet fields > >But if I put : q=*:*&facet=true&facet.field=lom.classification.ddc.id >&facet.field=lom.educational.context > >I have only facet results for the first field. I tried to invert them and >got also only results for the first field. It is like the the second field >was ignored. > >Furthermore I tried : >q=*:*&facet=true&facet.field=lom.classification.ddc.id&facet.field=foo >=> it works although the 'foo' field doesn't exist >q=*:*&facet=true&facet.field=lom.classification.ddc.id&facet.field=foo >=> gives me an error telling me the 'foo' field doesn't exist. > >I'm running Solr 3.5 > >Any idea about this weird thing? > >Thanks, >Marc.