History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: SES-572
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Unassigned
Reporter: Enrico Minack
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Sesame

A null index specification for an existing native store should mean to use the existing indices

Created: 24/Jun/08 03:21 PM   Updated: 26/Sep/08 11:32 AM
Component/s: Native Sail
Affects Version/s: 2.0, 2.1, 2.0.1, 2.1.1, 2.1.2
Fix Version/s: 2.2

File Attachments: 1. Text File reuse-existing-indices-as-default.patch (2 kb)



 Description   
Currently, passing null or the empty string as the index specification string to the NativeStore constructor is interpreted as the default index string "spoc posc" (I guess). In case of an existing store, other indices may exist, and they are discarded. The existing indices are already stored in a properties file, but this value is never read. That value, if existing, should be taken as the default, instead of the mentioned "spoc posc".

 All   Comments   Change History      Sort Order:
Comment by Enrico Minack [24/Jun/08 03:23 PM]
this patch uses the index string coming from the properties file as a default value if null is given via the constructor

Comment by James Leigh [04/Jul/08 09:02 PM]
If no index is provided try and read the index from the properties file in revision 7425.