- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for fragmentSize (0.17 sec)
-
src/main/java/org/codelibs/fess/entity/HighlightInfo.java
public HighlightInfo type(final String type) { this.type = type; return this; } public int getFragmentSize() { return fragmentSize; } public HighlightInfo fragmentSize(final int fragmentSize) { this.fragmentSize = fragmentSize; return this; } public int getNumOfFragments() { return numOfFragments; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java
queryFieldConfig.highlightedFields(stream -> stream.forEach(hf -> highlightBuilder .field(new HighlightBuilder.Field(hf).highlighterType(highlighterType).fragmentSize(fragmentSize) .numOfFragments(numOfFragments).boundaryChars(boundaryChars).boundaryMaxScan(boundaryMaxScan)
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Oct 20 02:08:03 UTC 2024 - 86.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
if (width < TABLET_WIDTH) { float ratio = (float) width / (float) TABLET_WIDTH; if (ratio < 0.5) { ratio = 0.5f; } highlightInfo.fragmentSize((int) (highlightInfo.getFragmentSize() * ratio)); } } public String getUrlLink(final Map<String, Object> document) { final FessConfig fessConfig = ComponentUtil.getFessConfig();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 40.2K bytes - Viewed (0)