Questions tagged [zend-search-lucene]

Zend Search Lucene is a PHP library for creating and searching full text indexes using the Lucene index format.

Part of the Zend Framework, Zend Search Lucene allows the creation and searching of full text indexes in PHP. This goes above and beyond the full text search offered by MySQL.

Although Zend Search Lucene is part of the Zend Framework, it can also be used as a standalone library in other projects or with alternative frameworks such as Symfony.

193 questions
0
votes
1 answer

php fatal error, require once

Hi guys working with Zend search lucene and im getting the following warning and error: Warning: require_once(Zend/Search/Lucene/Storage/File/Filesystem.php): failed to open stream: No such file or directory in…
Ricky
  • 77
  • 1
  • 4
  • 14
0
votes
2 answers

Operator LIKE in LUCENE

I'm working in Lucene 4.6 and i'm trying to look for records that contains "keyword1" in "field1" and "keyword2" in "field2" I wrote following query: Query q = MultifieldQueryParser.parse( Version.Lucene_46, new String[] {keyword1,…
user3182237
  • 39
  • 1
  • 9
0
votes
1 answer

Lucene - Zend_Search_Lucene - how to build an index for "tagged"content

I have following problem, I need to build lucene index for articles which are tagged. Here is simplified data structure and lucene proposal: article_id -> unindexed article_title -> UnStored article_content -> UnStored article_tags -> ????? (here is…
basstradamus
  • 123
  • 1
  • 10
0
votes
1 answer

ZendSearch Lucene class not found

I was following this book to install the ZendSearh on the application, I did exactly as it's written and I'm getting a Fatal error: Class 'ZendSearch\Lucene\Lucene' not found in…
John
  • 107
  • 1
  • 3
  • 15
0
votes
1 answer

Zend Search with word "video" is null whereas "videos" is not, search part of words

I don't understand the way zend search lucene is working. The index returns nothing when i'm typing words in singular. Whereas when they are in plural, it matches. video = nothing. videos = it works. i tried different words and i don't arrive to…
DarKA
  • 1
0
votes
1 answer

Preferring newer results with Zend Lucene

I'm using Zend Lucene in a Symfony 2 project, via EWZSearchBundle. It's all working well, but now that the site has bedded in for a few months we're finding that some of the search results for some keywords, while perfectly accurate, aren't…
Al Bennett
  • 428
  • 1
  • 5
  • 13
0
votes
1 answer

issue when i would to install ZendSearch for Zend framework 2

When i,would to install ZendSearch for Zend framework 2, using this line commande php composer.phar require zendframework/zendsearch:0.1 i got this error message : composer.json { "name": "zendframework/zendsearch", "description": "a…
AHmedRef
  • 2,555
  • 12
  • 43
  • 75
0
votes
1 answer

Difference between Lucene and Zend Search Lucene

Please is anyone know the difference between Zend Search Lucene and Lucene? Thanks in advance.
user1687107
0
votes
1 answer

How to get a score of a Field on Zend Lucene

I have something similar to the following code: [...] while($result=mysql_fetch_assoc($query)){ //Build a doc $doc = new Zend_Search_Lucene_Document(); [...] $doc->addField(Zend_Search_Lucene_Field::text('category',…
Cristiano Santos
  • 2,157
  • 2
  • 35
  • 53
0
votes
1 answer

Zend_Search_Lucene - How do I limit the results to a certain language?

I have indexed a website which is available in 14 languages, so far so good. Now I want to limit my lucene search to display only results in the visitor's language. Is there any (query)parameter or any option that I can set? Unfortunately I did not…
Alex
  • 12,205
  • 7
  • 42
  • 52
0
votes
2 answers

Interfacing PHP with Lucene without changing anything

I am building a search engine. In this regard, I have built a Lucene indexer in Java and also built a web interface in PHP where the user will submit the query. As my search is geo-temporal specific, so by PHP I have tracked the user's current time…
Joy
  • 4,197
  • 14
  • 61
  • 131
0
votes
1 answer

Zend Lucene Index Merge

Just migrated my PHP web app to another server with a new db and now I'm trying to migrate Lucine's Index to new server. Is it even possible to move my index to another server? and can we access the search index (that is stored on one server say…
Maksim
  • 16,635
  • 27
  • 94
  • 135
0
votes
1 answer

Zend Lucene misbehaving: Queries work one by one but not together

Ok, so here's the deal: Lucene does the weirdes things to me. Everything is indexed properly, everything works, everything's fast etc etc. So I search for a category in English. Hundreds of results pop out. So I search for a country in English.…
John
  • 261
  • 1
  • 3
  • 16
0
votes
1 answer

Solr 3.5 field type

I'm using Solr 3.5 in the application that I'm working currently. I have defined few field types as custom which would be a prefixed values. Mostly they are price which differs for each and every prefix. Example 123_34.99 will define the price…
John
  • 281
  • 3
  • 14
0
votes
1 answer

How to get only documents which have one field not empty

I'm trying to do create a query to exclude all documents which have an empty/null value in one specific field. What is the query syntax or the programmatic way to do this?
nanoman
  • 1,069
  • 12
  • 27
1 2 3
12
13