/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | NormsWriter.java | 52 void files(Collection<String> files) {} argument
|
H A D | IndexFileDeleter.java | 43 * individual files in the Directory. 79 /* Reference count for all files in the index. 91 /* Holds files we had incref'd from the previous 130 * the Directory, incref the files they reference, call 132 * any files not referenced by any of the commits. 151 // First pass: walk the files and initialize our ref 157 String[] files = null; 159 files = directory.listAll(); 162 files = new String[0]; 165 for (String fileName : files) { 485 incRef(Collection<String> files) argument 501 decRef(Collection<String> files) argument 550 deleteFiles(List<String> files) argument 559 deleteNewFiles(Collection<String> files) argument 638 Collection<String> files; field in class:IndexFileDeleter.CommitPoint [all...] |
H A D | SegmentInfo.java | 36 * Information about a segment such as it's name, directory, and files related 79 private volatile List<String> files; // cached list of files that this segment uses field in class:SegmentInfo 82 private volatile long sizeInBytesNoStore = -1; // total byte size of all but the store files (computed on demand) 83 private volatile long sizeInBytesWithStore = -1; // total byte size of all of our files (computed on demand) 89 private boolean docStoreIsCompoundFile; // whether doc store files are stored in compound file (*.cfx) 276 // we have to check filesystem for norm files, because this is prelockless. 289 * Returns total size in bytes of all of files used by this segment (if 290 * {@code includeDocStores} is true), or the size of all files except the store 291 * files otherwis 636 addIfExists(Set<String> files, String fileName) argument 647 public List<String> files() throws IOException { method in class:SegmentInfo [all...] |
H A D | SegmentInfos.java | 130 * If non-null, information about loading segments_N files 149 * list of index files (N in the segments_N file). 151 * @param files -- array of file names to check 153 public static long getLastCommitGeneration(String[] files) { argument 154 if (files == null) { 158 for (int i = 0; i < files.length; i++) { 159 String file = files[i]; 186 * recent commit in the list of index files. 188 * @param files -- array of file names to check 191 public static String getLastCommitSegmentsFileName(String[] files) throw argument 835 public Collection<String> files(Directory dir, boolean includeSegmentsFile) throws IOException { method in class:SegmentInfos [all...] |
H A D | SegmentReader.java | 460 List<String> files() throws IOException { method in class:SegmentReader 461 return new ArrayList<String>(si.files());
|
H A D | DirectoryReader.java | 826 // Sync all files we just wrote 827 directory.sync(segmentInfos.files(directory, false)); 841 // Recompute deletable files & remove them (so 842 // partially written .del files, etc, are 852 // files due to this commit: 912 // delete unused files: 953 final String[] files = dir.listAll(); 963 for(int i=0;i<files.length;i++) { 965 final String fileName = files[i]; 1000 Collection<String> files; field in class:DirectoryReader.ReaderCommit [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/util/ |
H A D | VersionedFile.java | 82 // delete old files only after we have successfuly opened the newest 91 private static synchronized void delete(Collection<File> files) { argument 93 deleteList.addAll(files);
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestDoc.java | 43 private LinkedList<File> files; field in class:TestDoc 46 * a few text files created in the current working directory. 60 files = new LinkedList<File>(); 61 files.add(createOutput("test.txt", 65 files.add(createOutput("test2.txt",
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestDoc.java | 50 private LinkedList<File> files; field in class:TestDoc 53 * a few text files created in the current working directory. 67 files = new LinkedList<File>(); 68 files.add(createOutput("test.txt", 72 files.add(createOutput("test2.txt",
|
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/ |
H A D | ContentItemsSource.java | 42 * reading the files of that content source. Certain implementations may define 80 * A convenience method for collecting all the files of a content source from 82 * given <code>files</code>. 84 protected final void collectFiles(File dir, ArrayList<File> files) { argument 94 collectFiles(file, files); 96 files.add(file);
|
H A D | DirContentSource.java | 54 * Iterator over the files in the directory 121 void push(File[] files) { argument 122 Arrays.sort(files, c); 123 for(int i = 0; i < files.length; i++) { 124 // System.err.println("push " + files[i]); 125 stack.push(files[i]); 190 // exhausted files, start a new round, unless forever set to false. 247 throw new RuntimeException("No txt files in dataDir: " + dataDir.getAbsolutePath());
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/ |
H A D | SnapShooter.java | 102 Collection<String> files = indexCommit.getFileNames(); 104 fileCopier.copyFiles(files, snapShotDir); 106 details.add("fileCount", files.size()); 126 File[] files = new File(snapDir).listFiles(); 128 for(File f : files) { 181 public void copyFiles(Collection<String> files, File destDir) throws IOException { argument 182 for (String indexFile : files) {
|
H A D | ReplicationHandler.java | 56 * (command=indexversion)</li> <li>Get the list of files for a given index version 210 LOG.warn("Exception while reading files for commit " + c, e); 227 private Map<String, Long> getCheckSums(String[] files, File dir, Checksum checksum) { argument 229 if (files == null || files.length == 0) 231 for (String file : files) { 345 //get all the files in the commit 347 Collection<String> files = new HashSet<String>(commit.getFileNames()); 348 for (String fileName : files) { 363 LOG.debug("Adding config files t [all...] |
/lucene-3.6.0/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/ |
H A D | FileListEntityProcessor.java | 36 * <li>excluding certain files based on regular expression</li> 41 * Its output can be used along with {@link FileDataSource} to read from files in file 59 * A regex pattern to identify files given in data-config.xml after resolving any variables 244 private void addDetails(List<Map<String, Object>> files, File dir, String name) { argument 263 files.add(details);
|