You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Gasol Wu (Created) (JIRA)" <ji...@apache.org> on 2012/01/05 11:27:39 UTC

[jira] [Created] (SOLR-3005) Content-Type disappear

Content-Type disappear
----------------------

                 Key: SOLR-3005
                 URL: https://issues.apache.org/jira/browse/SOLR-3005
             Project: Solr
          Issue Type: Bug
          Components: Response Writers
    Affects Versions: 3.5
         Environment: Solr 3.5.0
            Reporter: Gasol Wu


i expect that query always return Content-Type, but after SOLR-1123 had committed, it got chance to return nothing if you leave out all of queryResponseWriter in solrconfig.xml. however i attach a small patch that will correct this situation.

It look like DEFAULT_RESPONSE_WRITERS never called init method in org.apache.solr.core.SolrCore


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Resolved] (SOLR-3005) Content-Type disappear

Posted by "Chris Male (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Male resolved SOLR-3005.
------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
                   3.6

3x: Committed revision 1243874
                
> Content-Type disappear
> ----------------------
>
>                 Key: SOLR-3005
>                 URL: https://issues.apache.org/jira/browse/SOLR-3005
>             Project: Solr
>          Issue Type: Bug
>          Components: Response Writers
>    Affects Versions: 3.5, 4.0
>         Environment: Solr 3.5.0
>            Reporter: Gasol Wu
>            Assignee: Chris Male
>             Fix For: 3.6, 4.0
>
>         Attachments: SOLR-3005.patch, SOLR-3005.patch
>
>
> i expect that query always return Content-Type, but after SOLR-1123 had committed, it got chance to return nothing if you leave out all of queryResponseWriter in solrconfig.xml. however i attach a small patch that will correct this situation.
> It look like DEFAULT_RESPONSE_WRITERS never called init method in org.apache.solr.core.SolrCore

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Assigned] (SOLR-3005) Content-Type disappear

Posted by "Chris Male (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Male reassigned SOLR-3005:
--------------------------------

    Assignee: Chris Male
    
> Content-Type disappear
> ----------------------
>
>                 Key: SOLR-3005
>                 URL: https://issues.apache.org/jira/browse/SOLR-3005
>             Project: Solr
>          Issue Type: Bug
>          Components: Response Writers
>    Affects Versions: 3.5
>         Environment: Solr 3.5.0
>            Reporter: Gasol Wu
>            Assignee: Chris Male
>         Attachments: SOLR-3005.patch
>
>
> i expect that query always return Content-Type, but after SOLR-1123 had committed, it got chance to return nothing if you leave out all of queryResponseWriter in solrconfig.xml. however i attach a small patch that will correct this situation.
> It look like DEFAULT_RESPONSE_WRITERS never called init method in org.apache.solr.core.SolrCore

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-3005) Content-Type disappear

Posted by "Chris Male (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180273#comment-13180273 ] 

Chris Male commented on SOLR-3005:
----------------------------------

Thanks for pointing this out, I'll wrap it up shortly.
                
> Content-Type disappear
> ----------------------
>
>                 Key: SOLR-3005
>                 URL: https://issues.apache.org/jira/browse/SOLR-3005
>             Project: Solr
>          Issue Type: Bug
>          Components: Response Writers
>    Affects Versions: 3.5
>         Environment: Solr 3.5.0
>            Reporter: Gasol Wu
>         Attachments: SOLR-3005.patch
>
>
> i expect that query always return Content-Type, but after SOLR-1123 had committed, it got chance to return nothing if you leave out all of queryResponseWriter in solrconfig.xml. however i attach a small patch that will correct this situation.
> It look like DEFAULT_RESPONSE_WRITERS never called init method in org.apache.solr.core.SolrCore

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-3005) Content-Type disappear

Posted by "Gasol Wu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gasol Wu updated SOLR-3005:
---------------------------

    Attachment: SOLR-3005.patch
    
> Content-Type disappear
> ----------------------
>
>                 Key: SOLR-3005
>                 URL: https://issues.apache.org/jira/browse/SOLR-3005
>             Project: Solr
>          Issue Type: Bug
>          Components: Response Writers
>    Affects Versions: 3.5
>         Environment: Solr 3.5.0
>            Reporter: Gasol Wu
>         Attachments: SOLR-3005.patch
>
>
> i expect that query always return Content-Type, but after SOLR-1123 had committed, it got chance to return nothing if you leave out all of queryResponseWriter in solrconfig.xml. however i attach a small patch that will correct this situation.
> It look like DEFAULT_RESPONSE_WRITERS never called init method in org.apache.solr.core.SolrCore

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-3005) Content-Type disappear

Posted by "Chris Male (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Male updated SOLR-3005:
-----------------------------

    Affects Version/s: 4.0
    
> Content-Type disappear
> ----------------------
>
>                 Key: SOLR-3005
>                 URL: https://issues.apache.org/jira/browse/SOLR-3005
>             Project: Solr
>          Issue Type: Bug
>          Components: Response Writers
>    Affects Versions: 3.5, 4.0
>         Environment: Solr 3.5.0
>            Reporter: Gasol Wu
>            Assignee: Chris Male
>         Attachments: SOLR-3005.patch, SOLR-3005.patch
>
>
> i expect that query always return Content-Type, but after SOLR-1123 had committed, it got chance to return nothing if you leave out all of queryResponseWriter in solrconfig.xml. however i attach a small patch that will correct this situation.
> It look like DEFAULT_RESPONSE_WRITERS never called init method in org.apache.solr.core.SolrCore

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-3005) Content-Type disappear

