Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support directory factory/provider for custom direcory #39

Open
GoogleCodeExporter opened this issue Mar 28, 2015 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

What version of the product are you using? On what operating system?
3.1.0

Please provide any additional information below.

Currently a constructor accepting a File is needed for a custom directory.
It would be nice to use a more generic approach, like a provider or factory 
interface.
Inspiration can be found in the hibernate search directory provider.
http://docs.jboss.org/hibernate/search/3.3/api/org/hibernate/search/store/Direct
oryProvider.html

For example something like

public interface DirectoryProvider {
    public void start();
    public void stop();
    public Directory getDirectory();
}

Original issue reported on code.google.com by michael....@gmail.com on 2 May 2011 at 1:56

@GoogleCodeExporter
Copy link
Author

This doesn't sound like a common need ... if you think you could come up with a 
patch that is useful to other users please attach it here, and we'll see. 
Thanks!

Original comment by sig...@gmail.com on 28 Dec 2011 at 3:10

  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant