Searched defs:result (Results 1 - 25 of 59) sorted by relevance

123

/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/util/
H A DEnglish.java28 StringBuilder result = new StringBuilder();
29 longToEnglish(i, result);
30 return result.toString();
33 public static void longToEnglish(long i, StringBuilder result) { argument
35 result.append("zero");
39 result.append("minus ");
43 longToEnglish(i / 1000000000000000000l, result);
44 result.append("quintillion, ");
48 longToEnglish(i / 1000000000000000l, result);
49 result
182 intToEnglish(int i, StringBuilder result) argument
[all...]
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/util/
H A DEnglish.java28 StringBuilder result = new StringBuilder();
29 longToEnglish(i, result);
30 return result.toString();
33 public static void longToEnglish(long i, StringBuilder result) { argument
35 result.append("zero");
39 result.append("minus ");
43 longToEnglish(i / 1000000000000000000l, result);
44 result.append("quintillion, ");
48 longToEnglish(i / 1000000000000000l, result);
49 result
182 intToEnglish(int i, StringBuilder result) argument
[all...]
/lucene-3.6.0/lucene/contrib/icu/src/java/org/apache/lucene/collation/
H A DICUCollationKeyAnalyzer.java83 TokenStream result = new KeywordTokenizer(reader);
84 result = new ICUCollationKeyFilter(result, collator);
85 return result;
90 TokenStream result; field in class:ICUCollationKeyAnalyzer.SavedStreams
101 streams.result = new ICUCollationKeyFilter(streams.source, collator);
106 return streams.result;
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/
H A DWordlistLoader.java44 * @param result the {@link CharArraySet} to fill with the readers words
47 public static CharArraySet getWordSet(Reader reader, CharArraySet result) throws IOException { argument
53 result.add(word.trim());
59 return result;
99 * @param result the {@link CharArraySet} to fill with the readers words
102 public static CharArraySet getWordSet(Reader reader, String comment, CharArraySet result) throws IOException { argument
109 result.add(word.trim());
116 return result;
132 * @param result the {@link CharArraySet} to fill with the readers words
135 public static CharArraySet getSnowballWordSet(Reader reader, CharArraySet result) argument
182 getStemDict(Reader reader, CharArrayMap<String> result) argument
[all...]
H A DReusableAnalyzerBase.java119 * @param result
123 final TokenStream result) {
125 this.sink = result;
122 TokenStreamComponents(final Tokenizer source, final TokenStream result) argument
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/collation/
H A DCollationKeyAnalyzer.java88 TokenStream result = new KeywordTokenizer(reader);
89 result = new CollationKeyFilter(result, collator);
90 return result;
95 TokenStream result; field in class:CollationKeyAnalyzer.SavedStreams
106 streams.result = new CollationKeyFilter(streams.source, collator);
111 return streams.result;
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/tartarus/snowball/
H A DAmong.java38 public Among (String s, int substring_i, int result, argument
43 this.result = result;
60 public final int result; /* result of the lookup */ field in class:Among
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/grouping/
H A DCommand.java51 T result(); method in interface:Command
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/grouping/endresulttransformer/
H A DEndResultTransformer.java27 * Responsible for transforming the grouped result into the final format for displaying purposes.
34 * Transforms the specified result into its final form and puts it into the specified response.
36 * @param result The map containing the grouping result (for grouping by field and query)
37 * @param rb The response builder containing the response used to render the result and the grouping specification
40 void transform(Map<String, ?> result, ResponseBuilder rb, SolrDocumentSource solrDocumentSource); argument
H A DGroupedEndResultTransformer.java37 * Implementation of {@link EndResultTransformer} that keeps each grouped result separate in the final response.
50 public void transform(Map<String, ?> result, ResponseBuilder rb, SolrDocumentSource solrDocumentSource) { argument
52 for (Map.Entry<String, ?> entry : result.entrySet()) {
H A DMainEndResultTransformer.java30 * Implementation of {@link EndResultTransformer} that transforms the grouped result into the main result list in the
38 public void transform(Map<String, ?> result, ResponseBuilder rb, SolrDocumentSource solrDocumentSource) { argument
39 Object value = result.get(rb.getGroupingSpec().getFields()[0]);
H A DSimpleEndResultTransformer.java32 * Implementation of {@link EndResultTransformer} that transforms the grouped result into a single flat list.
39 public void transform(Map<String, ?> result, ResponseBuilder rb, SolrDocumentSource solrDocumentSource) { argument
41 for (Map.Entry<String, ?> entry : result.entrySet()) {
/lucene-3.6.0/solr/core/src/java/org/apache/solr/spelling/
H A DSpellCheckCollator.java38 public List<SpellCheckCollation> collate(SpellingResult result, String originalQuery, ResponseBuilder ultimateResponse, argument
65 PossibilityIterator possibilityIter = new PossibilityIterator(result.getSuggestions(), maxTries, maxEvaluations);
H A DSpellingQueryConverter.java101 Collection<Token> result = new ArrayList<Token>();
108 analyze(result, new StringReader(word), matcher.start());
114 return result;
117 protected void analyze(Collection<Token> result, Reader text, int offset) throws IOException { argument
136 result.add(token);
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/response/
H A DGroup.java28 * A group value can be a field value, function result or a query string depending on the {@link GroupCommand}.
29 * In case of a field value or a function result the value is always a indexed value.
42 * @param result The documents to be displayed that belong to this group
44 public Group(String groupValue, SolrDocumentList result) { argument
46 _result = result;
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/snowball/
H A DSnowballAnalyzer.java80 TokenStream result = new StandardTokenizer(matchVersion, reader);
81 result = new StandardFilter(matchVersion, result);
85 result = new EnglishPossessiveFilter(result);
88 result = new TurkishLowerCaseFilter(result);
90 result = new LowerCaseFilter(matchVersion, result);
92 result
100 TokenStream result; field in class:SnowballAnalyzer.SavedStreams
[all...]
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/taxonomy/
H A DTaxonomyReader.java108 public boolean getPath(int ordinal, CategoryPath result) throws IOException; argument
/lucene-3.6.0/lucene/contrib/queries/src/java/org/apache/lucene/search/
H A DChainedFilter.java129 OpenBitSetDISI result;
136 result = new OpenBitSetDISI(getDISI(chain[index[0]], reader), reader.maxDoc());
141 result = new OpenBitSetDISI(getDISI(chain[index[0]], reader), reader.maxDoc());
142 result.flip(0,reader.maxDoc()); // NOTE: may set bits for deleted docs.
147 result = new OpenBitSetDISI(reader.maxDoc());
149 return result;
159 protected final DocIdSet finalResult(OpenBitSetDISI result, int maxDocs) { argument
160 return result;
173 OpenBitSetDISI result = initialResult(reader, logic, index);
176 doChain(result, logi
215 doChain(OpenBitSetDISI result, int logic, DocIdSet dis) argument
[all...]
/lucene-3.6.0/lucene/contrib/spellchecker/src/test/org/apache/lucene/search/suggest/fst/
H A DFSTLookupTest.java181 String [] result = new String [res.size()];
183 result[i] = res.get(i).toString();
185 if (!Arrays.equals(expected, result)) {
186 int colLen = Math.max(maxLen(expected), maxLen(result));
191 for (int i = 0; i < Math.max(result.length, expected.length); i++) {
194 i < result.length ? result[i] : "--"));
202 private int maxLen(String[] result) { argument
204 for (String s : result)
/lucene-3.6.0/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/
H A DQueryTemplateManager.java105 StreamResult result=new StreamResult(baos);
106 transformCriteria(formProperties,template,result);
116 StreamResult result=new StreamResult(baos);
117 transformCriteria(formProperties,xslIs,result);
127 DOMResult result=new DOMResult();
128 transformCriteria(formProperties,template,result);
129 return (Document)result.getNode();
138 DOMResult result=new DOMResult();
139 transformCriteria(formProperties,xslIs,result);
140 return (Document)result
149 transformCriteria(Properties formProperties, InputStream xslIs, Result result) argument
167 transformCriteria(Properties formProperties, Templates template, Result result) argument
174 transformCriteria(Properties formProperties, Transformer transformer, Result result) argument
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/fst/
H A DBytesRefFSTEnum.java32 private final InputOutput<T> result = new InputOutput<T>(); field in class:BytesRefFSTEnum
46 result.input = current;
51 return result;
121 result.output = output[upto];
122 return result;
H A DIntsRefFSTEnum.java32 private final InputOutput<T> result = new InputOutput<T>(); field in class:IntsRefFSTEnum
46 result.input = current;
51 return result;
121 result.output = output[upto];
122 return result;
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/grouping/distributed/command/
H A DSearchGroupsFieldCommand.java90 public Collection<SearchGroup<String>> result() { method in class:SearchGroupsFieldCommand
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/grouping/distributed/shardresultserializer/
H A DTopGroupsResultTransformer.java61 NamedList<NamedList> result = new NamedList<NamedList>();
67 commandResult = serializeTopGroups(fieldCommand.result(), groupField);
70 commandResult = serializeTopDocs(queryCommand.result());
75 result.add(command.getKey(), commandResult);
77 return result;
84 Map<String, Object> result = new HashMap<String, Object>();
111 result.put(key, new QueryCommandResult(new TopDocs(totalHits, scoreDocs, maxScore), matches));
156 result.put(key, topGroups);
159 return result;
163 NamedList<Object> result
215 serializeTopDocs(QueryCommandResult result) argument
[all...]
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/store/
H A DNativePosixUtil.cpp82 int result = posix_fadvise(fd, (off_t) offset, (off_t) len, osAdvice); local
83 if (result == 0) {

Completed in 49 milliseconds

123