Searched defs:body (Results 1 - 8 of 8) sorted by relevance

/lucene-3.6.0/lucene/contrib/queries/src/java/org/apache/lucene/search/similar/
H A DSimilarityQueries.java69 * This method is fail-safe in that if a long 'body' is passed in and
75 * @param body the body of the document you want to find similar documents to
76 * @param a the analyzer to use to parse the body
77 * @param field the field you want to search on, probably something like "contents" or "body"
79 * @return a query with all unique words in 'body'
82 public static Query formSimilarQuery( String body, argument
88 TokenStream ts = a.reusableTokenStream( field, new StringReader( body));
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/
H A DResponseParser.java33 public abstract NamedList<Object> processResponse(InputStream body, String encoding); argument
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/impl/
H A DBinaryResponseParser.java39 public NamedList<Object> processResponse(InputStream body, String encoding) { argument
41 return (NamedList<Object>) new JavaBinCodec().unmarshal(body);
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/utils/
H A DExtractWikipedia.java68 public void create(String id, String title, String time, String body) { argument
80 contents.append(body);
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/util/
H A DLineFileDocs.java113 final Field body; field in class:LineFileDocs.DocState
126 body = new Field("body", "", Field.Store.YES, Field.Index.ANALYZED, Field.TermVector.WITH_POSITIONS_OFFSETS);
127 doc.add(body);
170 docState.body.setValue(line.substring(1+spot2, line.length()));
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/util/
H A DLineFileDocs.java113 final Field body; field in class:LineFileDocs.DocState
126 body = new Field("body", "", Field.Store.YES, Field.Index.ANALYZED, Field.TermVector.WITH_POSITIONS_OFFSETS);
127 doc.add(body);
170 docState.body.setValue(line.substring(1+spot2, line.length()));
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/
H A DDocData.java29 private String body; field in class:DocData
37 body = null;
45 return body;
74 public void setBody(String body) { argument
75 this.body = body;
H A DEnwikiContentSource.java60 private String body; field in class:EnwikiContentSource.Parser
129 // the body must be null and we either are keeping image docs or the
131 if (body != null && (keepImages || !title.startsWith("Image:"))) {
135 tmpTuple[BODY] = body.replaceAll("[\t\n]", " ");
151 body = contents.toString();
153 String startsWith = body.substring(0, Math.min(10, contents.length())).toLowerCase();
155 body = null;
229 body = null;

Completed in 1960 milliseconds