Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 84 for Relation (0.15 seconds)

  1. schema/relationship.go

    	defer schema.Relationships.Mux.Unlock()
    
    	// set non-embedded relation
    	if rel := schema.Relationships.Relations[relation.Name]; rel != nil {
    		if len(rel.Field.BindNames) > 1 {
    			schema.Relationships.Relations[relation.Name] = relation
    		}
    	} else {
    		schema.Relationships.Relations[relation.Name] = relation
    	}
    
    	// set embedded relation
    	if len(relation.Field.EmbeddedBindNames) <= 1 {
    		return
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun Nov 16 04:11:05 GMT 2025
    - 23.1K bytes
    - Click Count (1)
  2. generics.go

    						} else {
    							db.AddError(fmt.Errorf("relation %s not found", association))
    							return nil
    						}
    					}
    				} else {
    					db.AddError(fmt.Errorf("relation %s not found", association))
    					return nil
    				}
    			}
    
    			if q.limitPerRecord > 0 {
    				if relation.JoinTable != nil {
    					tx.AddError(fmt.Errorf("many2many relation %s don't support LimitPerRecord", association))
    					return tx
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:34:24 GMT 2026
    - 26K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

                    .allRecordCount(100)
                    .allRecordCountRelation(Relation.EQUAL_TO.toString())
                    .queryTime(123)
                    .partialResults(false)
                    .build();
    
            assertNotNull(result);
            assertEquals(100, result.getAllRecordCount());
            assertEquals(Relation.EQUAL_TO.toString(), result.getAllRecordCountRelation());
            assertEquals(123, result.getQueryTime());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  4. gorm.go

    	err = stmt.Parse(joinTable)
    	if err != nil {
    		return err
    	}
    	joinSchema = stmt.Schema
    
    	relation, ok := modelSchema.Relationships.Relations[field]
    	isRelation := ok && relation.JoinTable != nil
    	if !isRelation {
    		return fmt.Errorf("failed to find relation: %s", field)
    	}
    
    	for _, ref := range relation.References {
    		f := joinSchema.LookUpField(ref.ForeignKey.DBName)
    		if f == nil {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractEntity.java

        @Override
        public String toStringWithRelation() { // #pending
            return toString();
        }
    
        @Override
        public String buildDisplayString(String name, boolean column, boolean relation) { // #pending
            return toString();
        }
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                final SearchHits searchHits = searchResponse.getHits();
                builder.allRecordCount(searchHits.getTotalHits().value());
                builder.allRecordCountRelation(searchHits.getTotalHits().relation().toString());
                builder.queryTime(searchResponse.getTook().millis());
    
                if (searchResponse.getTotalShards() != searchResponse.getSuccessfulShards()) {
                    builder.partialResults(true);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 09:24:04 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            // Test with empty string
            searchRenderData.setAllRecordCountRelation("");
            assertEquals("", searchRenderData.getAllRecordCountRelation());
    
            // Test with relation types
            searchRenderData.setAllRecordCountRelation("eq");
            assertEquals("eq", searchRenderData.getAllRecordCountRelation());
    
            searchRenderData.setAllRecordCountRelation("gte");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  8. association.go

    				} else if ev.Type().Elem().AssignableTo(elemType) {
    					fieldValue = reflect.Append(fieldValue, ev.Elem())
    				} else {
    					association.Error = fmt.Errorf("unsupported data type: %v for relation %s", ev.Type(), association.Relationship.Name)
    				}
    
    				if elemType.Kind() == reflect.Struct {
    					assignBacks = append(assignBacks, assignBack{Source: source, Dest: ev, Index: fieldValue.Len()})
    				}
    			}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun Oct 26 12:09:12 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

             */
            protected int pageNumber;
            /**
             * The total number of records found.
             */
            protected long recordCount;
            /**
             * The relation of the record count (e.g., "eq" for exact, "gte" for greater than or equal to).
             */
            protected String recordCountRelation;
            /**
             * The total number of pages in the search results.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Multiset.java

       * given object is also a multiset and contains equal elements with equal counts, regardless of
       * order.
       */
      @Override
      // TODO(kevinb): caveats about equivalence-relation?
      boolean equals(@Nullable Object object);
    
      /**
       * Returns the hash code for this multiset. This is defined as the sum of
       *
       * {@snippet :
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 19.5K bytes
    - Click Count (0)
Back to Top