Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-10-2008, 04:10 PM
xentek's Avatar
Senior Member
 
Join Date: Feb 2008
Posts: 112
Question Checking Zend_Search_Lucene results with Luke

I'm on RC1.

Is there anything I should be aware of when using Luke (http://www.getopt.org/luke/) to verify the results of a query using Zend_Search_Lucene ... I'm just starting to build a search engine for my app, and most times the results are fine, and come back as expected, but other times, Zend_Search_Lucene returns nothing, while the same query returns results in Luke.

I've gone through the docs a number of times, and can't see anything that would cause it not to return results. It is a range search, and I am using the Padding technique for numbers so that they can be searched lexically. Again, Luke returns results for a query like this: +price:[0000005000 TO 0000125000], but Zend_Search_Lucene returns zero results. The sample data in the index all has the price set at: 0000123000, so it should bring back all 20 documents.

Using this as my analyzer: Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8Nu m

Any idea why the two would return different results?
__________________
- xentek

Last edited by xentek : 03-10-2008 at 04:25 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:27 AM.