Re: Suggestive Search

2009-04-08 Thread Matt Schraeder
s the base of your suggestions and perhaps boost a bit on trends, i.e. the more people search for something the more it get boosted in the suggestions list. karl 8 apr 2009 kl. 15.26 skrev Matt Schraeder: > I want to add a suggestive search similar to google's to autocomple

Suggestive Search

2009-04-08 Thread Matt Schraeder
I want to add a suggestive search similar to google's to autocomplete search phrases as the user types. It doesn't have to be very elaborate and for the most part will just involve searching single fields. How can I perform a search to be able to fill in autocomplete text? For instance, if I s

Re: Speed of fuzzy searches

2009-04-03 Thread Matt Schraeder
After doing some research I broke down and just updated my Zend Framework. I just installed it not long ago so I didn't think much of it, but then I realized I'm running version 1.6.1 and that Zend is currently on 1.7.8. Upon upgrading the complex fuzzy search that was taking 30 seconds now takes

Re: Speed of fuzzy searches

2009-04-02 Thread Matt Schraeder
>>> erickerick...@gmail.com 4/2/2009 10:24:42 AM >>> >This seems really odd, especially with an index that size. The >first question is usually "Do you open an IndexReader for >each query?" I'm using the Zend_Search_Lucene implementation so I'm really not sure how it handles the IndexReader.

Speed of fuzzy searches

2009-04-02 Thread Matt Schraeder
I've got a simple Lucene index and search built for testing purposes. So far everything seems great. Most searches take 0.02 seconds or less. Searches with 4-5 terms take 0.25 seconds or less. However, once I began playing with fuzzy searches everything seemed to really slow down. A fuzzy search

Re: Syncing lucene index with a database

2009-03-27 Thread Matt Schraeder
Thanks a million. You really helped me get on the right direction. I'm going to start building some test cases this afternoon so I can really begin to get my hands dirty and see how everything works. It's good to know that there isn't one "right" way for my purposes, which is mostly what I wanted

Re: Syncing lucene index with a database

2009-03-27 Thread Matt Schraeder
I'm going to try and cover all replies so far, but for the most part this first one since it had the most help so far. Thanks to everyone who replied so far, you've given me a lot of great ideas to think about and look into. I'm going to begin some small test indexes with our data so we have somet

Syncing lucene index with a database

2009-03-26 Thread Matt Schraeder
I'm new to Lucene and just beginning my project of adding it to our web app. We are indexing data from a MS SQL 2000 database and building full-text search from it. Everything I have read says that building the index is a resource heavy operation so we should use it sparingly. For the most part