Searched defs:rows (Results 1 - 12 of 12) sorted by relevance

/lucene-3.6.0/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/
H A DMockSolrEntityProcessor.java29 // private final int rows;
32 private int rows; field in class:MockSolrEntityProcessor
38 public MockSolrEntityProcessor(List<SolrTestCaseJ4.Doc> docsData, int rows) { argument
40 this.rows = rows;
46 return getDocs(start, rows);
49 private SolrDocumentList getDocs(int start, int rows) { argument
54 int endIndex = start + rows;
H A DTestThreaded.java82 private <T> List<T> shuffled(List<T> rows){ argument
83 ArrayList<T> shuffle = new ArrayList<T>(rows);
H A DTestSqlEntityProcessor.java37 List<Map<String, Object>> rows = getRows(3);
41 Context c = getContext(null, vr, getDs(rows), Context.FULL_DUMP, null, ea);
57 List<Map<String, Object>> rows = getRows(2);
63 sep.init(getContext(null, vr, getDs(rows), Context.FULL_DUMP, null, ea));
80 List<Map<String, Object>> rows = getRows(2);
86 sep.init(getContext(null, vr, getDs(rows), Context.FULL_DUMP, null, ea));
103 List<Map<String, Object>> rows = getRows(2);
109 sep.init(getContext(null, vr, getDs(rows), Context.FULL_DUMP, null, ea));
125 List<Map<String, Object>> rows = new ArrayList<Map<String, Object>>();
130 rows
135 getDs( final List<Map<String, Object>> rows) argument
[all...]
/lucene-3.6.0/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/
H A DThreadedEntityProcessorWrapper.java71 public void init(DocBuilder.EntityRow rows) { argument
72 for (DocBuilder.EntityRow row = rows; row != null; row = row.tail) resolver.addNamespace(row.name, row.row);
H A DSolrEntityProcessor.java68 private int rows = ROWS_DEFAULT; field in class:SolrEntityProcessor
122 rows = Integer.parseInt(rowsP);
180 solrQuery.setRows(rows);
H A DDataImporter.java340 if (map.containsKey("rows")) {
341 int rows = Integer.parseInt((String) map.get("rows"));
343 rows += Integer.parseInt((String) map.get("start"));
345 copyProps.setProperty("maxRows", String.valueOf(rows));
536 public long rows = Integer.MAX_VALUE; field in class:DataImporter.RequestParams
561 rows = 10;
575 if (requestParams.containsKey("rows"))
576 rows = Integer.parseInt((String) requestParams.get("rows"));
[all...]
H A DDocBuilder.java455 public void run(final DocWrapper docWrapper, final String currProcess, final EntityRow rows, int threadedWrapperNumber) throws Exception { argument
463 runAThread(currentWrapper, docWrapper, rows, currProcess);
470 runAThread(processorWrapper, docWrapper, rows, currProcess);
493 private void runAThread(ThreadedEntityProcessorWrapper epw, final DocWrapper parentDocWrapper, EntityRow rows, String currProcess) throws Exception { argument
498 epw.init(rows);
512 for (EntityRow row = rows; row != null&& e !=null; row = row.tail,e=e.parentEntity) {
521 EntityRow nextRow = new EntityRow(arow, rows, entity.name);
661 if(importStatistics.docCount.get() > (requestParameters.start + requestParameters.rows)) break;
692 if (seenDocCount > requestParameters.start + requestParameters.rows) {
975 // identifying the modified rows fo
[all...]
/lucene-3.6.0/lucene/contrib/analyzers/stempel/src/java/org/egothor/stemmer/
H A DTrie.java72 List<Row> rows = new ArrayList<Row>(); field in class:Trie
91 rows.add(new Row(is));
101 rows.add(new Row());
113 * @param rows a Vector of Vectors. Each inner Vector is a node of this Trie
115 public Trie(boolean forward, int root, List<CharSequence> cmds, List<Row> rows) { argument
116 this.rows = rows;
192 for (Row row : rows)
204 for (Row row : rows)
216 for (Row row : rows)
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/
H A DMoreLikeThisHandler.java123 int rows = params.getInt(CommonParams.ROWS, 10);
128 mltDocs = mlt.getMoreLikeThis(reader, start, rows, filters,
149 mltDocs = mlt.getMoreLikeThis(id, start, rows, filters, interesting,
308 public DocListAndSet getMoreLikeThis( int id, int start, int rows, List<Query> filters, List<InterestingTerm> terms, int flags ) throws IOException argument
326 results = searcher.getDocListAndSet(realMLTQuery, filters, null, start, rows, flags);
328 results.docList = searcher.getDocList(realMLTQuery, filters, null, start, rows, flags);
333 public DocListAndSet getMoreLikeThis( Reader reader, int start, int rows, List<Query> filters, List<InterestingTerm> terms, int flags ) throws IOException argument
343 results = searcher.getDocListAndSet( boostedMLTQuery, filters, null, start, rows, flags);
345 results.docList = searcher.getDocList( boostedMLTQuery, filters, null, start, rows, flags);
351 public NamedList<DocList> getMoreLikeThese( DocList docs, int rows, in argument
[all...]
/lucene-3.6.0/solr/core/src/test/org/apache/solr/
H A DTestGroupingSearch.java225 req("q", "*:*", "start", "1", "rows", "1", "group", "true", "group.field", "id", "group.main", "true"),
240 req("q", "*:*", "start", "2", "rows", "1", "group", "true", "group.field", "id", "group.main", "true"),
268 req("q", "*:*", "sort", "sum(value1_i, value2_i) desc", "rows", "1", "group", "true", "group.field", "id", "fl", "id"),
273 req("q", "*:*", "sort", "geodist(45.18014,-93.87742,store) asc", "rows", "1", "group", "true", "group.field", "id", "fl", "id"),
289 SolrQueryRequest req = req("q", "*:*", "sort", "value2_i asc", "rows", "1", "group", "true", "group.field",
298 req = req("q", "*:*", "sort", "value2_i asc", "rows", "1", "group", "true", "group.field",
307 req = req("q", "*:*", "rows", "1", "group", "true", "group.field", "value4_s1", "fl", "id", "facet", "true",
316 req = req("q", "*:*", "rows", "1", "group", "true", "group.field", "value4_s1", "fl", "id", "facet", "true",
325 req = req("q", "*:*", "rows", "1", "group", "true", "group.field", "value4_s1", "fl", "id", "facet", "true",
403 assertJQ(req("fq",filt, "q","{!func}"+f2, "group","true", "group.field",f, "fl","id", "rows","
765 buildGroupedResult(IndexSchema schema, List<Grp> sortedGroups, int start, int rows, int group_offset, int group_limit, boolean includeNGroups) argument
[all...]
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/shingle/
H A DShingleMatrixFilter.java64 * used to create permutations of the second dimension, the rows,
102 * or if each column contains a great number of rows.
583 * @param currentPermuationTokens tokens of the current permutation of rows in the matrix.
742 private List<Row> rows = new ArrayList<Row>(); field in class:ShingleMatrixFilter.Matrix.Column
745 return rows;
758 ", rows=" + rows +
787 Column.this.rows.add(this);
791 return Column.this.rows.indexOf(this);
805 // ret = Column.this.rows
[all...]
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/
H A DSolrQuery.java662 public SolrQuery setRows(Integer rows) { argument
663 if( rows == null ) {
667 this.set(CommonParams.ROWS, rows);

Completed in 74 milliseconds