lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Otis Gospodnetic (JIRA)" <>
Subject [jira] Resolved: (LUCENE-636) [PATCH] Differently configured Lucene 'instances' in same JVM
Date Thu, 05 Apr 2007 01:51:32 GMT


Otis Gospodnetic resolved LUCENE-636.

    Resolution: Won't Fix

We've moved away from using system properties.  I think there are only a couple of places
in the code that still refer to system properties, and those are, I believe, depreated:

$ ffjg System.getProp
./org/apache/lucene/analysis/standard/  protected String eol = System.getProperty("line.separator",
./org/apache/lucene/index/        System.getProperty("org.apache.lucene.SegmentReader.class",
./org/apache/lucene/queryParser/  protected String eol = System.getProperty("line.separator",
./org/apache/lucene/store/  public static final String LOCK_DIR = System.getProperty("org.apache.lucene.lockDir",
./org/apache/lucene/store/        System.getProperty("org.apache.lucene.FSDirectory.class",
./org/apache/lucene/store/        String lockClassName = System.getProperty("");
./org/apache/lucene/util/  /** The value of <tt>System.getProperty("java.version")<tt>.
./org/apache/lucene/util/  public static final String JAVA_VERSION = System.getProperty("java.version");
./org/apache/lucene/util/  /** The value of <tt>System.getProperty("")<tt>.
./org/apache/lucene/util/  public static final String OS_NAME = System.getProperty("");

I'll close this as Won't Fix.

> [PATCH] Differently configured Lucene 'instances' in same JVM
> -------------------------------------------------------------
>                 Key: LUCENE-636
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Johan Stuyts
>         Attachments: Lucene2DifferentConfigurations.patch
> Currently Lucene can be configured using system properties. When running multiple 'instances'
of Lucene for different purposes in the same JVM, it is not possible to use different settings
for each 'instance'.
> I made changes to some Lucene classes so you can pass a configuration to that class.
The Lucene 'instance' will use the settings from that configuration. The changes do not effect
the API and/or the current behavior so are backwards compatible.
> In addition to the changes above I also made the SegmentReader and SegmentTermDocs extensible
outside of their package. I would appreciate the inclusion of these changes but don't mind
creating a separate issue for them.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message