[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-130) Should provide better log infos (on the indexBase parameter for the FSDirectoryProvider)
Eric Perrocheau (JIRA)
noreply at atlassian.com
Tue Oct 23 17:48:38 EDT 2007
Should provide better log infos (on the indexBase parameter for the FSDirectoryProvider)
----------------------------------------------------------------------------------------
Key: HSEARCH-130
URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-130
Project: Hibernate Search
Issue Type: Improvement
Components: directory provider
Affects Versions: 3.0.0.GA
Reporter: Eric Perrocheau
Priority: Minor
When tracking bugs due to invalid directories names for the FSDirectoryProvider, it could be nice if the logs did inform more on Hibernate Search behaviour, or help highlight some problem.
E.g., if the indexes already exist on disk, under windows vista, and we provide the directory name with erroneous trailing spaces in the configuration file : Hibernate Search run half well : the only problem is that it clears the old indexes on initializing the FSDirectoryProvider since it didn't find the directory with the trailing spaces. After that, it doesn't seem to mind the wrong directory name since it finds and uses the good one.
Is suppose we could expect Hibernate Search to tell that something is happening and why, in fact, without having to go in the code with the debugger to find that the trailing spaces are sometimes a problem and sometimes not.
(this improvement was asked for on
http://forum.hibernate.org/viewtopic.php?t=980567
)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list