zend-search-lucene

Can zend's lucene implementation be configured to use a mysql database instead of the file system?

Is there an option for Zend's lucene implementation (or a third-party plugin) that would allow me to put the lucene dictionary into a [MySQL] database? The reason I need to ask is that the database is the only common resource for our two otherwise independent web servers. ...

php,mysql and Zend lucene

how to index mysql table and search using zend lucene? Pls provide with code and posible with table structure... thanking all... ...

In faceted search how to submit the left navigated faceted values to the search term?

How to resubmit with facet value and search term? ...

How to find similar/related text with Zend Lucene?

Say I need to make searching for related titles just like stackoverflow does before you add your question or digg.com before submitting news. I didn't find a way how to do this with Zend Lucene. There are setSlop method for queries, but as I understand, it doesn't help. Is there any way to do this kind of searches? ...

Is there a way to include a list of exception words in Zend lucene Search?

I have Zend Lucene Search Algorithm implemented in my code. Some of the keywords are not returning any results. The keywords for which no results are returned are included in list of Stopwords. Is there a way to include certain stopwords while searching, so that those keywords also yield some results??? ...

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 must be non-empty term Anyone got a clue? Update I have gotten this to work progra...

Extending / changing how Zend_Search_Lucene searches

Hi, I am currently using Zend_Search_Lucene to index and search a number of documents currently at around a 1000 or so. What I would like to do is change how the engine scores hits on a document, from the current default. Zend_Search_Lucene scores on the frequency of number of hits within a document, so a document that has 10 matches ...

Zend Lucene search relevancy

What are the best practices to configure Zend Lucene to make the search results more relevant? i have the following fields and document type productname (Text) description (Text) category (Keyword) Please give some sample codes. ...

Searching for multiple words in on field in Lucene index

I'm having problem with Zend_Search_Lucene. I have few documents with field "tags" in index. Documents "tags" have following values: tag1 tag2 tag3 tag1 tag4 I would like to find document only with tag1 AND tag4 so I use query "+tags:tag1 +tags:tag2". I can't figure out why I get 0 hits from index. ...

PHP CLI Script (Zend Framework) hangs

Hi folks, I am running a PHP Script on the CLI (logged in as root). It is actually building a Zend Lucene Search index. All output is logged to the command line. PHP directves like max_execution_time and memory_limit are set sufficient (0 resp. 1024M). The error reporting is set in the script as follows: error_reporting(E_ALL | E_STR...

Zend_Search_Lucene changing term frequency problem

Hi there, I am trying to update the searching of terms of documents within my Lucene index. Currently the searches score on the number of times the term appears in the document. What I would like to do is score if the term exists, rather than the number of times the term exists. So a document with the term in it once scores the same ...

Zend lucene : Multiple criteria on search = bad results

Hello, I new to lucene, and i noticed something annoying : In my search bar, if I type "USA" : return all the matches -> OK. If I type "Developper" : return all the matches -> OK BUT, -if i type "USA Developper", it'll not return me all the developper in the USA. It'll return me some developper in UK, DE, FR + Developpers, Sta...

Using temporary table for zend searches then merging with dataset

Hi all, In my current setup i have a zend lucene search index which stores the primary keys of my_table rows in the index, along with other unstored fields. Upon a search the index is queried, the results of which then are looped through and inserted into a mysql temporary table, which is then joined via the primary key onto my_table....

Zend_Search_Lucene, how to share an index storage folder over network

Hi, I am running web application on two different servers with load balancing, and using Zend_Search_Lucene for indexing documents. Now I am facing indexing issue which a user comes to the site through server #1 and stores information, Zend_Search_Lucene stores index only server #1. So once another user comes to the site through serv...

Zend Search Lucene HTTP 500 Internal Server Error while bulk indexing on small tables

I am just getting started with Zend Search Lucene and am testing on a GoDaddy shared Linux account. Everything is working - I can create and search Lucene Documents. The problem is when I try to index my whole table for the first time I get a HTTP 500 Internal Server Error after about 30 seconds. If I rewrite my query so that I only s...

Zend Search Lucene floating point numbers range search

Hello, I have problem with Zend Search Lucene when searching float numbers. The problem is that when I execute query like avg:[0.15 TO 0.30] I get error message Range query boundary terms must be non-multiple word terms. For parsing the query I use the default parser. I a little desperate now because searching float numbers is main aim ...

Issue with Lucene

Hello I have Lucene in my project according to the jobeet way. And this is my problem: We have lucene in two modules: -In a backend module called admins -In a frontend module called valoracion We can search in the backend module but not in the frontend. In both modules we can create new values but only they appear in the search of t...

Zend Framework - Search Lucene for exact phrase

Hi , Is there any way to Query the Index of Zend_Search_Lucene for an exact match ? $keyword = E85 and Environment; AND $keyword = E85 AND Environment; These two queries displaying equal results. How to differentiate the boolean 'AND' and string 'and'. ...

Find out which field matched query terms in Zend Search Lucene

I'm performing a query using Zend_Search_Lucene (PHP) and for the matched documents I would like to be able to find out which field within that document matched the query - e.g. if each document represents a person, was it their name or their address or their email that matched the search terms? ...

How can to group lucene's results?

My application indexes discussion threads. Each entry in the discussion is indexed as a separate Lucene document with a common_id field which can be used to group search hits into one discussion. Currently when the search is performed, if a thread has 3 entries, then 3 separate hits are returned. Even though this is correct, from the us...