Searched defs:start (Results 1 - 25 of 169) sorted by relevance

1234567

/lucene-3.6.0/lucene/contrib/highlighter/src/java/org/apache/lucene/search/highlight/
H A DFragmenter.java36 public void start(String originalText, TokenStream tokenStream); method in interface:Fragmenter
42 * passed to start(String, TokenStream) will have been incremented.
H A DNullFragmenter.java26 public void start(String s, TokenStream tokenStream) { method in class:NullFragmenter
H A DPositionSpan.java24 int start; field in class:PositionSpan
27 public PositionSpan(int start, int end) { argument
28 this.start = start;
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DFormatPostingsTermsConsumer.java33 abstract FormatPostingsDocsConsumer addTerm(char[] text, int start) throws IOException; argument
H A DInvertedDocConsumerPerField.java30 abstract boolean start(Fieldable[] fields, int count) throws IOException; method in class:InvertedDocConsumerPerField
33 abstract void start(Fieldable field); method in class:InvertedDocConsumerPerField
H A DTermFreqVector.java66 * @param start index in the array where the list of terms starts
69 public int[] indexesOf(String[] terms, int start, int len); argument
/lucene-3.6.0/solr/client/ruby/solr-ruby/lib/solr/response/
H A Dstandard.rb27 def start method in class:Solr
28 @response['start']
/lucene-3.6.0/solr/client/ruby/solr-ruby/test/functional/
H A Dtest_solr_server.rb14 # The behavior of TestSolrServer can be modified prior to start() by changing
36 solr_server.start
50 "java -Djetty.port=#{@port} -Dsolr.solr.home=#{@solr_home} -jar start.jar"
53 def start method in class:TestSolrServer
67 # start the solr server
86 # start the solr server
/lucene-3.6.0/lucene/contrib/highlighter/src/java/org/apache/lucene/search/vectorhighlight/
H A DBreakIteratorBoundaryScanner.java35 public int findStartOffset(StringBuilder buffer, int start) { argument
36 // avoid illegal start offset
37 if( start > buffer.length() || start < 1 ) return start;
38 bi.setText(buffer.substring(0, start));
43 public int findEndOffset(StringBuilder buffer, int start) { argument
44 // avoid illegal start offset
45 if( start > buffer.length() || start <
[all...]
H A DSimpleBoundaryScanner.java55 public int findStartOffset(StringBuilder buffer, int start) { argument
56 // avoid illegal start offset
57 if( start > buffer.length() || start < 1 ) return start;
59 for( offset = start; offset > 0 && count > 0; count-- ){
64 // if we scanned up to the start of the text, return it, its a "boundary"
69 return start;
72 public int findEndOffset(StringBuilder buffer, int start) { argument
73 // avoid illegal start offse
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DTopDocsCollector.java71 protected TopDocs newTopDocs(ScoreDoc[] results, int start) { argument
97 * Returns the documents in the rage [start .. pq.size()) that were collected
98 * by this collector. Note that if start >= pq.size(), an empty TopDocs is
104 * different <code>start</code>, you should call {@link #topDocs()} and work
108 public TopDocs topDocs(int start) { argument
112 return topDocs(start, topDocsSize());
116 * Returns the documents in the rage [start .. start+howMany) that were
117 * collected by this collector. Note that if start >= pq.size(), an empty
118 * TopDocs is returned, and if pq.size() - start
129 topDocs(int start, int howMany) argument
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/spans/
H A DSpans.java26 * increasing start position and finally by increasing end position. */
49 /** Returns the start position of the current match. Initially invalid. */
50 public abstract int start(); method in class:Spans
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestByteSlices.java41 synchronized void recycleByteBlocks(byte[][] blocks, int start, int end) { argument
42 for(int i=start;i<end;i++)
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/store/
H A DTestNRTCachingDirectory.java150 * byte is written as the start byte provided. All subsequent bytes are
151 * computed as start + offset where offset is the number of the byte.
153 private void createSequenceFile(Directory dir, String name, byte start, int size) throws IOException { argument
156 os.writeByte(start);
157 start ++;
/lucene-3.6.0/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/
H A DMockSolrEntityProcessor.java44 protected SolrDocumentList doQuery(int start) { argument
46 return getDocs(start, rows);
49 private SolrDocumentList getDocs(int start, int rows) { argument
52 docs.setStart(start);
54 int endIndex = start + rows;
56 for (int i = start; i < end; i++) {
/lucene-3.6.0/solr/core/src/java/org/apache/solr/analysis/
H A DReversedWildcardFilter.java87 * @param start the offset from where to reverse the buffer
91 public static void reverse(final char[] buffer, final int start, final int len) { argument
95 int end = (start + len) - 1;
96 char frontHigh = buffer[start];
99 final int mid = start + (len >> 1);
100 for (int i = start; i < mid; ++i, --end) {
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestByteSlices.java41 synchronized void recycleByteBlocks(byte[][] blocks, int start, int end) { argument
42 for(int i=start;i<end;i++)
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/store/
H A DTestNRTCachingDirectory.java150 * byte is written as the start byte provided. All subsequent bytes are
151 * computed as start + offset where offset is the number of the byte.
153 private void createSequenceFile(Directory dir, String name, byte start, int size) throws IOException { argument
156 os.writeByte(start);
157 start ++;
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/miscellaneous/
H A DTestPrefixAndSuffixAwareTokenFilter.java42 private static Token createToken(String term, int start, int offset) argument
44 return new Token(term, start, offset);
H A DTestPrefixAwareTokenFilter.java53 private static Token createToken(String term, int start, int offset) argument
55 return new Token(term, start, offset);
/lucene-3.6.0/solr/core/src/java/org/apache/solr/request/
H A DLocalSolrQueryRequest.java39 protected static SolrParams makeParams(String query, String qtype, int start, int limit, Map args) { argument
50 map.put(CommonParams.START, new String[]{Integer.toString(start)});
55 public LocalSolrQueryRequest(SolrCore core, String query, String qtype, int start, int limit, Map args) { argument
56 super(core,makeParams(query,qtype,start,limit,args));
/lucene-3.6.0/solr/solrj/src/java/org/apache/noggit/
H A DCharUtil.java28 public long parseLong(char[] arr, int start, int end) { argument
30 boolean negative = arr[start] == '-';
31 for (int i=negative ? start+1 : start; i<end; i++) {
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/common/
H A DSolrDocumentList.java33 private long start = 0; field in class:SolrDocumentList
53 return start;
56 public void setStart(long start) { argument
57 this.start = start;
63 +",start="+start
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/common/util/
H A DHash.java56 * @param offset offset of the start of the key
128 * via {@code lookup3ycs(s, start, end, initval+(numCodePoints<<2))}
130 public static int lookup3ycs(CharSequence s, int start, int end, int initval) { argument
134 // since we don't know the number of code points to start with,
137 int i=start;
189 public static long lookup3ycs64(CharSequence s, int start, int end, long initval) { argument
194 // since we don't know the number of code points to start with,
197 int i=start;
/lucene-3.6.0/solr/solrj/src/test/org/apache/solr/common/util/
H A DTestFastInputStream.java58 public static void readChars(InputStream in, char[] buffer, int start, int length) argument
60 final int end = start + length;
61 for (int i = start; i < end; i++) {
76 public static void writeChars(OutputStream os, String s, int start, int length) throws IOException { argument
77 final int end = start + length;
78 for (int i = start; i < end; i++) {

Completed in 35 milliseconds

1234567