Searched refs:tv (Results 1 - 9 of 9) sorted by relevance

/lucene-3.6.0/solr/core/src/test/org/apache/solr/handler/component/
H A DTermVectorComponentTest.java118 static String tv = "tvrh"; field in class:TermVectorComponentTest
122 assertJQ(req("json.nl","map", "qt",tv, "q", "id:0", TermVectorComponent.COMPONENT_NAME, "true", TermVectorParams.TF, "true")
134 assertJQ(req("json.nl","map", "qt",tv, "q", "id:0", TermVectorComponent.COMPONENT_NAME, "true"
139 assertJQ(req("json.nl","map", "qt",tv, "q", "id:0", TermVectorComponent.COMPONENT_NAME, "true"
146 list.addAll(Arrays.asList("json.nl","map", "qt",tv, "q", "id:0", TermVectorComponent.COMPONENT_NAME, "true"));
175 assertJQ(req("json.nl","map", "qt",tv, "q", "id:0", TermVectorComponent.COMPONENT_NAME, "true"
/lucene-3.6.0/lucene/contrib/misc/src/test/org/apache/lucene/index/
H A DTestIndexSorter.java64 TermVector tv = TermVector.NO;
81 tv = TermVector.YES;
97 f = new Field(fieldNames[k], val, s, ix, tv);
/lucene-3.6.0/lucene/contrib/pruning/src/test/org/apache/lucene/index/
H A DTestPruningReader.java345 TermFreqVector tv = tfr.getTermFreqVector(4, "test");
346 assertNotNull(tv);
347 assertEquals(4, tv.getTerms().length); // term "four" not deleted yet from TermEnum
354 tv = ir.getTermFreqVector(4, "test");
355 assertNotNull(tv);
356 assertEquals(3, tv.getTerms().length); // term "four" was deleted from TermEnum
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestTermVectorsReader.java95 final Field.TermVector tv;
97 tv = Field.TermVector.WITH_POSITIONS_OFFSETS;
99 tv = Field.TermVector.WITH_POSITIONS;
101 tv = Field.TermVector.WITH_OFFSETS;
103 tv = Field.TermVector.YES;
104 doc.add(new Field(testFields[i], "", Field.Store.NO, Field.Index.ANALYZED, tv));
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestTermVectorsReader.java95 final Field.TermVector tv;
97 tv = Field.TermVector.WITH_POSITIONS_OFFSETS;
99 tv = Field.TermVector.WITH_POSITIONS;
101 tv = Field.TermVector.WITH_OFFSETS;
103 tv = Field.TermVector.YES;
104 doc.add(new Field(testFields[i], "", Field.Store.NO, Field.Index.ANALYZED, tv));
/lucene-3.6.0/lucene/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/
H A DInstantiatedIndexReader.java370 List<InstantiatedTermDocumentInformation> tv = doc.getVectorSpace().get(field);
371 mapper.setExpectations(field, tv.size(), true, true);
372 for (InstantiatedTermDocumentInformation tdi : tv) {
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DTermVectorsReader.java580 SegmentTermVector tv = null;
583 tv = new SegmentTermPositionVector(field, terms, termFreqs, positions, offsets);
585 tv = new SegmentTermVector(field, terms, termFreqs);
588 return tv;
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/util/
H A DLuceneTestCase.java992 public static Field newField(String name, String value, Store store, Index index, TermVector tv) { argument
993 return newField(random, name, value, store, index, tv);
1010 public static Field newField(Random random, String name, String value, Store store, Index index, TermVector tv) { argument
1013 return new Field(name, value, store, index, tv);
1017 return new Field(name, value, store, index, tv);
1022 tv = randomTVSetting(random, tv);
1024 return new Field(name, value, store, index, tv);
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/util/
H A DLuceneTestCase.java1171 public static Field newField(String name, String value, Store store, Index index, TermVector tv) { argument
1172 return newField(random, name, value, store, index, tv);
1189 public static Field newField(Random random, String name, String value, Store store, Index index, TermVector tv) { argument
1192 return new Field(name, value, store, index, tv);
1196 return new Field(name, value, store, index, tv);
1201 tv = randomTVSetting(random, tv);
1203 return new Field(name, value, store, index, tv);

Completed in 139 milliseconds