[fw-general] Zend Lucene displays blank screen when no results found

2010-03-15 Thread pixel_paul
Hi, When I submit a query to Zend_Lucene with a string that exists in the index, the results are displayed as expected, however when string is not found, I get a blank page with no error messages. Code used as below: require_once 'Zend/Feed.php'; require_once 'Zend/Search/Lucene.php'; $index

Re: [fw-general] zend lucene

2009-11-11 Thread Daniel Latter
I got the impression that the author used ZL and expected to get the same performance result akin to using Java. This is where my flawed argument comes in. There is no reference to the fundamental difference between the languages and the performance differences this yields, I am not

Re: [fw-general] zend lucene

2009-11-11 Thread Matthew Ratzloff
Yes, but there's no limitations or goals section in the ZSL documentation to give people a clear picture of what they can reasonably expect or what the use cases are. I think this causes unnecessary confusion. -Matt On Wednesday, November 11, 2009, Daniel Latter dan.lat...@gmail.com wrote: I

Re: [fw-general] zend lucene

2009-11-11 Thread Daniel Latter
Maybe so, but I think the confusion is more likely to come from an anticipated performance level based (in this case) on previous experiences with other languages, without really truly understanding your chosen language in question (in this case PHP) I would not say you NEED to know all

Re: [fw-general] zend lucene

2009-11-10 Thread drm
ctx2002 wrote: i try use zend lucene as my site search engine, then i have found this article, http://dadabase.de/weblog/archives/2009/07/22/recommendation-dont-use-zend-php-lucene. can any one say something about that article? There is one thing in general you should know about these kinds of

Re: [fw-general] zend lucene

2009-11-10 Thread Matthew Ratzloff
I guess I don't see how comparing the two is totally flawed. You should compare solutions for the dimensions that matter to your use case--in the case of large indices, performance will undoubtedly be one of those dimensions. I had a similar experience with Zend_Search_Lucene and concluded that

Re: [fw-general] zend lucene

2009-10-16 Thread Daniel Latter
Yeah, it compares PHP to Java which In itself is totally flawed, but I'm sure more smarter people will articluate this better than me. So hold tight. On 16 Oct 2009, at 05:18, ctx2002 ctx2...@gmail.com wrote: i try use zend lucene as my site search engine, then i have found this article,

Re: [fw-general] zend lucene

2009-10-16 Thread Nick Pack
Daniel Latter wrote: Yeah, it compares PHP to Java which In itself is totally flawed, but I'm sure more smarter people will articluate this better than me. So hold tight. On 16 Oct 2009, at 05:18, ctx2002 ctx2...@gmail.com wrote: i try use zend lucene as my site search engine, then i have

Re: [fw-general] zend lucene

2009-10-16 Thread Jay Ess
ctx2002 wrote: i try use zend lucene as my site search engine, then i have found this article, http://dadabase.de/weblog/archives/2009/07/22/recommendation-dont-use-zend-php-lucene. can any one say something about that article? The decision which one to use should be on your need for speed

[fw-general] zend lucene

2009-10-15 Thread ctx2002
i try use zend lucene as my site search engine, then i have found this article, http://dadabase.de/weblog/archives/2009/07/22/recommendation-dont-use-zend-php-lucene. can any one say something about that article? -- View this message in context:

[fw-general] Zend Lucene Tokenization Pitfalls

2009-08-25 Thread Anselm Föhr
Hi there, just wanted to share some experiences I recently made in a project. Maybe someone will find this, when googling for a similar problem... We experienced that the tokenization in Zend Lucene gives different results on our dev-system (Linux) and on our production-system (FreeBSD).

[fw-general] Zend Lucene problem with Swedish characters, code attached.

2009-07-08 Thread Jay Ess
The following code does not give any search result. The error message is : 1 Documents indexed. Index contains 1 documents. Search for 'InsignificantQuery' returned 0 hits Any suggestion to how i will be able to work with text in the Swedish language and with our chars åäöÅÄÖ? Version used

Re: [fw-general] Zend Lucene don't work with 64bit and Zend Optimizer. Zend or Zend Framework, take responsibility!

2008-12-08 Thread till
On Mon, Dec 8, 2008 at 12:50 PM, Joe Kramer [EMAIL PROTECTED] wrote: Hello, We're having this problem for almost a year soon. Zend Search Lucene uses large integer for index file offset. It was fixed so it works on 64bit system. But only on non-encoded files. If you're using Zend Optimizer

[fw-general] Zend Lucene don't work with 64bit and Zend Optimizer. Zend or Zend Framework, take responsibility!

2008-12-08 Thread Joe Kramer
Hello, We're having this problem for almost a year soon. Zend Search Lucene uses large integer for index file offset. It was fixed so it works on 64bit system. But only on non-encoded files. If you're using Zend Optimizer it will not work. Why? We have Zend Search Lucene file with instruction

Re: [fw-general] Zend Lucene don't work with 64bit and Zend Optimizer. Zend or Zend Framework, take responsibility!

2008-12-08 Thread Ralph Schindler
Hey Joe, Why? We have Zend Search Lucene file with instruction if ($docStoreOffset != (int)0x) If you run this on 32bit or 64bit system it will work just fine. Then you encode it with 32bit Zend Encoder (64bit Zend Encoder does not exist) When you run this encoded file on 64bit

[fw-general] Zend Lucene search and searching records base on permissions

2008-09-09 Thread whisperstream
I have a large number of items I want to search and so I have indexed them using zend's lucene. The problem is that I only want search results which contain entries that have admin-level privileges to be visible to users with admin privileges. So if I search for some keyword and I would

[fw-general] Zend Lucene Search - Query help needed...

2008-02-20 Thread Drew Bertola
Hi, I've created an index from three data sources: faq articles, forum posts, and customer orders (sound strange?). I've tagged each item with an item_type field (Keyword - either faq, forums, or orders), as well as the item_id as a Keyword, the title as Text, and the content as Unstored).

Re: [fw-general] Zend Lucene Search - find() best Practices?

2008-01-21 Thread Shahar Evron
When you use the $index-find() method with a string, special characters such as *, ? and keywords such as and are parsed as part of the Lucene query language. As such, misplacing them will cause an exception. What you probably want to do is to take the input and treat it as a literal string, and