Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for JSON (0.01 sec)

  1. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            String[] text = { "json", "test" };
            String[][] readings = { { "json" }, { "test" } };
            String[] tags = { "tag1" };
    
            SuggestItem item = new SuggestItem(text, readings, null, 0L, 10L, 1.0f, tags, null, null, SuggestItem.Kind.QUERY);
    
            String json = item.toJsonString();
    
            assertNotNull(json);
            assertTrue(json.contains("\"" + FieldNames.TEXT + "\":\"json test\""));
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

    import org.opensearch.action.get.GetResponse;
    import org.opensearch.common.collect.Tuple;
    import org.opensearch.common.xcontent.XContentType;
    import org.opensearch.common.xcontent.json.JsonXContent;
    import org.opensearch.core.xcontent.XContentBuilder;
    import org.opensearch.index.IndexNotFoundException;
    import org.opensearch.transport.client.Client;
    
    /**
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                final AcknowledgedResponse putMappingResponse = fesenClient.get(c -> {
                    final String source = FileUtil.readText("mapping/" + mappingName + ".json");
                    return c.admin().indices().preparePutMapping(index).setSource(source, XContentType.JSON).execute();
                });
                if (putMappingResponse.isAcknowledged()) {
                    logger.info("Created {} mapping.", index);
                } else {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java

     * as well as a method to validate the header.
     *
     * <p>Example usage:</p>
     * <pre>
     *     RequestHeader header = new RequestHeader("Content-Type", "application/json");
     *     String name = header.getName();
     *     String value = header.getValue();
     *     boolean isValid = header.isValid();
     * </pre>
     *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/Suggester.java

                    }
    
                    client.admin()
                            .indices()
                            .prepareCreate(indexName)
                            .setSettings(settingsSource, XContentType.JSON)
                            .setMapping(mappingSource)
                            .addAlias(new Alias(getSearchAlias(index)))
                            .addAlias(new Alias(getUpdateAlias(index)))
                            .execute()
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (3)
  6. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

            if (typeObj != null) {
                final String path = "suggest_indices/_" + typeObj.toString() + "/suggest_analyzer.json";
                if (ResourceUtil.getResourceNoException(path) != null) {
                    return path;
                }
            }
            return "suggest_indices/suggest_analyzer.json";
        }
    
        /**
         * Loads the index mapping from a resource file.
         * @return The index mapping as a string.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  7. fess-crawler/src/test/resources/ajax/js/jquery-2.1.1.min.js

    entType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":pc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?tc(tc(a,n.ajaxSettings),b):tc(n.ajaxSett...
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 82.3K bytes
    - Viewed (0)
  8. README.md

    #### Archives and Compressed Files
    - ZIP, TAR, GZ archives
    - LHA compression format
    - Nested archive extraction
    
    #### Web and Markup
    - HTML, XHTML with XPath support
    - XML documents
    - JSON and structured data
    
    #### Media Files
    - Audio formats (MP3, WAV, FLAC)
    - Video formats (MP4, AVI, MOV)
    - Metadata extraction from media files
    
    ## Architecture
    
    ### Multi-Module Structure
    
    ```
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            }
            return "[" + Arrays.stream(values).map(this::convertJsonString).collect(Collectors.joining(",")) + "]";
        }
    
        /**
         * Converts the suggest item to a JSON string.
         * @return The JSON string representation of the suggest item.
         */
        public String toJsonString() {
            final StringBuilder buf = new StringBuilder(100);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

    import org.opensearch.action.bulk.BulkResponse;
    import org.opensearch.action.delete.DeleteRequest;
    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.common.xcontent.json.JsonXContent;
    import org.opensearch.core.action.ActionListener;
    import org.opensearch.core.xcontent.XContentBuilder;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.search.SearchHit;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (1)
Back to top