laminas / laminas-server

Create Reflection-based RPC servers
https://docs.laminas.dev/laminas-server/
BSD 3-Clause "New" or "Revised" License
25 stars 14 forks source link

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

Closed michalbundyra closed 4 years ago

michalbundyra commented 4 years ago

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.


Originally posted by @vishalsharnagat at https://github.com/zendframework/zend-server/issues/24

samsonasik commented 4 years ago

Zend Search Lucene is no longer maintained https://github.com/zendframework/ZendSearch#unmaintained .

I'm closing it.