Searched defs:idField (Results 1 - 4 of 4) sorted by relevance
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestStressIndexing2.java | 273 public static void verifyEquals(Random r, IndexReader r1, Directory dir2, String idField) throws Throwable { argument 275 verifyEquals(r1, r2, idField); 279 public static void verifyEquals(Directory dir1, Directory dir2, String idField) throws Throwable { argument 282 verifyEquals(r1, r2, idField); 303 public static void verifyEquals(IndexReader r1, IndexReader r2, String idField) throws Throwable { argument 320 // create mapping from id2 space to id2 based on idField 321 idField = StringHelper.intern(idField); 322 TermEnum termEnum = r1.terms (new Term (idField, "")); 325 if (term==null || term.field() != idField) brea [all...] |
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestStressIndexing2.java | 272 public static void verifyEquals(Random r, IndexReader r1, Directory dir2, String idField) throws Throwable { argument 274 verifyEquals(r1, r2, idField); 278 public static void verifyEquals(Directory dir1, Directory dir2, String idField) throws Throwable { argument 281 verifyEquals(r1, r2, idField); 302 public static void verifyEquals(IndexReader r1, IndexReader r2, String idField) throws Throwable { argument 319 // create mapping from id2 space to id2 based on idField 320 idField = StringHelper.intern(idField); 321 TermEnum termEnum = r1.terms (new Term (idField, "")); 324 if (term==null || term.field() != idField) brea [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/component/ |
H A D | QueryElevationComponent.java | 88 private String idField = null; field in class:QueryElevationComponent 120 TermQuery tq = new TermQuery( new Term( idField, id ) ); 131 TermQuery tq = new TermQuery( new Term( idField, idSchemaFT.readableToIndexed(exclude.get(i)) ) ); 164 idField = StringHelper.intern(sf.getName()); 372 new SortField(idField, booster.comparatorSource, false ), 382 sorts.add( new SortField(idField, booster.comparatorSource, false ) ); 387 sorts.add( new SortField(idField, booster.comparatorSource, sf.getReverse() ) );
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/update/ |
H A D | UpdateHandler.java | 55 protected final SchemaField idField; field in class:UpdateHandler 94 idField = schema.getUniqueKeyField(); 95 idFieldType = idField!=null ? idField.getType() : null; 96 idTerm = idField!=null ? new Term(idField.getName(),"") : null; 107 return new Term(idField.getName(), idFieldType.toInternal(readableId)); 111 if (idField == null) 116 Fieldable[] id = doc.getFieldables( idField.getName() ); 118 throw new SolrException( SolrException.ErrorCode.BAD_REQUEST,"Document is missing mandatory uniqueKey field: " + idField [all...] |
Completed in 2653 milliseconds