Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for getTags (0.09 sec)

  1. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

            return new SuggestItem(new String[] { this.getElevateWord() }, readingArray, fields.toArray(new String[fields.size()]), 1, 0,
                    this.getBoost(), this.getTags().toArray(new String[this.getTags().size()]),
                    this.getRoles().toArray(new String[this.getRoles().size()]), null, SuggestItem.Kind.USER);
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. internal/logger/reqinfo.go

    			updated = true
    			break
    		}
    	}
    	if !updated {
    		// Append to the end of tags list
    		r.tags = append(r.tags, KeyVal{key, val})
    	}
    	return r
    }
    
    // GetTags - returns the user defined tags
    func (r *ReqInfo) GetTags() []KeyVal {
    	if r == nil {
    		return nil
    	}
    	r.RLock()
    	defer r.RUnlock()
    	return append(make([]KeyVal, 0, len(r.tags)), r.tags...)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java

            assertEquals(elevateWord3.getReadings().get(0), settings.elevateWord().get()[2].getReadings().get(0));
            assertEquals(elevateWord3.getTags().get(0), settings.elevateWord().get()[2].getTags().get(0));
            assertEquals(elevateWord3.getRoles().get(0), settings.elevateWord().get()[2].getRoles().get(0));
        }
    
        @Test
        public void test_delete() {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            }
            mergedItem.fields = fieldList.toArray(new String[fieldList.size()]);
    
            final List<String> tagList = new ArrayList<>(item1.getTags().length + item2.getTags().length);
            Collections.addAll(tagList, item1.getTags());
            for (final String tag : item2.getTags()) {
                if (!tagList.contains(tag)) {
                    tagList.add(tag);
                }
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

                    createDefaultReadingConverter(), createDefaultNormalizer());
            SuggestItem item = items.get(0);
            assertEquals("検索エンジン", item.getText());
            assertEquals("tag1", item.getTags()[0]);
            assertEquals("role1", item.getRoles()[0]);
        }
    
        protected ReadingConverter createDefaultReadingConverter() throws IOException {
            ReadingConverterChain chain = new ReadingConverterChain();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

            source.put(ELEVATE_WORD_READING, elevateWord.getReadings());
            source.put(ELEVATE_WORD_FIELDS, elevateWord.getFields());
            source.put(ELEVATE_WORD_TAGS, elevateWord.getTags());
            source.put(ELEVATE_WORD_ROLES, elevateWord.getRoles());
            source.put(FieldNames.TIMESTAMP, DateTimeFormatter.ISO_INSTANT.format(ZonedDateTime.now()));
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                        buf.append(",\"labels\":[");
                        for (int i = 0; i < item.getTags().length; i++) {
                            if (i > 0) {
                                buf.append(',');
                            }
                            buf.append('\"').append(StringEscapeUtils.escapeJson(item.getTags()[i])).append('\"');
                        }
                        buf.append(']');
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            secondLine.put("userBoost", item.getUserBoost());
            secondLine.put("score", (item.getQueryFreq() + item.getDocFreq()) * item.getUserBoost());
            secondLine.put("tags", item.getTags());
            secondLine.put("roles", item.getRoles());
            secondLine.put("kinds", Arrays.toString(item.getKinds()));
            secondLine.put("@timestamp", item.getTimestamp());
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            final ElevateWord normalized = new ElevateWord(normalizedWord, elevateWord.getBoost(), normalizedReadings, elevateWord.getFields(),
                    elevateWord.getTags(), elevateWord.getRoles());
            settings.elevateWord().add(normalized);
            if (apply) {
                return index(normalized.toSuggestItem());
            }
            return new SuggestIndexResponse(0, 0, null, 0);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

         * clear (<code>false</code>) the specified flag.
         */
        public void setFlag(int flag, boolean value) {
            setFlags(value ? (getFlags() | flag) :
                    (getFlags() & (0xffffffff ^ flag)));
        }
    
        static int readULong(byte[] src, int index) {
            return (src[index] & 0xff) |
                    ((src[index + 1] & 0xff) << 8) |
                    ((src[index + 2] & 0xff) << 16) |
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.3K bytes
    - Viewed (0)
Back to top