Home | About | Sematext search-lucene.com search-hadoop.com
clear query|facets|time Search criteria: directory.   Results from 61 to 70 from 162 (0.362s).
Loading phrases to help you
refine your search...
Re: indexing size - Lucene - [mail # user]
... the disk space.  Give us your index directory's 'ls -al' or 'dir'.  Otis     ...
   Author: Otis Gospodnetic, 2004-08-31, 12:32
Re: Distributed  indexing - Lucene - [mail # user]
... to merge all indices into one big index, you will need to use IndexWriter's addIndexes(Directory[]) method.  Otis   ...
   Author: Otis Gospodnetic, 2004-08-06, 08:48
Re: getCurrentVersion question - Lucene - [mail # user]
...Mag, check this (in IndexReader):    /**    * Returns the time the index in the named directory was last modified.    * Do not use this to check whether the reader is still up-to-date, use...
...    * {@link #isCurrent()} instead.    */   public static long lastModified(String directory) throws IOException {     return lastModified(new File(directory));   }  Hm, no, you seem to be looking...
[+ show more]
   Author: Otis Gospodnetic, 2006-09-10, 02:51
Re: merging indices - Lucene - [mail # user]
... instance of FSDirectory.   Directory dir = new FSDirectory("/path/to/new/index");  Then create an array of your 27 indices (something like the above, but add it to an array of Directory[] type...
..., and use a different path for each of your 27 dirs in the ctor above) and pass it to addIndexes method, like this:   dir.addIndexes(yourDirectoryArray);  The 'dir' is the 'dir' from above.  Otis...
   Author: Otis Gospodnetic, 2003-09-16, 13:09
Re: Is there a tool that merges Lucene indexes? - Lucene - [mail # dev]
... {      File mergedIndex = new File(args[0]);       IndexWriter writer = new IndexWriter(mergedIndex, new   SimpleAnalyzer(), true);       Directory[] indexes = new Directory[args.length - 1...
...];      for (int i = 1; i < args.length; i++) {        indexes[i  - 1] = FSDirectory.getDirectory(args[i], false);      }       writer.addIndexes(indexes);       writer.optimize();      writer...
   Author: Otis Gospodnetic, 2005-12-21, 00:05
Re: lucene-1.4-rc2 and JVM version - Lucene - [mail # user]
...Signal 11 :)  Sounds familiar.  From what I remember, signal 11 tends to be the sign of hardware problems. Your code seems ok.  One thing I wouldn't do is to use a relative directory...
... in IndexSearcher constructor, without making sure it does what you think it does (what does it do?  Does it use the directory from which the class was invoked as the base?).  Since you are using...
   Author: Otis Gospodnetic, 2004-05-13, 10:54
Re: IndexWriter and IndexReader - Lucene - [mail # user]
...Make sure you do it like this:  Open Directory with IndexReader Delete with IndexReader Close IndexReader  Open new IndexWriter Add Document Close IndexWriter  Otis    ...
   Author: Otis Gospodnetic, 2004-02-19, 15:50
Re: Cannot access hits - Lucene - [mail # user]
....io.File.createNewFile(File.java:688) at org.apache.lucene.store.FSDirectory$1.obtain(Unknown Source)  Figure out what directory Java's java.io.tmpdir system property points to, and make sure that directory is writable...
   Author: Otis Gospodnetic, 2004-03-24, 21:58
Re: java.io.IOException: couldn't delete backup - Lucene - [mail # user]
...Lucene writes locks to some directories (java.io.temp system property), so make sure you can write to those.  Otis    __________________________________ Do you Yahoo!? New Yahoo! Photos...
   Author: Otis Gospodnetic, 2003-12-18, 11:26
Re: write.lock - Lucene - [mail # user]
...I don't think there was a follow-up to this.  Aaron, please provide a listing of the directory that you are using in IndexWriter constructor.  Is it empty?  What are permissions on it? When...
... the exception occurs, a file called write.lock should remain in the directory.  Can you ls -al that file?  Is this Lucene 1.3*?  Maybe you solved the problem already.  This is unlikely a Lucene bug...
   Author: Otis Gospodnetic, 2003-12-11, 11:53
Sort:
project
Lucene (162)
Solr (66)
ElasticSearch (3)
Droids (1)
Nutch (1)
type
mail # user (127)
mail # dev (30)
issue (4)
mail # general (1)
date
last 7 days (0)
last 30 days (0)
last 90 days (0)
last 6 months (0)
last 9 months (79)
author
Michael McCandless (424)
Uwe Schindler (286)
Robert Muir (216)
Otis Gospodnetic (162)
Chris Hostetter (144)
Shai Erera (118)
Simon Willnauer (93)
Erik Hatcher (90)
Mark Miller (82)
Grant Ingersoll (78)
Erick Erickson (75)
Doug Cutting (74)
Steven A Rowe (60)
Jason van Zyl (59)
Yonik Seeley (57)