lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Solr with example Jetty and score problem
Date Sat, 02 Oct 2010 00:30:43 GMT

: But when I issue the query with shard(two instances), the response XML will
: be like following.
: as you can see, that score has bee tranfer to a element <arr> of <doc>
	...
: <arr name="score">
: <float name="score">1.9808292</float>
: </arr>

The root cause of these seems to be your catchall dynamic field 
declaration...

:    <dynamicField name="*" type="text" indexed="true" stored="true"
:                             multiValued="true" termVectors="true"
: termPositions="true"
:                             termOffsets="true" omitNorms="false"/>

...that line (specificly the fact that it's multiValued="true") seems to 
be confusing the results aggregation code.  my guess is that it's 
looping over all the fields, and looking them up in the schema to see if 
they are single/multi valued but not recognizing that "score" is 
special.

https://issues.apache.org/jira/browse/SOLR-2140


-Hoss

--
http://lucenerevolution.org/  ...  October 7-8, Boston
http://bit.ly/stump-hoss      ...  Stump The Chump!


Mime
View raw message