Searched refs:toString (Results 1 - 25 of 1065) sorted by relevance

1234567891011>>

/lucene-3.6.0/solr/contrib/analysis-extras/src/test/org/apache/solr/analysis/
H A DTestFoldingMultitermExtrasQuery.java35 assertU(adoc("id", Integer.toString(idx++), "content_icufolding", "BadMagicICUFolding"));
36 assertU(adoc("id", Integer.toString(idx++), "content_icufolding", "Ruß"));
37 assertU(adoc("id", Integer.toString(idx++), "content_icufolding", "ΜΆΪΟΣ"));
38 assertU(adoc("id", Integer.toString(idx++), "content_icufolding", "Μάϊος"));
39 assertU(adoc("id", Integer.toString(idx++), "content_icufolding", "résumé"));
40 assertU(adoc("id", Integer.toString(idx++), "content_icufolding", "re\u0301sume\u0301"));
41 assertU(adoc("id", Integer.toString(idx++), "content_icufolding", "ELİF"));
42 assertU(adoc("id", Integer.toString(idx++), "content_icufolding", "eli\u0307f"));
46 assertU(adoc("id", Integer.toString(idx++), "content_icunormalizer2", "BadMagicICUFolding"));
47 assertU(adoc("id", Integer.toString(id
[all...]
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/util/
H A DStringUtils.java22 public static String toString(Object obj) { method in class:StringUtils
25 return obj.toString();
/lucene-3.6.0/lucene/contrib/highlighter/src/test/org/apache/lucene/search/vectorhighlight/
H A DFieldTermStackTest.java32 assertEquals( "a(0,1,0)", stack.pop().toString() );
33 assertEquals( "a(2,3,1)", stack.pop().toString() );
34 assertEquals( "a(4,5,2)", stack.pop().toString() );
35 assertEquals( "a(12,13,6)", stack.pop().toString() );
36 assertEquals( "a(28,29,14)", stack.pop().toString() );
37 assertEquals( "a(32,33,16)", stack.pop().toString() );
49 assertEquals( "b(6,7,3)", stack.pop().toString() );
50 assertEquals( "b(8,9,4)", stack.pop().toString() );
51 assertEquals( "c(10,11,5)", stack.pop().toString() );
52 assertEquals( "b(14,15,7)", stack.pop().toString() );
[all...]
H A DFieldPhraseListTest.java31 assertEquals( "a(1.0)((0,1))", fpl.phraseList.get( 0 ).toString() );
46 assertEquals( "a(1.0)((0,1))", fpl.phraseList.get( 0 ).toString() );
47 assertEquals( "a(1.0)((2,3))", fpl.phraseList.get( 1 ).toString() );
57 assertEquals( "ab(1.0)((0,3))", fpl.phraseList.get( 0 ).toString() );
63 assertEquals( "b(1.0)((2,3))", fpl.phraseList.get( 0 ).toString() );
76 assertEquals( "baac(1.0)((2,5))", fpl.phraseList.get( 0 ).toString() );
89 assertEquals( "ab(1.0)((0,2))", fpl.phraseList.get( 0 ).toString() );
90 assertEquals( "ab(1.0)((2,4))", fpl.phraseList.get( 1 ).toString() );
101 assertEquals( "ab(1.0)((4,7))", fpl.phraseList.get( 0 ).toString() );
108 assertEquals( "a(1.0)((2,3))", fpl.phraseList.get( 0 ).toString() );
[all...]
H A DSimpleFragListBuilderTest.java44 assertEquals( "subInfos=(abcdefghijklmnopqrs((0,19)))/1.0(0,19)", ffl.getFragInfos().get( 0 ).toString() );
51 if (VERBOSE) System.out.println( ffl.getFragInfos().get( 0 ).toString() );
52 assertEquals( "subInfos=(abcdefghjklmnopqrs((0,21)))/1.0(0,21)", ffl.getFragInfos().get( 0 ).toString() );
59 assertEquals( "subInfos=(a((0,1)))/1.0(0,100)", ffl.getFragInfos().get( 0 ).toString() );
66 assertEquals( "subInfos=(a((0,1))a((2,3)))/2.0(0,100)", ffl.getFragInfos().get( 0 ).toString() );
70 assertEquals( "subInfos=(a((0,1))a((18,19)))/2.0(0,20)", ffl.getFragInfos().get( 0 ).toString() );
74 assertEquals( "subInfos=(a((8,9))a((18,19)))/2.0(2,22)", ffl.getFragInfos().get( 0 ).toString() );
81 assertEquals( "subInfos=(a((0,1)))/1.0(0,20)", ffl.getFragInfos().get( 0 ).toString() );
82 assertEquals( "subInfos=(a((28,29)))/1.0(22,42)", ffl.getFragInfos().get( 1 ).toString() );
86 assertEquals( "subInfos=(a((0,1)))/1.0(0,20)", ffl.getFragInfos().get( 0 ).toString() );
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DPrefixFilter.java36 public String toString () { method in class:PrefixFilter
39 buffer.append(getPrefix().toString());
41 return buffer.toString();
H A DBooleanClause.java27 MUST { @Override public String toString() { return "+"; } },
35 SHOULD { @Override public String toString() { return ""; } },
40 MUST_NOT { @Override public String toString() { return "-"; } };
104 public String toString() { method in class:BooleanClause
105 return occur.toString() + query.toString();
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/nodes/
H A DMatchNoDocsQueryNode.java34 public String toString() { method in class:MatchNoDocsQueryNode
H A DParametricQueryNode.java39 public String toString() { return "<="; }
43 public String toString() { return "<"; }
47 public String toString() { return ">="; }
51 public String toString() { return ">"; }
55 public String toString() { return "="; }
59 public String toString() { return "!="; }
88 return this.field + "" + this.operator.toString() + "\"" + this.text + "\"";
92 public String toString() { method in class:ParametricQueryNode
94 + this.operator.toString() + "' text='" + this.text + "'/>";
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/util/
H A DThreeLongs.java37 public String toString() { method in class:ThreeLongs
38 return Long.toString(l1, 16) + ":" + Long.toString(l2, 16) + ":" + Long.toString(l3, 16);
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/util/
H A DThreeLongs.java37 public String toString() { method in class:ThreeLongs
38 return Long.toString(l1, 16) + ":" + Long.toString(l2, 16) + ":" + Long.toString(l3, 16);
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/analysis/tokenattributes/
H A DTestCharTermAttributeImpl.java38 assertEquals("hello", t.toString());
47 char[] content = buf.toString().toCharArray();
50 assertEquals(buf.toString(), t.toString());
51 buf.append(buf.toString());
62 assertEquals(buf.toString(), t.toString());
74 assertEquals(buf.toString(), t.toString());
84 assertEquals("aloha", t.toString());
[all...]
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/analysis/tokenattributes/
H A DTestCharTermAttributeImpl.java38 assertEquals("hello", t.toString());
47 char[] content = buf.toString().toCharArray();
50 assertEquals(buf.toString(), t.toString());
51 buf.append(buf.toString());
62 assertEquals(buf.toString(), t.toString());
74 assertEquals(buf.toString(), t.toString());
84 assertEquals("aloha", t.toString());
[all...]
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/queryParser/
H A DTestMultiAnalyzer.java51 assertEquals("foo", qp.parse("foo").toString());
52 assertEquals("foo", qp.parse("\"foo\"").toString());
53 assertEquals("foo foobar", qp.parse("foo foobar").toString());
54 assertEquals("\"foo foobar\"", qp.parse("\"foo foobar\"").toString());
55 assertEquals("\"foo foobar blah\"", qp.parse("\"foo foobar blah\"").toString());
58 assertEquals("(multi multi2) foo", qp.parse("multi foo").toString());
59 assertEquals("foo (multi multi2)", qp.parse("foo multi").toString());
60 assertEquals("(multi multi2) (multi multi2)", qp.parse("multi multi").toString());
62 qp.parse("+(foo multi) +(bar multi)").toString());
64 qp.parse("+(foo multi) field:\"bar multi\"").toString());
281 public String toString(String f) { method in class:TestMultiAnalyzer.DumbQueryWrapper
[all...]
H A DTestMultiFieldQueryParser.java65 assertEquals(expectedRes, q.toString());
68 assertEquals(expectedRes, q.toString());
76 assertEquals("b:one t:one", q.toString());
79 assertEquals("(b:one t:one) (b:two t:two)", q.toString());
82 assertEquals("+(b:one t:one) +(b:two t:two)", q.toString());
85 assertEquals("+(b:one t:one) -(b:two t:two) -(b:three t:three)", q.toString());
88 assertEquals("((b:one t:one)^2.0) (b:two t:two)", q.toString());
91 assertEquals("(b:one~0.5 t:one~0.5) (b:two t:two)", q.toString());
94 assertEquals("(b:one~0.8 t:one~0.8) ((b:two t:two)^2.0)", q.toString());
97 assertEquals("(b:one* t:one*) (b:two* t:two*)", q.toString());
[all...]
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/queryParser/
H A DTestMultiAnalyzer.java51 assertEquals("foo", qp.parse("foo").toString());
52 assertEquals("foo", qp.parse("\"foo\"").toString());
53 assertEquals("foo foobar", qp.parse("foo foobar").toString());
54 assertEquals("\"foo foobar\"", qp.parse("\"foo foobar\"").toString());
55 assertEquals("\"foo foobar blah\"", qp.parse("\"foo foobar blah\"").toString());
58 assertEquals("(multi multi2) foo", qp.parse("multi foo").toString());
59 assertEquals("foo (multi multi2)", qp.parse("foo multi").toString());
60 assertEquals("(multi multi2) (multi multi2)", qp.parse("multi multi").toString());
62 qp.parse("+(foo multi) +(bar multi)").toString());
64 qp.parse("+(foo multi) field:\"bar multi\"").toString());
281 public String toString(String f) { method in class:TestMultiAnalyzer.DumbQueryWrapper
[all...]
H A DTestMultiFieldQueryParser.java65 assertEquals(expectedRes, q.toString());
68 assertEquals(expectedRes, q.toString());
76 assertEquals("b:one t:one", q.toString());
79 assertEquals("(b:one t:one) (b:two t:two)", q.toString());
82 assertEquals("+(b:one t:one) +(b:two t:two)", q.toString());
85 assertEquals("+(b:one t:one) -(b:two t:two) -(b:three t:three)", q.toString());
88 assertEquals("((b:one t:one)^2.0) (b:two t:two)", q.toString());
91 assertEquals("(b:one~0.5 t:one~0.5) (b:two t:two)", q.toString());
94 assertEquals("(b:one~0.8 t:one~0.8) ((b:two t:two)^2.0)", q.toString());
97 assertEquals("(b:one* t:one*) (b:two* t:two*)", q.toString());
[all...]
/lucene-3.6.0/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/standard/
H A DTestMultiAnalyzerQPHelper.java54 assertEquals("foo", qp.parse("foo", "").toString());
55 assertEquals("foo", qp.parse("\"foo\"", "").toString());
56 assertEquals("foo foobar", qp.parse("foo foobar", "").toString());
57 assertEquals("\"foo foobar\"", qp.parse("\"foo foobar\"", "").toString());
59 .toString());
62 assertEquals("(multi multi2) foo", qp.parse("multi foo", "").toString());
63 assertEquals("foo (multi multi2)", qp.parse("foo multi", "").toString());
65 .toString());
67 "+(foo multi) +(bar multi)", "").toString());
69 .parse("+(foo multi) field:\"bar multi\"", "").toString());
[all...]
H A DTestMultiAnalyzerWrapper.java52 assertEquals("foo", qp.parse("foo").toString());
53 assertEquals("foo", qp.parse("\"foo\"").toString());
54 assertEquals("foo foobar", qp.parse("foo foobar").toString());
55 assertEquals("\"foo foobar\"", qp.parse("\"foo foobar\"").toString());
57 .toString());
60 assertEquals("(multi multi2) foo", qp.parse("multi foo").toString());
61 assertEquals("foo (multi multi2)", qp.parse("foo multi").toString());
63 .toString());
65 "+(foo multi) +(bar multi)").toString());
67 .parse("+(foo multi) field:\"bar multi\"").toString());
[all...]
H A DTestMultiFieldQPHelper.java73 assertEquals(expectedRes, q.toString());
76 assertEquals(expectedRes, q.toString());
86 assertEquals("b:one t:one", q.toString());
89 assertEquals("(b:one t:one) (b:two t:two)", q.toString());
92 assertEquals("+(b:one t:one) +(b:two t:two)", q.toString());
96 .toString());
99 assertEquals("((b:one t:one)^2.0) (b:two t:two)", q.toString());
102 assertEquals("(b:one~0.5 t:one~0.5) (b:two t:two)", q.toString());
105 assertEquals("(b:one~0.8 t:one~0.8) ((b:two t:two)^2.0)", q.toString());
108 assertEquals("(b:one* t:one*) (b:two* t:two*)", q.toString());
[all...]
H A DTestMultiFieldQueryParserWrapper.java75 assertEquals(expectedRes, q.toString());
78 assertEquals(expectedRes, q.toString());
87 assertEquals("b:one t:one", q.toString());
90 assertEquals("(b:one t:one) (b:two t:two)", q.toString());
93 assertEquals("+(b:one t:one) +(b:two t:two)", q.toString());
97 .toString());
100 assertEquals("((b:one t:one)^2.0) (b:two t:two)", q.toString());
103 assertEquals("(b:one~0.5 t:one~0.5) (b:two t:two)", q.toString());
106 assertEquals("(b:one~0.8 t:one~0.8) ((b:two t:two)^2.0)", q.toString());
109 assertEquals("(b:one* t:one*) (b:two* t:two*)", q.toString());
[all...]
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/config/
H A DFieldConfig.java44 this(StringUtils.toString(fieldName));
85 public String toString() { method in class:FieldConfig
87 + super.toString() + "\"/>";
/lucene-3.6.0/solr/core/src/test/org/apache/solr/search/
H A DTestFoldingMultitermQuery.java42 String num = Integer.toString(i);
52 "date_f", "200" + Integer.toString(i % 10) + "-01-01T00:00:00Z",
72 assertU(adoc("id", Integer.toString(idx++), "content_greek", "Μάϊος"));
73 assertU(adoc("id", Integer.toString(idx++), "content_greek", "ΜΆΪΟΣ"));
77 assertU(adoc("id", Integer.toString(idx++), "content_turkish", "\u0130STANBUL"));
78 assertU(adoc("id", Integer.toString(idx++), "content_turkish", "ISPARTA"));
79 assertU(adoc("id", Integer.toString(idx++), "content_turkish", "izmir"));
83 assertU(adoc("id", Integer.toString(idx++), "content_russian", "электромагнитной"));
84 assertU(adoc("id", Integer.toString(idx++), "content_russian", "Вместе"));
85 assertU(adoc("id", Integer.toString(id
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/update/
H A DUpdateCommand.java33 public String toString() { method in class:UpdateCommand
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/search/results/
H A DFacetResult.java72 * @see #toString()
74 public String toString(String prefix) { method in class:FacetResult
81 this.facetRequest.toString());
92 sb.append(nl).append(this.rootNode.toString(prefix + "\t"));
95 return sb.toString();
99 public String toString() { method in class:FacetResult
100 return toString("");

Completed in 7170 milliseconds

1234567891011>>