Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-354

FIXME in src/test/org/apache/lucene/IndexTest.java

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: modules/examples
    • Labels:
      None
    • Environment:

      Operating System: Mac OS X 10.3
      Platform: Macintosh

    • Bugzilla Id:
      33820

      Description

      Index: src/test/org/apache/lucene/IndexTest.java
      ===============================================================
      ====
      — src/test/org/apache/lucene/IndexTest.java (revision 155945)
      +++ src/test/org/apache/lucene/IndexTest.java (working copy)
      @@ -27,8 +27,7 @@
      public static void main(String[] args) {
      try {
      Date start = new Date();

      • // FIXME: OG: what's with this hard-coded dirs??
      • IndexWriter writer = new IndexWriter("F:
        test", new SimpleAnalyzer(),
        + IndexWriter writer = new IndexWriter(File.createTempFile("luceneTest","idx"), new
        SimpleAnalyzer(),
        true);
        writer.setMergeFactor(20);

        Attachments

          Activity

            People

            • Assignee:
              java-dev@lucene.apache.org Lucene Developers
              Reporter:
              hdiwan Hasan Diwan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: