Searched defs:mapper (Results 1 - 12 of 12) sorted by relevance

/lucene-3.6.0/lucene/tools/src/java/org/apache/lucene/validation/
H A DLicenseCheckTask.java63 * License file mapper.
85 * Adds a license mapper.
87 public void addConfiguredLicenseMapper(Mapper mapper) { argument
89 throw new BuildException("Only one license mapper is allowed.");
91 this.licenseMapper = mapper.getImplementation();
199 // Get the expected license path base from the mapper and search for license files.
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/index/
H A DTermVectorAccessor.java50 * @param mapper Mapper to be mapped with data
53 public void accept(IndexReader indexReader, int documentNumber, String fieldName, TermVectorMapper mapper) throws IOException { argument
57 decoratedMapper.decorated = mapper;
63 mapper.setDocumentNumber(documentNumber);
64 build(indexReader, fieldName, mapper, documentNumber);
79 * Populates the mapper with terms available for the given field in a document
84 * @param mapper
88 private void build(IndexReader indexReader, String field, TermVectorMapper mapper, int documentNumber) throws IOException { argument
110 if (!mapper.isIgnoringPositions()) {
125 mapper
[all...]
/lucene-3.6.0/lucene/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/
H A DInstantiatedIndexReader.java367 public void getTermFreqVector(int docNumber, String field, TermVectorMapper mapper) throws IOException { argument
371 mapper.setExpectations(field, tv.size(), true, true);
373 mapper.map(tdi.getTerm().text(), tdi.getTermPositions().length, tdi.getTermOffsets(), tdi.getTermPositions());
379 public void getTermFreqVector(int docNumber, TermVectorMapper mapper) throws IOException { argument
382 mapper.setExpectations(e.getKey(), e.getValue().size(), true, true);
384 mapper.map(tdi.getTerm().text(), tdi.getTermPositions().length, tdi.getTermOffsets(), tdi.getTermPositions());
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DMultiReader.java206 public void getTermFreqVector(int docNumber, String field, TermVectorMapper mapper) throws IOException { argument
209 subReaders[i].getTermFreqVector(docNumber - starts[i], field, mapper);
213 public void getTermFreqVector(int docNumber, TermVectorMapper mapper) throws IOException { argument
216 subReaders[i].getTermFreqVector(docNumber - starts[i], mapper);
H A DFilterIndexReader.java154 public void getTermFreqVector(int docNumber, String field, TermVectorMapper mapper) throws IOException { argument
156 in.getTermFreqVector(docNumber, field, mapper);
160 public void getTermFreqVector(int docNumber, TermVectorMapper mapper) throws IOException { argument
162 in.getTermFreqVector(docNumber, mapper);
H A DParallelReader.java347 public void getTermFreqVector(int docNumber, String field, TermVectorMapper mapper) throws IOException { argument
351 reader.getTermFreqVector(docNumber, field, mapper);
356 public void getTermFreqVector(int docNumber, TermVectorMapper mapper) throws IOException { argument
363 reader.getTermFreqVector(docNumber, field, mapper);
H A DTermVectorsReader.java218 public void get(int docNum, String field, TermVectorMapper mapper) throws IOException { argument
259 mapper.setDocumentNumber(docNum);
260 readTermVector(field, position, mapper);
280 ParallelArrayTermVectorMapper mapper = new ParallelArrayTermVectorMapper();
281 get(docNum, field, mapper);
283 return mapper.materializeVector();
354 public void get(int docNumber, TermVectorMapper mapper) throws IOException { argument
369 mapper.setDocumentNumber(docNumber);
370 readTermVectors(fields, tvfPointers, mapper);
382 ParallelArrayTermVectorMapper mapper
390 readTermVectors(String fields[], long tvfPointers[], TermVectorMapper mapper) argument
405 readTermVector(String field, long tvfPointer, TermVectorMapper mapper) argument
[all...]
H A DIndexReader.java1077 * @param mapper The {@link TermVectorMapper} to process the vector. Must not be null
1081 abstract public void getTermFreqVector(int docNumber, String field, TermVectorMapper mapper) throws IOException; argument
1086 * @param mapper The {@link TermVectorMapper} to process the vector. Must not be null
1089 abstract public void getTermFreqVector(int docNumber, TermVectorMapper mapper) throws IOException; argument
H A DSegmentReader.java752 public void getTermFreqVector(int docNumber, String field, TermVectorMapper mapper) throws IOException { argument
764 termVectorsReader.get(docNumber, field, mapper);
769 public void getTermFreqVector(int docNumber, TermVectorMapper mapper) throws IOException { argument
776 termVectorsReader.get(docNumber, mapper);
H A DDirectoryReader.java521 public void getTermFreqVector(int docNumber, String field, TermVectorMapper mapper) throws IOException { argument
524 subReaders[i].getTermFreqVector(docNumber - starts[i], field, mapper);
528 public void getTermFreqVector(int docNumber, TermVectorMapper mapper) throws IOException { argument
531 subReaders[i].getTermFreqVector(docNumber - starts[i], mapper);
/lucene-3.6.0/lucene/contrib/memory/src/java/org/apache/lucene/index/memory/
H A DMemoryIndex.java953 public void getTermFreqVector(int docNumber, TermVectorMapper mapper) throws IOException argument
960 getTermFreqVector(docNumber, fieldName, mapper);
965 public void getTermFreqVector(int docNumber, String field, TermVectorMapper mapper) throws IOException argument
973 mapper.setExpectations(field, info.sortedTerms.length, stride != 1, true);
986 mapper.map(info.sortedTerms[i].getKey(),
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/
H A DSolrIndexReader.java237 public void getTermFreqVector(int docNumber, String field, TermVectorMapper mapper) throws IOException { argument
238 in.getTermFreqVector(docNumber, field, mapper);
243 public void getTermFreqVector(int docNumber, TermVectorMapper mapper) throws IOException { argument
244 in.getTermFreqVector(docNumber, mapper);

Completed in 86 milliseconds