Searched refs:STRING (Results 1 - 25 of 37) sorted by relevance

12

/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/
H A DSorting.java45 else return new SortField(fieldName, SortField.STRING, true);
48 else return new SortField(fieldName, SortField.STRING, false);
50 return new SortField(fieldName, SortField.STRING, reverse);
/lucene-3.6.0/lucene/contrib/analyzers/smartcn/src/java/org/apache/lucene/analysis/cn/smart/
H A DWordType.java44 public final static int STRING = 3; field in class:WordType
H A DWordSegmenter.java73 case WordType.STRING:
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/parser/
H A DEscapeQuerySyntax.java28 STRING, NORMAL; enum constant in enum:EscapeQuerySyntax.Type
/lucene-3.6.0/solr/solrj/src/java/org/apache/noggit/
H A DJSONParser.java31 public static final int STRING=1; field in class:JSONParser
64 case STRING: return "STRING";
510 valstate = STRING;
511 return STRING;
589 * <li>{@link #STRING}</li>
604 if (valstate==STRING) {
627 valstate = STRING;
628 return event = STRING;
649 valstate = STRING;
[all...]
/lucene-3.6.0/lucene/contrib/analyzers/smartcn/src/java/org/apache/lucene/analysis/cn/smart/hhmm/
H A DSegTokenFilter.java54 case WordType.STRING:
H A DHHMMSegmenter.java116 wordType = hasFullWidth ? WordType.FULLWIDTH_STRING : WordType.STRING;
154 token = new SegToken(charArray, i, j, WordType.STRING, frequency);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DSortField.java50 public static final int STRING = 3; field in class:SortField
82 * This is typically slower than {@link #STRING}, which
174 initFieldType(field, STRING);
184 initFieldType(field, STRING);
240 * @return One of the constants SCORE, DOC, STRING, INT or FLOAT.
288 case STRING:
427 case SortField.STRING:
H A DFieldDocSortedHitQueue.java109 if (type == SortField.STRING) {
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/wikipedia/
H A DWikipediaTokenizerImpl.java47 public static final int STRING = 18; field in class:WikipediaTokenizerImpl
854 { currentTokType = SUB_HEADING; numWikiTokensSeen = 0; yybegin(STRING); /* Break so we don't hit fall-through warning: */ break;
870 { yybegin(STRING); return currentTokType;/*pipe*/
874 { /* Break so we don't hit fall-through warning: */ break;/* ignore STRING */
942 { yybegin(STRING); numWikiTokensSeen++; return currentTokType;/* STRING ALPHANUM*/
958 { yybegin(STRING); numWikiTokensSeen++; return currentTokType;
990 { currentTokType = ITALICS; numWikiTokensSeen++; yybegin(STRING); return currentTokType;/*italics*/
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/
H A DTestCustomSearcherSort.java91 new SortField("publicationDate_", SortField.STRING),
105 new SortField("publicationDate_", SortField.STRING),
120 new SortField("publicationDate_", SortField.STRING),
H A DTestSort.java296 sort.setSort (new SortField ("string", SortField.STRING), SortField.FIELD_DOC );
370 new SortField("string", SortField.STRING),
371 new SortField("string2", SortField.STRING, true),
500 sort.setSort (new SortField ("string", SortField.STRING, true), SortField.FIELD_DOC );
503 sort.setSort (new SortField ("float", SortField.FLOAT), new SortField ("string", SortField.STRING) );
585 sort.setSort (new SortField ("string", SortField.STRING, true) );
592 sort.setSort (new SortField ("string", SortField.STRING) );
595 sort.setSort (new SortField ("string", SortField.STRING, true) );
614 sort.setSort (new SortField ("nosuchfield", SortField.STRING),
624 new SortField ("string", SortField.STRING),
[all...]
H A DTestDateSort.java83 Sort sort = new Sort(new SortField(DATE_TIME_FIELD, SortField.STRING, true));
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/
H A DTestCustomSearcherSort.java91 new SortField("publicationDate_", SortField.STRING),
105 new SortField("publicationDate_", SortField.STRING),
120 new SortField("publicationDate_", SortField.STRING),
H A DTestSort.java291 sort.setSort (new SortField ("string", SortField.STRING), SortField.FIELD_DOC );
365 new SortField("string", SortField.STRING),
366 new SortField("string2", SortField.STRING, true),
495 sort.setSort (new SortField ("string", SortField.STRING, true), SortField.FIELD_DOC );
498 sort.setSort (new SortField ("float", SortField.FLOAT), new SortField ("string", SortField.STRING) );
580 sort.setSort (new SortField ("string", SortField.STRING, true) );
587 sort.setSort (new SortField ("string", SortField.STRING) );
590 sort.setSort (new SortField ("string", SortField.STRING, true) );
609 sort.setSort (new SortField ("nosuchfield", SortField.STRING),
619 new SortField ("string", SortField.STRING),
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/
H A DJsonLoader.java94 case JSONParser.STRING:
163 if( ev == JSONParser.STRING ) {
210 if( ev == JSONParser.STRING ) {
251 if( ev == JSONParser.STRING ) {
345 case JSONParser.STRING:
/lucene-3.6.0/lucene/contrib/grouping/src/test/org/apache/lucene/search/grouping/
H A DTermAllGroupHeadsCollectorTest.java122 // STRING sort type triggers different implementation
123 Sort sortWithinGroup2 = new Sort(new SortField("id", SortField.STRING, true));
129 Sort sortWithinGroup3 = new Sort(new SortField("id", SortField.STRING, false));
415 sortFields.add(new SortField("sort1", SortField.STRING, random.nextBoolean()));
417 sortFields.add(new SortField("sort2", SortField.STRING, random.nextBoolean()));
420 sortFields.add(new SortField("sort1", SortField.STRING, random.nextBoolean()));
421 sortFields.add(new SortField("sort2", SortField.STRING, random.nextBoolean()));
426 sortFields.add(new SortField("sort3", SortField.STRING));
/lucene-3.6.0/lucene/contrib/remote/src/test/org/apache/lucene/search/
H A DTestRemoteSort.java254 sort.setSort (new SortField("string", SortField.STRING));
269 sort.setSort (new SortField("float", SortField.FLOAT), new SortField("string", SortField.STRING));
295 sort.setSort(new SortField("string", SortField.STRING));
305 sort.setSort(new SortField ("string", SortField.STRING, true));
311 sort.setSort(new SortField ("float", SortField.FLOAT), new SortField ("string", SortField.STRING));
323 sort.setSort(new SortField ("string", SortField.STRING));
326 sort.setSort(new SortField ("string", SortField.STRING, true));
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/nodes/
H A DFieldQueryNode.java82 return escaper.escape(this.text, Locale.getDefault(), Type.STRING);
H A DPathQueryNode.java190 .getDefault(), Type.STRING);
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/analysis/
H A DCollationTestBase.java247 sort.setSort(new SortField("US", SortField.STRING));
250 sort.setSort(new SortField("France", SortField.STRING));
253 sort.setSort(new SortField("Sweden", SortField.STRING));
256 sort.setSort(new SortField("Denmark", SortField.STRING));
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/analysis/
H A DCollationTestBase.java240 sort.setSort(new SortField("US", SortField.STRING));
243 sort.setSort(new SortField("France", SortField.STRING));
246 sort.setSort(new SortField("Sweden", SortField.STRING));
249 sort.setSort(new SortField("Denmark", SortField.STRING));
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/
H A DSearchWithSortTask.java107 type = SortField.STRING;
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/component/
H A DShardDoc.java128 if (fields[i].getType() == SortField.STRING) {
179 case SortField.STRING:
/lucene-3.6.0/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/standard/
H A DTestNumericQueryParser.java403 EscapeQuerySyntax.Type.STRING).toString();
412 EscapeQuerySyntax.Type.STRING).toString();
440 .longValue())), LOCALE, EscapeQuerySyntax.Type.STRING).toString();
459 .longValue())), LOCALE, EscapeQuerySyntax.Type.STRING).toString();
486 LOCALE, EscapeQuerySyntax.Type.STRING).toString();

Completed in 76 milliseconds

12