You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "AJ Lemke (JIRA)" <ji...@apache.org> on 2014/03/24 17:57:02 UTC
[jira] [Comment Edited] (SOLR-2894) Implement distributed pivot
faceting
[ https://issues.apache.org/jira/browse/SOLR-2894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13945336#comment-13945336 ]
AJ Lemke edited comment on SOLR-2894 at 3/24/14 4:54 PM:
---------------------------------------------------------
Brett,
When looking at the the output of the pivot, the data type has changed from a struct to an array.
Is this the expected behavior or is the data type for each of the pivot facets to remain as a struct and I am experiencing a bug?
Examples:
4.7 pre patch:
{
field: "cat",
value: "electronics",
count: 12,
pivot: [
{field: "popularity",value: 7,count: 4},
{field: "popularity",value: 6,count: 3},
{field: "popularity",value: 1,count: 2},
{field: "popularity",value: 0,count: 1},
{field: "popularity",value: 5,count: 1},
{field: "popularity",value: 10,count: 1}
]
},
Post Patch:
[
"field",
"cat",
"value",
"electronics",
"count",
12,
"pivot",
[
["field","popularity","value",7,"count",4],
["field","popularity","value",6,"count",3],
["field","popularity","value",1,"count",2],
["field","popularity","value",0,"count",1],
["field","popularity","value",5,"count",1],
["field","popularity","value",10,"count",1]
]
],
Edit: formatting.
was (Author: ajlemke):
Brett,
When looking at the the output of the pivot, the data type has changed from a struct to an array.
Is this the expected behavior or is the data type for each of the pivot facets to remain as a struct and I am experiencing a bug?
Examples:
4.7 pre patch:
{
field: "cat",
value: "electronics",
count: 12,
pivot: [
{
field: "popularity",
value: 7,
count: 4
},
{
field: "popularity",
value: 6,
count: 3
},
{
field: "popularity",
value: 1,
count: 2
},
{
field: "popularity",
value: 0,
count: 1
},
{
field: "popularity",
value: 5,
count: 1
},
{
field: "popularity",
value: 10,
count: 1
}
]
},
Post Patch:
[
"field",
"cat",
"value",
"electronics",
"count",
12,
"pivot",
[
[
"field",
"popularity",
"value",
7,
"count",
4
],
[
"field",
"popularity",
"value",
6,
"count",
3
],
[
"field",
"popularity",
"value",
1,
"count",
2
],
[
"field",
"popularity",
"value",
0,
"count",
1
],
[
"field",
"popularity",
"value",
5,
"count",
1
],
[
"field",
"popularity",
"value",
10,
"count",
1
]
]
],
> 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.8
>
> Attachments: SOLR-2894-reworked.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.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, dateToObject.patch
>
>
> Following up on SOLR-792, pivot faceting currently only supports undistributed mode. Distributed pivot faceting needs to be implemented.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org