You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Bernd Fehling <be...@uni-bielefeld.de> on 2011/05/03 16:03:34 UTC
facet search and UnInverted multi-valued field?
Dear list,
we use solr 3.1.0.
my logs have the following entry:
May 3, 2011 2:01:39 PM org.apache.solr.request.UnInvertedField uninvert
INFO: UnInverted multi-valued field
{field=f_dcperson,memSize=1966237,tindexSize=35730,time=849,phase1=782,nTerms=122222,bigTerms=0,termInstances=368008,uses=0}
The schema.xml has the field:
<field name="f_dcperson" type="string" indexed="true" stored="true" multiValued="true" />
The query was:
May 3, 2011 2:01:40 PM org.apache.solr.core.SolrCore execute
INFO: [] webapp=null path=null
params={facet=true&fl=score&facet.mincount=1&facet.sort=&start=0&event=firstSearcher&q=text:antigone^200&facet.prefix=&facet.limit=100&facet.field=f_dcperson&facet.field=f_dcsubject&facet.field=f_dcyear&facet.field=f_dccollection&facet.field=f_dctypenorm&facet.field=f_dccontenttype&rows=10}
hits=1 status=0 QTime=1816
At first the log entry is an info, but what does it tell me?
Am I doing something wrong or can something be done better?
Regards,
Bernd
Re: facet search and UnInverted multi-valued field?
Posted by Jay Hill <ja...@gmail.com>.
UnInvertedField is similar to Lucene's FieldCache, except, while the
FieldCache cannot work with multivalued fields, UnInvertedField is designed
for that very purpose. So since your f_dcperson field is multivalued, by
default you use UnInvertedField. You're not doing anything wrong, that's
default and normal behavior.
-Jay
http://lucidimagination.com
On Tue, May 3, 2011 at 7:03 AM, Bernd Fehling <
bernd.fehling@uni-bielefeld.de> wrote:
> Dear list,
>
> we use solr 3.1.0.
>
> my logs have the following entry:
> May 3, 2011 2:01:39 PM org.apache.solr.request.UnInvertedField uninvert
> INFO: UnInverted multi-valued field
>
> {field=f_dcperson,memSize=1966237,tindexSize=35730,time=849,phase1=782,nTerms=122222,bigTerms=0,termInstances=368008,uses=0}
>
> The schema.xml has the field:
> <field name="f_dcperson" type="string" indexed="true" stored="true"
> multiValued="true" />
>
> The query was:
> May 3, 2011 2:01:40 PM org.apache.solr.core.SolrCore execute
> INFO: [] webapp=null path=null
> params={facet=true&fl=score&facet.mincount=1&facet.sort=&start=0&event=firstSearcher&q=text:antigone^200&facet.prefix=&facet.limit=100&facet.field=f_dcperson&facet.field=f_dcsubject&facet.field=f_dcyear&facet.field=f_dccollection&facet.field=f_dctypenorm&facet.field=f_dccontenttype&rows=10}
> hits=1 status=0 QTime=1816
>
> At first the log entry is an info, but what does it tell me?
>
> Am I doing something wrong or can something be done better?
>
> Regards,
> Bernd
>