- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for Roles (0.02 sec)
-
src/main/java/org/codelibs/fess/suggest/constants/FieldNames.java
/** The timestamp field. */ public static final String TIMESTAMP = "@timestamp"; /** The tags field. */ public static final String TAGS = "tags"; /** The roles field. */ public static final String ROLES = "roles"; /** The fields field. */ public static final String FIELDS = "fields"; /** The languages field. */ public static final String LANGUAGES = "languages";Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java
fields.add("field1"); List<String> tags = new ArrayList<>(); tags.add("tag1"); List<String> roles = new ArrayList<>(); roles.add("role1"); elevateWord = new ElevateWord(word, boost, readings, fields, tags, roles); // Check that we get the same references assertTrue(readings == elevateWord.getReadings());
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 15.4K bytes - Viewed (0) -
tests/serializer_test.go
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java
if (tags == null) { this.tags = Collections.emptyList(); } else { this.tags = tags; } if (roles == null) { this.roles = Collections.emptyList(); } else { this.roles = roles; } } /** * Returns the elevate word. * * @return the elevate word */ public String getElevateWord() {
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
this.tags = tags != null ? tags : new String[] {}; if (roles == null || roles.length == 0) { this.roles = new String[] { SuggestConstants.DEFAULT_ROLE }; } else { this.roles = new String[roles.length]; System.arraycopy(roles, 0, this.roles, 0, roles.length); } this.languages = languages != null ? languages : new String[] {};
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 25.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
// Test tags String[] tags = { "tag1", "tag2" }; item.setTags(tags); assertArrayEquals(tags, item.getTags()); // Test roles String[] roles = { "admin", "user" }; item.setRoles(roles); assertArrayEquals(roles, item.getRoles()); // Test languages String[] languages = { "en", "fr" }; item.setLanguages(languages);Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java
queryBuilder.must(QueryBuilders.termsQuery(FieldNames.TAGS, tags)); } if (!roles.isEmpty()) { queryBuilder.must(QueryBuilders.termsQuery(FieldNames.ROLES, roles)); } else { queryBuilder.must(QueryBuilders.termQuery(FieldNames.ROLES, SuggestConstants.DEFAULT_ROLE)); } if (!fields.isEmpty()) {
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java
* @param fields the array of fields associated with the search words * @param tags the array of tags associated with the search words * @param roles the array of roles associated with the search words * @param score the score associated with the search words * @param readingConverter the converter to use for converting readingsRegistered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 17.8K bytes - Viewed (0)