Questions tagged [zend-lucene]

[tag:Zend-Lucene] is the lucene library of the Zend Framework, which is a powerful open source web application framework for developing PHP 5 web applications. The Zend Framework module is a Drupal API module that makes the framework accessible to other Drupal modules.

is the library of the Framework, which is a powerful open source web application framework for developing web applications. The Zend Framework module is a API module that makes the framework accessible to other Drupal modules.

44 questions
0
votes
2 answers

Facing Issue in zend_search_lucene

I am using Zend Lucene Search: ...... $results = $test->fetchAll(); setlocale(LC_CTYPE, 'de_DE.iso-8859-1'); Zend_Search_Lucene_Analysis_Analyzer::setDefault(new…
mymotherland
  • 7,968
  • 14
  • 65
  • 122
0
votes
2 answers

Can I build Lucene database using .NET then use ZendFramework to read that database later?

I have a SQLSERVER database and I want to implement the search feature on PHP. I am just wondering if I can use .NET language (since there is .NET library available) to build Lucene index database then using ZendFramework to read the from the built…
Dewey
  • 1,193
  • 14
  • 18
0
votes
1 answer

Array as index for Zend_Search_Lucene_Field

This is what works: $doc->addField(Zend_Search_Lucene_Field::text('Image', $item['Image']['localName'])); which indexes the field, and it's accessible later in my view helper as this: $item['Image'] However, what I want (without a work-around in…
wanovak
  • 6,117
  • 25
  • 32
0
votes
2 answers

Symfony and Zend Lucene Error

I use symfony with Zend Lucene Search. I have $query = Zend_Search_Lucene_Search_QueryParser::parse($query.'*'); $hits = self::getLuceneIndex()->find($query); Sometimes I have error : At least 3 non-wildcard characters are required at the…
denys281
  • 2,004
  • 2
  • 19
  • 38
0
votes
1 answer

Class 'Zend_Search_Lucene' not found

A big beginner of Zend-framework on PHP calls, I could include it on Netbeans IDE. Now I'm trying to use it to achieve a Lucene indexer and searcher using Zend_Lucene, I followed the getting started of the official site, unfortunately they explain…
Nadjib Mami
  • 5,736
  • 9
  • 37
  • 49
0
votes
0 answers

Stemming english words using Lucene 6.5.1

I want to stemming tokens in a text with Lucene 6.5.1 I've seen many example about this, but all of them used old version of Lucene. the Apache's website introduce TokenFilter class for stemming but i cant use that.
user3794900
0
votes
1 answer

Can we adopt Lucene index to retrieve data from rdf tables?

Lucene index can it be merged with b+trees to make the indexing better , inorder to retrieve data from the rdf table? Is there any procedure available?
0
votes
1 answer

Zend Lucene delete document

I have question about delete document in index file. I have this: $index = Zend_Search_Lucene::open('data/index'); foreach ($index->find('pk:' . $this->getId()) as $hit) { $index->delete($hit->id); } $index->commit(); And I use Luke (It…
denys281
  • 2,004
  • 2
  • 19
  • 38
0
votes
1 answer

Encoding problems with Zend Lucene

I have some problems with Zend_Lucene, especially with characters encoding. Because I'm french, I have to store a lot of specials characters... So I set up a zend_lucene engine, and try to store my text. Unfortunately, the text are stored with bad…
oveka
  • 57
  • 5
0
votes
1 answer

Advanced search in Doctrine 1

I am using LIKE query in DOCTRINE1 to search keywords in DB. Here is the example : I have a string available in DB "Developer in the hell" $str = "Developer in the hell"; $srchKey = "%" . mysql_real_escape_string($searchString) . "%"; $q =…
Amritpal singh
  • 855
  • 5
  • 12
  • 27
0
votes
1 answer

How to(or Can I) delete the index file created by Zend_Search_Lucene

Is there any way by which I can delete the index file created by the Zend_Search_Lucene? If its not possible kindly suggest a method to delete the indexed data. I've tried it from the code. But failed. And when I tried to delete the index file from…
harry
  • 1,410
  • 3
  • 12
  • 31
0
votes
3 answers

Lucene Zend Fuzzy Match on Phrase instead of Single Word

I'm trying to use Zend Lucene for matching a query phrase, but I want a fuzzy match. At the moment, if I use PhraseQuery and search for "valentin rossi", (and in DB there is "valentino rossi") I have no results, because PhraseQuery searches for the…
0
votes
2 answers

php foreach repeating twice

I have been trying different solutions for this problem without success. Problem is this: I have some results form Zend_Search_Lucene which give say 3 results with the ID of: 2, 3, 4 Then I have some records from an unrelated Query made with…
firefiter
  • 96
  • 8
-5
votes
1 answer

what is good alternative for Lucene search?

I have thousands of Cvs and I want to search for the CVs having 'computer science' as their background. So, I googled and got to know that Lucene does this job and I need to feed the data to Lucene and it indexes all the documents. On search for a…
Manojkumar
  • 1,351
  • 5
  • 35
  • 63
1 2
3