: I'm also using that field for a facet:

Hmmm... that still doesn't make sense.  faceting can use FieldCache, but 
it will check if ht field is mutivalued to decide if/when/how to do this.

There's nothing else in your requestHandler config that would suggest why 
you might get this error.

can you please provide more details about the error you are getting -- in 
particular: the completley stack trace from the server logs.  that should 
help us itendify the code path leading to the problem.


: 
: |<requestHandler  name="mytype"  class="solr.SearchHandler"  >
:     <lst  name="defaults">
:      <str  name="defType">dismax</str>
:      <str  name="echoParams">explicit</str>
:      <float  name="tie">1</float>
:      <str  name="qf">
:            many field but not store_slug
:      </str>
:      <str  name="pf">
:            |many field but not store_slug|||
:      </str>       <str  name="fl">
:         ..., store_slug
:      </str>
:           <str  name="mm"><![CDATA[1<100% 5<80%]]></str>
:      <int  name="qs">2</int>
:      <int  name="ps">2</int>
:      <str  name="q.alt">*:*</str>
:     <str  name="spellcheck.dictionary">default</str>
:       <str  name="spellcheck">true</str>
:       <str  name="spellcheck.extendedResults">true</str>
:       <str  name="spellcheck.count">10</str>
:       <str  name="spellcheck.collate">true</str>      <!-- Facet -->
:     <str  name="facet">true</str>
:     <str  name="facet.mincount">1</str>
:     <str  name="facet.pivot.mincount">0</str>
:     <str  name="facet.sort">count</str>
: ...
:     <str  name="facet.field">store_slug</str>
: ...
:     <str  name="hl">false</str>
:     </lst>
:     <arr  name="last-components">
:       <str>spellcheck</str>
:     </arr>
: 
:   </requestHandler>|
: 
: 
: Il 01/10/12 18:34, Erik Hatcher ha scritto:
: > How is your request handler defined?  Using store_slug for anything but fl?
: > 
: >     Erik
: > 
: > On Oct 1, 2012, at 10:51,"giovanni.bricc...@banzai.it"
: > <giovanni.bricc...@banzai.it>  wrote:
: > 
: > > Hello,
: > > 
: > > I would like to put a multivalued field into a qt definition as output
: > > field. to do this I edit the current solrconfig.xml definition and add the
: > > field in the fl specification.
: > > 
: > > Unexpectedly when I do the query q=*:*&qt=mytype I get the error
: > > 
: > > <str name="msg">
: > > can not use FieldCache on multivalued field: store_slug
: > > </str>
: > > 
: > > But if I instead run the query
: > > 
: > > 
http://src-eprice-dev:8080/solr/0/select/?q=*:*&qt=mytype&fl=otherfield,mymultivaluedfiled
: > > 
: > > I don't get the error
: > > 
: > > Have you got any suggestions?
: > > 
: > > I'm using solr 4 beta
: > > 
: > > solr-spec 4.0.0.2012.08.06.22.50.47
: > > lucene-impl 4.0.0-BETA 1370099
: > > 
: > > 
: > > Giovanni
: 
: 
: -- 
: 
: 
:      Giovanni Bricconi
: 
: Banzai Consulting
: cell. 348 7283865
: ufficio 02 00643839
: via Gian Battista Vico 42
: 20132 Milano (MI)
: 
: 
: 
: 

-Hoss

Reply via email to