lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Muldowney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2894) Implement distributed pivot faceting
Date Thu, 12 Jun 2014 18:11:06 GMT

    [ https://issues.apache.org/jira/browse/SOLR-2894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14029531#comment-14029531
] 

Andrew Muldowney commented on SOLR-2894:
----------------------------------------

bq. Can you elaborate on what kind of weirdness/hacky functionality you are talking about?

In the PivotFacetProcessor (shards) we .toObject each value. This is weird in the non-distributed
mode because nothing clears up those into strings for the response -XML or JSON. This is a
problem with dates, because "2012-11-01T12:30:00Z" becomes "Nov 1 4:30 EST 2012". I don't
know what methods get run after process in the non-distrib mode that we could hook into to
change these values back into what they should be.

In distributed this can be trouble because when trying to assign a refinement path we must
get the .toexternal value of the datefield so that it can be properly looked up in the index.
Elran has a fix for this, which works fine but we'll need to extend this to the PivotFacetValue's
ConvertToNamedList for the output reponse to look right and we end up having conditionals
for dates in a bunch of places.

Most other datatypes are fine, but date is the worst of this set.

> 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.9, 5.0
>
>         Attachments: SOLR-2894-mincount-minification.patch, 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,
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_cloud_test.patch, dateToObject.patch,
pivot_mincount_problem.sh
>
>
> 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


Mime
View raw message