- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for fragments (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/entity/HighlightInfo.java
} /** * Gets the number of fragments. * * @return the maximum number of highlighted fragments */ public int getNumOfFragments() { return numOfFragments; } /** * Sets the number of fragments with fluent interface. * * @param numOfFragments the maximum number of highlighted fragments * @return this HighlightInfo instance for method chainingCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 05 10:17:07 GMT 2026 - 5.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ViewHelperTest.java
ViewHelper.TextFragment[] fragments = new ViewHelper.TextFragment[2]; fragments[0] = new ViewHelper.TextFragment(null, "test", null, null); fragments[1] = new ViewHelper.TextFragment(null, "example", null, null); document.put("text_fragments", fragments); String result = viewHelper.appendHTMLSearchWord(document, url);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 27.8K bytes - Click Count (0) -
src/main/resources/fess_config.properties
query.highlight.boundary.position.detect=true # Type for text fragment in query highlighting. query.highlight.text.fragment.type=query # Size for text fragment in query highlighting. query.highlight.text.fragment.size=3 # Prefix length for text fragment in query highlighting. query.highlight.text.fragment.prefix.length=5 # Suffix length for text fragment in query highlighting. query.highlight.text.fragment.suffix.length=5
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 59.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/Constants.java
// Text Fragment Constants // ============================================================ /** Text fragments feature identifier. */ public static final String TEXT_FRAGMENTS = "text_fragments"; /** Text fragment type for query highlighting. */ public static final String TEXT_FRAGMENT_TYPE_QUERY = "query"; /** Text fragment type for result highlighting. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 35.8K bytes - Click Count (0) -
src/main/webapp/js/admin/popper.min.js.map
regex addresses values with the plus or minus sign in front (+10, -20, etc)\n const fragments = offset.split(/(\\+|\\-)/).map(frag => frag.trim());\n\n // Detect if the offset string contains a pair of values or a single one\n // they could be separated by comma or space\n const divider = fragments.indexOf(\n find(fragments, frag => frag.search(/,|\\s/) !== -1)\n );\n\n if (fragments[divider] && fragments[divider].indexOf(',') === -1) {\n console.warn(\n 'Offsets separated by white...
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Oct 26 01:49:09 GMT 2024 - 120.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java
* @return The value of found property. (NotNull: if not found, exception but basically no way) */ String getQueryHighlightNumberOfFragments(); /** * Get the value for the key 'query.highlight.number.of.fragments' as {@link Integer}. <br> * The value is, e.g. 2 <br> * comment: Number of fragments for query highlighting.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 576.9K bytes - Click Count (2) -
src/main/java/org/codelibs/fess/chat/ChatClient.java
public HighlightInfo getHighlightInfo() { return new HighlightInfo().fragmentSize(Integer.parseInt(fessConfig.getOrDefault("rag.chat.highlight.fragment.size", "500"))) .numOfFragments(Integer.parseInt(fessConfig.getOrDefault("rag.chat.highlight.number.of.fragments", "3"))) .preTags(StringUtil.EMPTY) .postTags(StringUtil.EMPTY); } @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 56.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java
exp = "file://C .doc"; assertEquals(exp, transformer.decodeUrlAsName(url, true)); url = "http://example.com/foo/" + encodeUrl("#") + "/@@bar/index.html#fragment?foo=bar"; exp = "http://example.com/foo/#/@@bar/index.html#fragment?foo=bar"; assertEquals(exp, transformer.decodeUrlAsName(url, false)); } @Test public void test_getFileName_ok() throws Exception {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java
public Query toQuery(final QueryShardContext context) throws IOException { return queryBuilder.toQuery(context); } /** * Returns whether this query builder is a fragment. * * @return true if this is a fragment, false otherwise */ @Override public boolean isFragment() { return queryBuilder.isFragment(); } /** * Sets the query name. *
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 6.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java
} @Test public void test_constructor_withSpecialCharactersInUrl() { // Test with special characters in URL String url = "http://example.com/test?param=value&other=value#fragment"; String message = "Error with special URL"; Exception cause = new RuntimeException("Error cause"); DataStoreCrawlingException exception = new DataStoreCrawlingException(url, message, cause);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 16.6K bytes - Click Count (0)