Searched defs:group (Results 1 - 10 of 10) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/
H A DNamedThreadFactory.java32 private final ThreadGroup group; field in class:NamedThreadFactory
44 group = (s != null) ? s.getThreadGroup() : Thread.currentThread()
60 final Thread t = new Thread(group, r, String.format("%s-%d",
/lucene-3.6.0/solr/core/src/java/org/apache/solr/analysis/
H A DPatternTokenizer.java31 * for the input stream. It takes two arguments: "pattern" and "group".
35 * <li>"group" says which group to extract into tokens.</li>
38 * group=-1 (the default) is equivalent to "split". In this case, the tokens will
43 * Using group >= 0 selects the matching group as the token. For example, if you have:<br/>
46 * group = 0
50 * but using group=1, the output would be: bbb and ccc (no ' marks)
66 private final int group; field in class:PatternTokenizer
69 /** creates a new PatternTokenizer returning tokens from group (
70 PatternTokenizer(Reader input, Pattern pattern, int group) argument
[all...]
H A DPatternTokenizerFactory.java36 * for the input stream. It takes two arguments: "pattern" and "group".
40 * <li>"group" says which group to extract into tokens.</li>
43 * group=-1 (the default) is equivalent to "split". In this case, the tokens will
48 * Using group >= 0 selects the matching group as the token. For example, if you have:<br/>
51 * group = 0
55 * but using group=1, the output would be: bbb and ccc (no ' marks)
62 * &lt;tokenizer class="solr.PatternTokenizerFactory" pattern="\'([^\']+)\'" group="1"/&gt;
73 public static final String GROUP = "group";
76 protected int group; field in class:PatternTokenizerFactory
163 public static List<Token> group( Matcher matcher, String input, int group ) method in class:PatternTokenizerFactory
[all...]
/lucene-3.6.0/lucene/contrib/analyzers/kuromoji/src/tools/java/org/apache/lucene/analysis/ja/util/
H A DCharacterDefinitionWriter.java66 public void putInvokeDefinition(String characterClassName, int invoke, int group, int length) { argument
69 groupMap[characterClass] = group == 1;
H A DUnknownDictionaryWriter.java56 public void putInvokeDefinition(String characterClassName, int invoke, int group, int length) { argument
57 characterDefinition.putInvokeDefinition(characterClassName, invoke, group, length);
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/response/
H A DGroupCommand.java25 * This class represents the result of a group command.
28 * <li> group.field
29 * <li> group.func
30 * <li> group.query
41 * In case of <code>group.query</code> only one group is present and ngroups is always <code>null</code>.
87 * Adds a group to this command.
89 * @param group A group to be added
91 public void add(Group group) { argument
[all...]
/lucene-3.6.0/lucene/contrib/grouping/src/test/org/apache/lucene/search/grouping/
H A DTermAllGroupHeadsCollectorTest.java184 Field group = newField("group", "", Field.Index.NOT_ANALYZED);
185 doc.add(group);
205 // So we test the "doc doesn't have the group'd
222 System.out.println(" doc content=" + groupDoc.content + " id=" + i + " group=" + (groupDoc.group == null ? "null" : groupDoc.group) + " sort1=" + groupDoc.sort1 + " sort2=" + groupDoc.sort2 + " sort3=" + groupDoc.sort3);
226 if (groupDoc.group != null) {
227 group.setValue(groupDoc.group);
471 final String group; field in class:TermAllGroupHeadsCollectorTest.GroupDoc
479 GroupDoc(int id, String group, String sort1, String sort2, String sort3, String content) argument
[all...]
H A DTestGrouping.java123 GroupDocs group = groups.groups[0];
124 assertEquals("author3", group.groupValue);
125 assertEquals(2, group.scoreDocs.length);
126 assertEquals(5, group.scoreDocs[0].doc);
127 assertEquals(4, group.scoreDocs[1].doc);
128 assertTrue(group.scoreDocs[0].score > group.scoreDocs[1].score);
130 group = groups.groups[1];
131 assertEquals("author1", group.groupValue);
132 assertEquals(3, group
155 final String group; field in class:TestGrouping.GroupDoc
163 GroupDoc(int id, String group, String sort1, String sort2, String content) argument
[all...]
/lucene-3.6.0/lucene/contrib/grouping/src/java/org/apache/lucene/search/grouping/
H A DSearchGroup.java28 * Represents a group that is found during the first pass search.
34 /** The value that defines this group */
39 * (by the groupSort) within the group. Can be
84 final SearchGroup<T> group = iter.next();
85 if (group.sortValues == null) {
86 throw new IllegalArgumentException("group.sortValues is null; you must pass fillFields=true to the first pass collector");
88 return group;
97 // Holds all shards currently on the same group
172 public int compare(MergedGroup<T> group, MergedGroup<T> other) { argument
173 if (group
[all...]
/lucene-3.6.0/lucene/contrib/highlighter/src/test/org/apache/lucene/search/highlight/
H A DHighlighterTest.java1678 public String highlightTerm(String originalText, TokenGroup group) { argument
1679 if (group.getTotalScore() <= 0) {

Completed in 106 milliseconds