Searched refs:getField (Results 1 - 25 of 159) sorted by relevance

1234567

/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/nodes/
H A DFieldableNode.java35 CharSequence getField(); method in interface:FieldableNode
H A DParametricRangeQueryNode.java49 if (upperBound.getField() != lowerBound.getField()
50 || (upperBound.getField() != null && !upperBound.getField().equals(
51 lowerBound.getField()))) {
79 public CharSequence getField() { method in class:ParametricRangeQueryNode
80 return getLowerBound().getField();
H A DSlopQueryNode.java98 public CharSequence getField() { method in class:SlopQueryNode
102 return ((FieldableNode) child).getField();
H A DTokenizedPhraseQueryNode.java77 public CharSequence getField() { method in class:TokenizedPhraseQueryNode
84 return ((FieldableNode) children.get(0)).getField();
H A DPhraseSlopQueryNode.java91 public CharSequence getField() { method in class:PhraseSlopQueryNode
95 return ((FieldableNode) child).getField();
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DTermFreqVector.java31 public String getField(); method in interface:TermFreqVector
H A DTermVectorEntryFreqSortedComparator.java35 result = entry.getField().compareTo(entry1.getField());
/lucene-3.6.0/solr/core/src/test/org/apache/solr/update/
H A DDocumentBuilderTest.java121 assertFalse(schema.getField("title").omitNorms());
122 assertTrue(schema.getField("title_stringNoNorms").omitNorms());
128 assertTrue("title_stringNoNorms has the omitNorms attribute set to true, if the boost is different than 1.0, it will fail",1.0f == out.getField( "title_stringNoNorms" ).getBoost() );
136 assertFalse(schema.getField("title").omitNorms());
137 assertTrue(schema.getField("title_stringNoNorms").omitNorms());
142 assertTrue("title_stringNoNorms has the omitNorms attribute set to true, if the boost is different than 1.0, it will fail",1.0f == out.getField( "title_stringNoNorms" ).getBoost() );
143 assertTrue("It is OK that title has a boost of 3",3.0f == out.getField( "title" ).getBoost() );
150 assertFalse(schema.getField("store").omitNorms());
151 assertTrue(schema.getField("store_0_coordinate").omitNorms());
152 assertTrue(schema.getField("store_1_coordinat
[all...]
/lucene-3.6.0/solr/core/src/test/org/apache/solr/search/
H A DQueryParsingTest.java90 assertEquals(flds[0].getField(), "weight");
95 assertEquals(flds[0].getField(), "weight");
98 assertEquals(flds[1].getField(), "bday");
104 assertEquals(flds[0].getField(), "weight");
107 assertEquals(flds[1].getField(), "bday");
112 assertEquals(flds[0].getField(), "weight");
115 assertEquals(flds[1].getField(), "bday");
122 assertEquals(flds[0].getField(), "weight");
123 assertEquals(flds[1].getField(), "bday");
129 assertEquals(flds[0].getField(), "weigh
[all...]
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/ext/
H A DExtensionQuery.java55 public String getField() { method in class:ExtensionQuery
/lucene-3.6.0/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/ext/
H A DExtensionStub.java29 return new TermQuery(new Term(components.getField(), components
/lucene-3.6.0/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/
H A DTestRegexTransformer.java43 fields.add(getField("col1", "string", null, "a", ","));
89 Map<String, String> fld = getField("name", "string", "'", null, null);
110 Map<String, String> fld = getField("hltCityMPG", "string",
117 fld = getField("t1", "string","duff", "rowdata", null);
122 fld = getField("t2", "string","duff", "rowdata", null);
128 fld = getField("t3", "string","(Range)", "rowdata", null);
155 Map<String, String> fld = getField("participant", null, "(.*)", "person", null);
172 fields.add(getField("city_mileage", "sint",
178 fields.add(getField("highway_mileage", "sint",
183 fields.add(getField("seating_capacit
[all...]
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/nodes/
H A DAbstractRangeQueryNode.java58 public CharSequence getField() { method in class:AbstractRangeQueryNode
64 field = lower.getField();
67 field = upper.getField();
148 String lowerField = StringUtils.toString(lower.getField());
149 String upperField = StringUtils.toString(upper.getField());
H A DPrefixWildcardQueryNode.java48 this(fqn.getField(), fqn.getText(), fqn.getBegin(), fqn.getEnd());
H A DWildcardQueryNode.java46 this(fqn.getField(), fqn.getText(), fqn.getBegin(), fqn.getEnd());
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/config/
H A DFieldConfig.java68 * @deprecated use {@link #getField()} instead
80 public String getField() { method in class:FieldConfig
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/spans/
H A DFieldMaskingSpanQuery.java35 * but {@link SpanQuery#getField()} simply hands back the value supplied
69 * <p>Note: as {@link #getField()} returns the masked field, scoring will be
83 public String getField() { method in class:FieldMaskingSpanQuery
143 return (this.getField().equals(other.getField())
152 ^ getField().hashCode()
H A DSpanQuery.java34 public abstract String getField(); method in class:SpanQuery
/lucene-3.6.0/solr/core/src/test/org/apache/solr/schema/
H A DPolyFieldTest.java45 SchemaField home = schema.getField("home");
65 home = schema.getField("home");
68 home = schema.getField("homed");//sub field suffix
77 SchemaField home = schema.getField("home");
100 home = schema.getField("home_ns");
105 home = schema.getField("home_ns");
115 SchemaField s1 = schema.getField("test_p");
116 SchemaField s2 = schema.getField("test_p");
169 SchemaField home = schema.getField("home_ns");
H A DMultiTermTest.java38 SchemaField field = h.getCore().getSchema().getField("content_multi");
60 SchemaField field = h.getCore().getSchema().getField("content_charfilter");
75 SchemaField field = h.getCore().getSchema().getField("content_ws");
/lucene-3.6.0/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/builders/
H A DTestNumericRangeQueryBuilder.java62 assertEquals("AGE", numRangeFilter.getField());
73 assertEquals("AGE", numRangeFilter2.getField());
89 assertEquals("AGE", numRangeFilter.getField());
100 assertEquals("AGE", numRangeFilter2.getField());
117 assertEquals("AGE", numRangeFilter.getField());
128 assertEquals("AGE", numRangeFilter2.getField());
145 assertEquals("AGE", numRangeFilter.getField());
157 assertEquals("AGE", numRangeFilter2.getField());
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DTermRangeFilter.java92 public String getField() { return query.getField(); } method in class:TermRangeFilter
/lucene-3.6.0/solr/core/src/test/org/apache/solr/handler/
H A DXmlUpdateRequestHandlerTest.java81 assertEquals( 1.0f, doc.getField( "name" ).getBoost(), 0.1);
82 assertEquals( 2.2f, doc.getField( "id" ).getBoost(), 0.1);
84 assertEquals( (3*4*5.0f), doc.getField( "cat" ).getBoost(), 0.1);
87 assertEquals( "12345", doc.getField( "id" ).getValue() );
88 assertEquals( "kitten", doc.getField( "name").getValue() );
89 assertEquals( "a&b", doc.getField( "ab").getValue() ); // read something with escaped characters
91 Collection<Object> out = doc.getField( "cat" ).getValues();
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/config/
H A DFieldBoostMapFCListener.java52 Float boost = fieldBoostMap.get(fieldConfig.getField());
H A DNumericFieldConfigListener.java63 .get(fieldConfig.getField());

Completed in 242 milliseconds

1234567