[
https://issues.apache.org/jira/browse/ZETACOMP-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078600#comment-13078600
]
Maxime THOMAS - Wascou.org commented on ZETACOMP-87:
----------------------------------------------------
I've checked the code and a variable init miss at the beginning of the function
sendRawPostCommand in ezcSearchSolrHandler.
The $expectedLength must be set to false.
> Notice on indexation with SolR 3.1
> ----------------------------------
>
> Key: ZETACOMP-87
> URL: https://issues.apache.org/jira/browse/ZETACOMP-87
> Project: Zeta Components
> Issue Type: Bug
> Components: Search
> Reporter: Maxime THOMAS - Wascou.org
> Priority: Minor
> Labels: notice, search
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> I've got a PHP notice on the index function with SolR 3.1 :
> PHP Notice :
> Notice: Undefined variable: expectedLength in
> /.../Search/src/handlers/solr.php on line 305
> Stack trace :
> ...
> 21 5.5022 21616964 ezcSearchSolrHandler->index( )
> ../search_session.php:151
> 22 5.5051 21618372 ezcSearchSolrHandler->sendRawPostCommand( )
> ../solr.php:897
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira