Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 89 for hFormat (0.16 seconds)

  1. src/main/java/org/codelibs/fess/job/IndexExportJob.java

        }
    
        /**
         * Sets the export format.
         *
         * @param format the format name (e.g. "html", "json")
         * @return this instance for method chaining
         */
        public IndexExportJob format(final String format) {
            this.formatter = createFormatter(format);
            return this;
        }
    
        /**
         * Creates a formatter for the given format name.
         *
         * @param format the format name
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         * @param format the date format pattern or "pdf_date" for PDF date format
         * @return parsed Date object, or null if parsing fails
         */
        public static Date parseDate(final String value, final String format) {
            if (value == null) {
                return null;
            }
    
            try {
                if (PDF_DATE.equals(format)) {
                    final Calendar cal = DateConverter.toCalendar(value);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  3. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            }
        }
    
        // --- format() fluent API tests ---
    
        @Test
        public void test_format_returnsThis() {
            final IndexExportJob result = indexExportJob.format("html");
            assertSame(indexExportJob, result);
        }
    
        @Test
        public void test_format_unsupportedFormat() {
            try {
                indexExportJob.format("xml");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/job/IndexExportFormatter.java

     */
    public interface IndexExportFormatter {
    
        /**
         * Returns the file extension for this format (e.g. ".html", ".json").
         *
         * @return the file extension including the leading dot
         */
        String getFileExtension();
    
        /**
         * Returns the default index file name for this format (e.g. "index.html", "index.json").
         *
         * @return the index file name
         */
        String getIndexFileName();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Feb 07 10:31:36 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

            // Verify the string format
            assertNotNull(result);
            assertTrue(result.contains("FessUserTimeZoneProcessProvider"));
            assertTrue(result.contains("useTimeZoneHandling=false"));
            assertTrue(result.contains("acceptCookieTimeZone=false"));
            assertTrue(result.contains("@"));
    
            // Verify that hashCode is included in hex format
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  6. MIGRATION.md

      --type=data
    ```
    
    **Step 2: Convert to Fess Format**
    
    Transform documents to include Fess required fields. Example transformation script:
    
    ```python
    import json
    
    with open('documents.json', 'r') as infile, \
         open('fess-documents.json', 'w') as outfile:
        for line in infile:
            doc = json.loads(line)
    
            # Transform to Fess format
            fess_doc = {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 12:40:11 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  7. src/main/resources/fess_indices/fess/doc.json

          "content_length": {
            "type": "long"
          },
          "created": {
            "type": "date",
            "format": "date_optional_time"
          },
          "timestamp": {
            "type": "date",
            "format": "date_optional_time"
          },
          "expires": {
            "type": "date",
            "format": "date_optional_time"
          },
          "digest": {
            "type": "text",
            "index": false
          },
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 07:52:55 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            return cal;
        }
    
        /**
         * Adds a new interval rule to the rule list.
         *
         * @param from the start time in HH:MM format
         * @param to the end time in HH:MM format
         * @param days comma-separated list of days (1=Sunday, 7=Saturday)
         * @param delay the delay in milliseconds to apply during this interval
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 10K bytes
    - Click Count (0)
  9. src/main/resources/fess_indices/_aws/fess/doc.json

          "content_length": {
            "type": "long"
          },
          "created": {
            "type": "date",
            "format": "date_optional_time"
          },
          "timestamp": {
            "type": "date",
            "format": "date_optional_time"
          },
          "expires": {
            "type": "date",
            "format": "date_optional_time"
          },
          "digest": {
            "type": "text",
            "index": false
          },
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 07:52:55 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

                assertEquals("Invalid time format: 12. Expected format: HH:MM", e.getMessage());
            }
    
            try {
                IntervalControlHelper.parseTime("12:30:45");
                fail("Should throw FessSystemException");
            } catch (FessSystemException e) {
                assertEquals("Invalid time format: 12:30:45. Expected format: HH:MM", e.getMessage());
            }
    
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
Back to Top