lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SOLR-898) JSONResponseWriter bug
Date Fri, 05 Dec 2008 18:04:46 GMT

     [ https://issues.apache.org/jira/browse/SOLR-898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yonik Seeley resolved SOLR-898.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4

I just committed a fix for this.

> JSONResponseWriter bug 
> -----------------------
>
>                 Key: SOLR-898
>                 URL: https://issues.apache.org/jira/browse/SOLR-898
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: linux mandriva 2007 x86
>            Reporter: Grégoire Neuville
>            Assignee: Yonik Seeley
>            Priority: Minor
>             Fix For: 1.4
>
>
> I copy/paste the description I gave on the solr-user list.
> starting
> form the following query -
> http://127.0.0.1:8080/solr-urbamet/select?q=(tout:1)&rows=0&sort=TITRE+desc&facet=true&facet.query=SUJET:b*&facet.field=SUJET&facet.prefix=b&facet.limit=1&facet.missing=true&wt=json&json.nl=arrarr&indent=on
> - which produced a NullPointerException (see the stacktrace below), I
> played with the parameters and obtained the following results :
> ##PAGINATION
> rows : starting from 0, the exception occurs until we pass a certain threshold
> => rows implicated
> ##SORTING
> the rows threshold afore mentionned seems to be influenced by the
> presence/absence of the sort parameter
> ##FACETS
> facet=false => OK while facet=true => NullPointerException
> =>facets implicated
> --
> facet.field absent => OK while facet.field=whatever => NullPointerException
> =>facet.field implicated
> --
> facet.missing=false => OK while facet.missing=true => NullPointerException
> => facet.missing implicated
> --
> facet.limit=-1 or 0 => OK while facet.limit>0  => NullPointerException
> => facet.limit implicated
> --
> facet.query absent or facet.query = whatever => NullPointerException
> =>facet.query not implicated
> --
> facet.offset=(several values or absent) => NullPointerException
> => facet.offset not implicated
> --
> => facet.sort not implicated (true or false => NullPointerException)
> --
> => facet.mincount not implicated (several values or absent =>
> NullPointerException)
> #ResponseWriter
> wt=standard => ok while wt=json => NullPointerException
> => jsonwriter implicated
> json.nl=flat or map => ok
> => jsonwriter 'arrarr' format implicated

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message