Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SuggestWriterResult (0.33 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.index.writer;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    
    public class SuggestWriterResult {
        protected List<Throwable> failures = Collections.synchronizedList(new ArrayList<>());
    
        public void addFailure(final Throwable t) {
            failures.add(t);
        }
    
        public boolean hasFailure() {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

                    }
                }
            }
    
            return result;
        }
    
        @Override
        public SuggestWriterResult delete(final Client client, final SuggestSettings settings, final String index, final String id) {
            final SuggestWriterResult result = new SuggestWriterResult();
            try {
                client.prepareDelete().setIndex(index).setId(id).execute().actionGet(settings.getIndexTimeout());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestBulkFileWriter.java

    public class SuggestBulkFileWriter implements SuggestWriter {
        @Override
        public SuggestWriterResult write(final Client client, final SuggestSettings settings, final String index, final SuggestItem[] items,
                final boolean update) {
            throw new UnsupportedOperationException("not yet.");
        }
    
        @Override
        public SuggestWriterResult delete(final Client client, final SuggestSettings settings, final String index, final String id) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

    import org.codelibs.fess.suggest.index.writer.SuggestIndexWriter;
    import org.codelibs.fess.suggest.index.writer.SuggestWriter;
    import org.codelibs.fess.suggest.index.writer.SuggestWriterResult;
    import org.codelibs.fess.suggest.normalizer.Normalizer;
    import org.codelibs.fess.suggest.settings.SuggestSettings;
    import org.codelibs.fess.suggest.util.SuggestUtil;
    import org.opensearch.OpenSearchStatusException;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java

    import org.opensearch.index.query.QueryBuilder;
    
    public interface SuggestWriter {
        SuggestWriterResult write(Client client, SuggestSettings settings, String index, SuggestItem[] items, boolean update);
    
        SuggestWriterResult delete(Client client, SuggestSettings settings, String index, String id);
    
        SuggestWriterResult deleteByQuery(Client client, SuggestSettings settings, String index, QueryBuilder queryBuilder);
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top