[
https://issues.apache.org/jira/browse/SOLR-2894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13627641#comment-13627641
]
Stein J. Gran commented on SOLR-2894:
-------------------------------------
Sviatoslav and Andrew: Thank you, only small changes to the SimpleFacets.java
file was necessary to get the patch in for the 4.2.1 tag.
I have now been testing the patch in a small SolrCloud environment with two
shards (-DnumShards=2), and I have found the following:
1. Distributed pivot facets work great on string fields :-)
2. No values are returned if one of the facet.pivot fields is a date field
For scenario 2:
a) There are no error messages in the Solr log file
b) The URL I use is
http://localhost:8983/solr/coxitocollection/select?facet=true&facet.sort=true&q=*:*&facet.limit=1000&facet.pivot=dateday_datetime,firstreplytime
c) If I add "&distrib=false" to the URL, I get values back
d) The fields used are defined like this in schema.xml:
<field name="dateday_datetime" type="date" indexed="true" stored="true"
multiValued="false" />
<field name="firstreplytime" type="int" stored="true" multiValued="false" />
e) I tried using the tdate field instead of date, but this had no effect
f) The date and tdate fields are defined like this in schema.xml:
<fieldType name="date" class="solr.TrieDateField" precisionStep="0"
positionIncrementGap="0"/>
<fieldType name="tdate" class="solr.TrieDateField" precisionStep="6"
positionIncrementGap="0"/>
g) If I run with -DnumShards=1 this scenario works great, both with and without
"distrib=false"
h) This was tested with 4.2.1 with the patch from March 21st with the following
change: The non-existing variable "mincount" was replaced with
"incomingMinCount" in SimpleFacets.java
> Implement distributed pivot faceting
> ------------------------------------
>
> Key: SOLR-2894
> URL: https://issues.apache.org/jira/browse/SOLR-2894
> Project: Solr
> Issue Type: Improvement
> Reporter: Erik Hatcher
> Fix For: 4.3
>
> Attachments: SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch,
> SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch,
> SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch,
> SOLR-2894-reworked.patch
>
>
> Following up on SOLR-792, pivot faceting currently only supports
> undistributed mode. Distributed pivot faceting needs to be implemented.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]