Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Exception when open lucene index (created by java lucene) for ZF Zend_Search_Lucene package #24

@vishalsharnagat

Description

@vishalsharnagat

The indexes are created by java lucene 2.9.1. I want to use PHP 7 with zend framework to perform search using Zend_Search_Lucene package. I am getting below error with Zend_Search_Lucene package.

Fatal error: Uncaught Zend_Search_Lucene_Exception: Unsupported segments
file format in C:\xampp1\php\pear\Zend\Search\Lucene.php:422 Stack trace: #0
C:\xampp1\php\pear\Zend\Search\Lucene.php(570): Zend_Search_Lucene-

_readSegmentsFile()

Is there any way to get this working? OR could you please provide information about Zend Framework which include lucene 2.9.1 in Zend_Search_Lucene?

Also, How to check lucene version in Zend_Search_Lucene?

Your help will be appreciated. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions