|Title|Search results incomplete
|Date|12-Nov-2005 12:08:20 EET
|[Bug criticality]|BadBug
|Browser version|Firefox
|[Bug status]|NewBug
|[PageProvider] used|
|Servlet Container|Tomcat 4.9
|Operating System|XP
|Java version|1.4

When I search, I am not getting all the results.  For instance if I search Java or SQL I know I should get at least a few results (I'm searching skill profiles of techies...).

There's nothing odd about the text I'm looking for, it is freeformat text as part of a bulleted list. I'vesearched several terms and something is definitely wrong.

The log shows:

2005-11-12 09:48:18,312 [Thread-15] INFO com.ecyrd.jspwiki.search.LuceneSearchProvider  - Starting Lucene reindexing, this can take a couple minutes...
2005-11-12 09:48:18,781 [Thread-15] INFO com.ecyrd.jspwiki.search.LuceneSearchProvider  - Full Lucene index finished in 469 milliseconds.

So I guess I am using Lucene search. 

__I'm happy to look into this if anyone has any ideas__

Can you give some example on what gets indexed and what does not?

-- JanneJalkanen

There doesn't seem to be any pattern.  Is there any way to view/query the Lucene index?

;:I had a similar issue with the Search engine, after restarting the app. Seems that reusing the created Lucene indexes is not 100% working ok -- my search engine only seems to use the newly edited pages after that restart. --[DF|DirkFrederickx]

Just as an idea...  Do you have the jspwiki.workDir set in the jspwiki.properties file? -- JanneJalkanen

I do have the workdir set.

I have just confirmed DFs comments above.  I previously only got one result for 'java'.  I just edited my profile page, making no changes.  Now I get two results.  The point being that editing the page triggered a reindex of that page and now it works...

Interestingly (for me anyway!) the search appears to work fine on page names.