Searched defs:path (Results 1 - 25 of 52) sorted by relevance

123

/lucene-3.6.0/solr/core/src/java/org/apache/solr/core/
H A DNIOFSDirectoryFactory.java33 public Directory open(String path) throws IOException { argument
34 return new NIOFSDirectory(new File(path));
H A DSimpleFSDirectoryFactory.java33 public Directory open(String path) throws IOException { argument
34 return new SimpleFSDirectory(new File(path));
H A DStandardDirectoryFactory.java32 public Directory open(String path) throws IOException { argument
33 return FSDirectory.open(new File(path));
H A DDirectoryFactory.java37 public abstract Directory open(String path) throws IOException; argument
39 public boolean exists(String path) { argument
41 File dirFile = new File(path);
H A DRAMDirectoryFactory.java34 public Directory open(String path) throws IOException { argument
36 RefCntRamDirectory directory = directories.get(path);
38 directory = (RefCntRamDirectory) openNew(path);
39 directories.put(path, directory);
49 public boolean exists(String path) { argument
51 RefCntRamDirectory directory = directories.get(path);
63 Directory openNew(String path) throws IOException { argument
65 File dirFile = new File(path);
68 Directory dir = super.open(path);
H A DMMapDirectoryFactory.java47 public Directory open(String path) throws IOException { argument
48 MMapDirectory mapDirectory = new MMapDirectory(new File(path));
/lucene-3.6.0/solr/test-framework/src/java/org/apache/solr/core/
H A DMockDirectoryFactory.java33 public Directory open(String path) throws IOException { argument
34 MockDirectoryWrapper dir = LuceneTestCase.newFSDirectory(new File(path));
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/search/
H A DDrillDown.java41 public static final Term term(FacetSearchParams sParams, CategoryPath path) { argument
42 return term(sParams.getFacetIndexingParams(), path);
48 public static final Term term(FacetIndexingParams iParams, CategoryPath path) { argument
49 CategoryListParams clp = iParams.getCategoryListParams(path);
50 char[] buffer = new char[path.charsNeededForFullPath()];
51 iParams.drillDownTermText(path, buffer);
62 throw new IllegalArgumentException("Empty category path not allowed for drill down query!");
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/util/
H A DLuceneJUnitDividingSelector.java62 public boolean isSelected(File dir, String name, File path) { argument
H A DLineFileDocs.java42 private final String path; field in class:LineFileDocs
46 public LineFileDocs(Random random, String path) throws IOException { argument
47 this.path = path;
63 InputStream is = getClass().getResourceAsStream(path);
65 // if its not in classpath, we load it as absolute filesystem path (e.g. Hudson's home dir)
66 is = new FileInputStream(path);
68 File file = new File(path);
75 if (path.endsWith(".gz")) {
84 if (path
[all...]
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/util/
H A DLuceneJUnitDividingSelector.java62 public boolean isSelected(File dir, String name, File path) { argument
H A DLineFileDocs.java42 private final String path; field in class:LineFileDocs
46 public LineFileDocs(Random random, String path) throws IOException { argument
47 this.path = path;
63 InputStream is = getClass().getResourceAsStream(path);
65 // if its not in classpath, we load it as absolute filesystem path (e.g. Hudson's home dir)
66 is = new FileInputStream(path);
68 File file = new File(path);
75 if (path.endsWith(".gz")) {
84 if (path
[all...]
/lucene-3.6.0/lucene/contrib/analyzers/stempel/src/test/org/egothor/stemmer/
H A DTestCompile.java75 String path = uri.getPath();
76 Compile.main(new String[] {"test", path});
77 String compiled = path + ".out";
79 assertTrie(trie, path, true, true);
80 assertTrie(trie, path, false, true);
86 String path = uri.getPath();
87 Compile.main(new String[] {"-test", path});
88 String compiled = path + ".out";
90 assertTrie(trie, path, true, true);
91 assertTrie(trie, path, fals
106 loadTrie(String path) argument
[all...]
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/request/
H A DDirectXmlRequest.java42 public DirectXmlRequest( String path, String body ) argument
44 super( METHOD.POST, path );
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/common/util/
H A DFileUtils.java29 * Resolves a path relative a base directory.
32 * This method does what "new File(base,path)" <b>Should</b> do, it wasn't
33 * completely lame: If path is absolute, then a File for that path is returned;
34 * if it's not absoluve, then a File is returnd using "path" as a child
38 public static File resolvePath(File base, String path) { argument
39 File r = new File(path);
40 return r.isAbsolute() ? r : new File(base, path);
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/index/params/
H A DFacetIndexingParams.java71 public int drillDownTermText(CategoryPath path, char[] buffer); argument
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/search/params/
H A DCountFacetRequest.java39 * @param path category path of the category of interest.
45 public CountFacetRequest(CategoryPath path, int num) { argument
46 super(path, num);
H A DScoreFacetRequest.java36 public ScoreFacetRequest(CategoryPath path, int num) { argument
37 super(path, num);
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/search/params/association/
H A DAssociationFloatSumFacetRequest.java43 public AssociationFloatSumFacetRequest(CategoryPath path, int num) { argument
44 super(path, num);
H A DAssociationIntSumFacetRequest.java43 public AssociationIntSumFacetRequest(CategoryPath path, int num) { argument
44 super(path, num);
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/path/
H A DTestReversePathHierarchyTokenizer.java1 package org.apache.lucene.analysis.path;
31 String path = "/a/b/c";
32 ReversePathHierarchyTokenizer t = new ReversePathHierarchyTokenizer( new StringReader(path) );
38 path.length());
42 String path = "/a/b/c/";
43 ReversePathHierarchyTokenizer t = new ReversePathHierarchyTokenizer( new StringReader(path) );
49 path.length());
53 String path = "a/b/c";
54 ReversePathHierarchyTokenizer t = new ReversePathHierarchyTokenizer( new StringReader(path) );
60 path
[all...]
/lucene-3.6.0/solr/core/src/test/org/apache/solr/core/
H A DAlternateDirectoryTest.java52 public Directory open(String path) throws IOException { argument
58 return dir = newFSDirectory(new File(path));
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/store/
H A DWindowsDirectory.java53 * @param path the path of the directory
58 public WindowsDirectory(File path, LockFactory lockFactory) throws IOException { argument
59 super(path, lockFactory);
64 * @param path the path of the directory
67 public WindowsDirectory(File path) throws IOException { argument
68 super(path, null);
84 super("WindowsIndexInput(path=\"" + file.getPath() + "\")", bufferSize);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/
H A DNIOFSDirectory.java57 * @param path the path of the directory
62 public NIOFSDirectory(File path, LockFactory lockFactory) throws IOException { argument
63 super(path, lockFactory);
68 * @param path the path of the directory
71 public NIOFSDirectory(File path) throws IOException { argument
72 super(path, null);
91 public NIOFSIndexInput(File path, int bufferSize, int chunkSize) throws IOException { argument
92 super("NIOFSIndexInput(path
[all...]
H A DNativeFSLockFactory.java127 private File path; field in class:NativeFSLock
153 path = new File(lockDir, lockFileName);
179 String canonicalPath = path.getCanonicalPath();
203 f = new RandomAccessFile(path, "rw");
277 LOCK_HELD.remove(path.getCanonicalPath());
285 path.delete();
297 + path);
315 if (!path.exists()) return false;
329 return "NativeFSLock@" + path;

Completed in 24 milliseconds

123