Posted by "Hoss Man (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207236#comment-13207236 ] 

Hoss Man commented on SOLR-3005:
--------------------------------

Chris: +1, commit.
                
> Content-Type disappear
> ----------------------
>
>                 Key: SOLR-3005
>                 URL: https://issues.apache.org/jira/browse/SOLR-3005
>             Project: Solr
>          Issue Type: Bug
>          Components: Response Writers
>    Affects Versions: 3.5
>         Environment: Solr 3.5.0
>            Reporter: Gasol Wu
>            Assignee: Chris Male
>         Attachments: SOLR-3005.patch, SOLR-3005.patch
>
>
> i expect that query always return Content-Type, but after SOLR-1123 had committed, it got chance to return nothing if you leave out all of queryResponseWriter in solrconfig.xml. however i attach a small patch that will correct this situation.
> It look like DEFAULT_RESPONSE_WRITERS never called init method in org.apache.solr.core.SolrCore

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-3005) Content-Type disappear

Posted by "Chris Male (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180277#comment-13180277 ] 

Chris Male commented on SOLR-3005:
----------------------------------

I think its definitely something we should correct as well.  The Writers in the DEFAULT_RESPONSE_WRITERS list should be being init'd too (in case we ever add in further init logic to them).
                
> Content-Type disappear
> ----------------------
>
>                 Key: SOLR-3005
>                 URL: https://issues.apache.org/jira/browse/SOLR-3005
>             Project: Solr
>          Issue Type: Bug
>          Components: Response Writers
>    Affects Versions: 3.5
>         Environment: Solr 3.5.0
>            Reporter: Gasol Wu
>            Assignee: Chris Male
>         Attachments: SOLR-3005.patch
>
>
> i expect that query always return Content-Type, but after SOLR-1123 had committed, it got chance to return nothing if you leave out all of queryResponseWriter in solrconfig.xml. however i attach a small patch that will correct this situation.
> It look like DEFAULT_RESPONSE_WRITERS never called init method in org.apache.solr.core.SolrCore

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-3005) Content-Type disappear

Posted by "Uwe Schindler (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180275#comment-13180275 ] 

Uwe Schindler commented on SOLR-3005:
-------------------------------------

bq. It look like DEFAULT_RESPONSE_WRITERS never called init method in org.apache.solr.core.SolrCore

Is this a bug or not?
                
> Content-Type disappear
> ----------------------
>
>                 Key: SOLR-3005
>                 URL: https://issues.apache.org/jira/browse/SOLR-3005
>             Project: Solr
>          Issue Type: Bug
>          Components: Response Writers
>    Affects Versions: 3.5
>         Environment: Solr 3.5.0
>            Reporter: Gasol Wu
>            Assignee: Chris Male
>         Attachments: SOLR-3005.patch
>
>
> i expect that query always return Content-Type, but after SOLR-1123 had committed, it got chance to return nothing if you leave out all of queryResponseWriter in solrconfig.xml. however i attach a small patch that will correct this situation.
> It look like DEFAULT_RESPONSE_WRITERS never called init method in org.apache.solr.core.SolrCore

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-3005) Content-Type disappear

Posted by "Chris Male (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Male updated SOLR-3005:
-----------------------------

    Attachment: SOLR-3005.patch

Patch based on Gasol's which addresses the Content-Type missing in JSONResponseWriter, and also init's the default QueryResponseWriters.

Ready to go.
                
> Content-Type disappear
> ----------------------
>
>                 Key: SOLR-3005
>                 URL: https://issues.apache.org/jira/browse/SOLR-3005
>             Project: Solr
>          Issue Type: Bug
>          Components: Response Writers
>    Affects Versions: 3.5
>         Environment: Solr 3.5.0
>            Reporter: Gasol Wu
>            Assignee: Chris Male
>         Attachments: SOLR-3005.patch, SOLR-3005.patch
>
>
> i expect that query always return Content-Type, but after SOLR-1123 had committed, it got chance to return nothing if you leave out all of queryResponseWriter in solrconfig.xml. however i attach a small patch that will correct this situation.
> It look like DEFAULT_RESPONSE_WRITERS never called init method in org.apache.solr.core.SolrCore

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-3005) Content-Type disappear

Posted by "Chris Male (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207629#comment-13207629 ] 

Chris Male commented on SOLR-3005:
----------------------------------

Trunk: Committed revision 1243870.
                
> Content-Type disappear
> ----------------------
>
>                 Key: SOLR-3005
>                 URL: https://issues.apache.org/jira/browse/SOLR-3005
>             Project: Solr
>          Issue Type: Bug
>          Components: Response Writers
>    Affects Versions: 3.5, 4.0
>         Environment: Solr 3.5.0
>            Reporter: Gasol Wu
>            Assignee: Chris Male
>         Attachments: SOLR-3005.patch, SOLR-3005.patch
>
>
> i expect that query always return Content-Type, but after SOLR-1123 had committed, it got chance to return nothing if you leave out all of queryResponseWriter in solrconfig.xml. however i attach a small patch that will correct this situation.
> It look like DEFAULT_RESPONSE_WRITERS never called init method in org.apache.solr.core.SolrCore

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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