You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Antelmo Aguilar (JIRA)" <ji...@apache.org> on 2018/03/19 21:27:00 UTC

[jira] [Comment Edited] (SOLR-12020) terms faceting on date field fails in distributed refinement

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

Antelmo Aguilar edited comment on SOLR-12020 at 3/19/18 9:26 PM:
-----------------------------------------------------------------

Hi, I am the person that reported this issue and I tried the fix [~yseeley@gmail.com] pushed and I still get the same error.  I spoke with him through e-mail and he recommended me providing more details in this ticket. 

So I am attaching the configuration files for the core that we use where the query is failing, a file of the data we index, and a screenshot of the output I get when running a query.

Once you get the core and the data indexed, using the following error should hopefully give the same error I attached:
{noformat}
https://localhost:<solr_port>/solr/vb_popbio/abndGraphdata?q=*:*&term=species_category&fq=geo_coords:[35.1021,-115.998%20TO%2036.9982,-114.046]
{noformat}
Hopefully this helps with the debugging. I also wanted to say that this query works on Solr 6.1 (not Solr 6.2 like I had initially reported).  Thanks for looking into this.


was (Author: aguilara):
Hi, I am the person that reported this issue and I tried the fix [~yseeley@gmail.com] pushed and I still get the same error.  I spoke with him through e-mail and he recommended me providing more details in this ticket.  

So I am attaching the configuration files for the core that we use where the query is failing, a file of the data we index, and a screenshot of the output I get when running a query.

Once you get the core and the data indexed, using the following error should hopefully give the same error I attached:

https://localhost:<solr_port>/solr/vb_popbio/abndGraphdata?q=*:*&term=species_category&fq=geo_coords:[35.1021,-115.998%20TO%2036.9982,-114.046]

> terms faceting on date field fails in distributed refinement
> ------------------------------------------------------------
>
>                 Key: SOLR-12020
>                 URL: https://issues.apache.org/jira/browse/SOLR-12020
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Facet Module
>    Affects Versions: 6.6
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>            Priority: Major
>             Fix For: 7.3
>
>         Attachments: SOLR-12020.patch, SOLR-12020.patch, Solr Error.png, popbio-solr-VB-2018-02-main-05.json.gz, vb_popbio_conf.tar.gz
>
>
> This appears to be a regression, as the reporter indicates that Solr 6.2 worked and Solr 6.6 does not. 
> http://markmail.org/message/hwlajuy5jnmf4yd6
> I've reproduced the issue on the master branch (future v8) as well.
> A typical exception that results from a terms facet on a date field is:
> {code}
> org.apache.solr.common.SolrException: Invalid Date String:'Sat Feb 03 01:02:03 WET 2001'
> 	at org.apache.solr.util.DateMathParser.parseMath(DateMathParser.java:247)
> 	at org.apache.solr.util.DateMathParser.parseMath(DateMathParser.java:226)
> 	at org.apache.solr.schema.DatePointField.toNativeType(DatePointField.java:113)
> 	at org.apache.solr.search.facet.FacetFieldProcessor.refineBucket(FacetFieldProcessor.java:683)
> 	at org.apache.solr.search.facet.FacetFieldProcessor.refineFacets(FacetFieldProcessor.java:638)
> 	at org.apache.solr.search.facet.FacetFieldProcessorByArray.calcFacets(FacetFieldProcessorByArray.java:66)
> 	at org.apache.solr.search.facet.FacetFieldProcessorByArray.process(FacetFieldProcessorByArray.java:58)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org