|
|||
|
Hi!, I am developing an application using Zend_Lucene_Search Framework.
it consists in some XML files that I index with Lucene. Part of the code I use for index is this: PHP Code:
The structure is simple, I store the words of the XML file and the path to the file, then when I make a search I now which file open. After the indexation I use Lucene Index Toolbox 0.7.1 (www.getopt.org/luke/) to inspect the index. Is a Java app that permits me see my indexes, and searchs on it. The problem I have is that some words (with low rank) are not returned by my search code in PHP using Zend_Lucene_Search framework. I don't know if it helps but my index has 29684 words Part of the code I use is this (is a simple code that try to find a single word): PHP Code:
word "lucas" and get no results, but in the Lucene Index Toolbox I make the same search and I get 7 hits. I don't know if is a encoding problem (I think not) or I'am doing a bad search code. greetings from Argentina, Gustavo. Sorry for my English!! |
![]() |
| Thread Tools | |
| Display Modes | |
|
|