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
4
votes
2 answers

Zend Lucene - tokenizing swedish chars

I use Zend Lucene to index swedish texts. The problem is that lucene tokenizes words at swedish chars åäö. For example the word "världens" becomes two words "v" and "ldens" in the index. Is there a way to add characters that zend lucene should…
Martin
  • 5,197
  • 11
  • 45
  • 60
4
votes
1 answer

What is the best way to properly integrate a "popularity" factor with zend-search lucene?

I've read this and I'm still a bit confused on how to exactly go about it. I have an unindexed field that is counting the number of votes for a set of playlists that are being searched. The main search works fine, but I also want to include the…
4
votes
2 answers

Does Zend Lucene need Java Lucene?

When implementing Zend Lucene, do we need to install Java on our server or not?
vinayrks
  • 817
  • 1
  • 9
  • 12
3
votes
1 answer

Zend Lucene exhausts memory when indexing

An oldish site I'm maintaining uses Zend Lucene (ZF 1.7.2) as it's search engine. I recently added two new tables to be indexed, together containing about 2000 rows of text data ranging between 31 bytes and 63kB. The indexing worked fine a few…
Kaivosukeltaja
  • 15,541
  • 4
  • 40
  • 70
3
votes
1 answer

zend search lucene query api: boosting a term

I am using zend search lucene, and would like to add boosts to some of my search terms. The code is already written using the query construction API as follows. $query->addTerm(new Zend_Search_Lucene_Index_Term($name,'name'), null); I tried…
3
votes
4 answers

Alternatives to Zend_Search_Lucene?

I want to know whether there are any other libraries or modules which is a viable alternative to Zend_Search_Lucene.
sodhancha
  • 435
  • 15
  • 31
3
votes
3 answers

How to import data from one solr core to another solr instance

I need to import data from one Solr instance to another instance Full data and index import. I have searched and spend some times in google but I did not find proper solution. This link has similar question but i could not find the proper answer. I…
Gautam
  • 3,707
  • 5
  • 36
  • 57
3
votes
1 answer

Best way to perform online re-indexing of tables for Zend_Search_Lucene-powered search

I'm using Zend_Search_Lucene for full-text search of records in several different tables in my application. I have just implemented this functionality, and currently the index is built upon first use of the search functionality after application…
ubermensch
  • 902
  • 1
  • 12
  • 21
3
votes
4 answers

Zend_Search_Lucene range query error

I have set up each document with a date field. (keyword) Values stored in it are in this format; 20100511 Each time I try to perform a ranged query, I get the following error: date:[10000000 TO 20000000] At least one range query boundary term …
Maurice
  • 4,829
  • 7
  • 41
  • 50
3
votes
1 answer

How to use ZendSearch with CodeIgniter 2.1.3?

I know that ZendSearch in Zend Framework 2 is similar with Zend Search Lucene in Zend Framework 1.12. I've tried to use Zend Search Lucene with CodeIgniter 2.1.3. The indexing and finding process work well, but it still give some errors (warnings)…
3
votes
2 answers

Lucene Search in zf2

Has the Lucene Search library been removed from the ZendFramework 2? because I can't find it here
tamir
  • 3,207
  • 2
  • 33
  • 51
3
votes
1 answer

No hits with from a Zend Search MultiTerm Query? (There should be 3)

I have a search form with a name, club, natranking, doublesranking and club field. I have selected a club from the selectbox, left the name field blank and clicked 'Search'. The result has no hits. There should be 3 as there are 3 records in the…
mattyh88
  • 1,585
  • 5
  • 26
  • 48
3
votes
1 answer

How to improve Zend Lucene performance?

I am currently struggling to speed up my Zend Lucene index. It contains about 1M documents. In some cases it takes up to 0.4 sec to search through it. It is not acceptable. I wish it could return results within 0.1 sec max. The documentation does…
2
votes
3 answers

How do you search zipcodes using Zend Lucene?

I have very simple company index with Zend Lucene using this to create the index: // store company primary key to identify it in the search results $doc->addField(Zend_Search_Lucene_Field::Keyword('pk', $this->getId())); // index company…
fakingfantastic
  • 1,551
  • 1
  • 12
  • 15
2
votes
1 answer

What is better ? One big field or many small?

I'm about writing a search engine based on Zend Search Lucène. My objects have many different fields (10 text type), and i would like to know which of these ways is the best. (All fields are unstored, just indexed, I don't need to recover them.) One…
TeChn4K
  • 2,317
  • 2
  • 21
  • 23
1
2
3
12 13