Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for MimeTypes (0.04 sec)

  1. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

          <!-- note on the offset value here: this can only be as big as
               MimeTypes#getMinLength(). If you set the offset value to larger
               than that size, the magic will only be compared to up to
               MimeTypes#getMinLength() bytes. It should also only start after
               the higher priority "start of file" one above
           -->
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Oct 16 07:46:32 UTC 2025
    - 320.2K bytes
    - Viewed (5)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

        /** The resource name for the MIME types configuration file. */
        protected static final String MIME_TYPES_RESOURCE_NAME = "/org/codelibs/fess/crawler/mime/tika-mimetypes.xml";
    
        /** The MimeTypes instance for detecting MIME types. */
        protected MimeTypes mimeTypes;
    
        /** Whether to use the filename for MIME type detection. */
        protected boolean useFilename = false;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. internal/config/compress/compress.go

    		}
    		cfg.MimeTypes = mimeTypes
    	}
    
    	if compressMimeTypesLegacy2 != "" {
    		mimeTypes, err := parseCompressIncludes(compressMimeTypesLegacy2)
    		if err != nil {
    			return cfg, fmt.Errorf("%s: Invalid MINIO_COMPRESS_MIME_TYPES value (`%s`)", err, mimeTypes)
    		}
    		cfg.MimeTypes = mimeTypes
    	}
    
    	return cfg, nil
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Sep 06 17:37:10 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. internal/config/compress/legacy.go

    			Key:   config.Enable,
    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key:   Extensions,
    			Value: strings.Join(cfg.Extensions, config.ValueSeparator),
    		},
    		config.KV{
    			Key:   MimeTypes,
    			Value: strings.Join(cfg.MimeTypes, config.ValueSeparator),
    		},
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Sep 06 17:37:10 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. internal/config/compress/help.go

    			Description: `comma separated file extensions` + defaultHelpPostfix(Extensions),
    			Optional:    true,
    			Type:        "csv",
    		},
    		config.HelpKV{
    			Key:         MimeTypes,
    			Description: `comma separated wildcard mime-types` + defaultHelpPostfix(MimeTypes),
    			Optional:    true,
    			Type:        "csv",
    		},
    		config.HelpKV{
    			Key:         AllowEncrypted,
    			Description: `enable 'encryption' along with compression`,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        default boolean isHtmlMimetypeForCache(final String mimetype) {
            final String[] mimetypes = getCrawlerDocumentCacheHtmlMimetypes().split(",");
            if (mimetypes.length == 1 && StringUtil.isBlank(mimetypes[0])) {
                return true;
            }
            return stream(mimetypes).get(stream -> stream.anyMatch(s -> s.equalsIgnoreCase(mimetype)));
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 88.2K bytes
    - Viewed (0)
  7. cmd/object_api_suite_test.go

    	}
    }
    
    func enableCompression(t *testing.T, encrypt bool, mimeTypes []string, extensions []string) {
    	// Enable compression and exec...
    	globalCompressConfigMu.Lock()
    	globalCompressConfig.Enabled = true
    	globalCompressConfig.MimeTypes = mimeTypes
    	globalCompressConfig.Extensions = extensions
    	globalCompressConfig.AllowEncrypted = encrypt
    	globalCompressConfigMu.Unlock()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  8. cmd/config-migrate.go

    	switch cfg.Version {
    	case "29":
    		// V29 -> V30
    		cfg.Compression.Enabled = false
    		cfg.Compression.Extensions = strings.Split(compress.DefaultExtensions, config.ValueSeparator)
    		cfg.Compression.MimeTypes = strings.Split(compress.DefaultMimeTypes, config.ValueSeparator)
    	case "30":
    		// V30 -> V31
    		cfg.OpenID = openid.Config{}
    		cfg.Policy.OPA = opa.Args{
    			URL:       &xnet.URL{},
    			AuthToken: "",
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. cmd/object-api-utils.go

    	// Filter compression includes.
    	if len(cfg.Extensions) == 0 && len(cfg.MimeTypes) == 0 {
    		// Nothing to filter, include everything.
    		return false
    	}
    
    	if len(cfg.Extensions) > 0 && hasStringSuffixInSlice(objStr, cfg.Extensions) {
    		// Matched an extension to compress, do not exclude.
    		return false
    	}
    
    	if len(cfg.MimeTypes) > 0 && hasPattern(cfg.MimeTypes, contentType) {
    		// Matched an MIME type to compress, do not exclude.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  10. src/main/resources/fess_config.properties

    crawler.document.cache.enabled=true
    # Maximum size (bytes) for document cache.
    crawler.document.cache.max.size=2621440
    # Supported MIME types for document cache.
    crawler.document.cache.supported.mimetypes=text/html
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 54.8K bytes
    - Viewed (0)
Back to top