Lucene is case sensitive. Make sure the case in your query matches the case
in the index. You could also try selecting the keyword analyser in Luke.

Paul I.


                                                                           
             Dirk Hennig                                                   
             <[EMAIL PROTECTED]                                             
             -hannover.de>                                              To 
                                       java-user@lucene.apache.org         
             29/11/2005 11:06                                           cc 
                                                                           
                                                                   Subject 
             Please respond to         Search Problem                      
             [EMAIL PROTECTED]                                             
                apache.org                                                 
                                                                           
                                                                           
                                                                           
                                                                           




Hallo,

I have a simple index which includes only text (in a field "text") from
2 different type of files: html and pdf.
I'm using a field "filetype" to store from which type the text came.
This field holds a value "html" or "pdf".
Now, if I browse the index with Luke, I can see all documents, text and
filetype fields, just as it should be. I can browse through the
documents using "First Doc", "Next Doc". But if I search for a word in a
document, only hits from html are shown. If I specifiy pdf, there are no
results. Even the simple query "+filetype:pdf" returns no results. But
"+filetype:html" works perfect.
How can this be? Has anyone an idea?

Thanx,
Dirk Hennig


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to