Searched refs:primary (Results 1 - 6 of 6) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/
H A DDoubleBarrelLRUCache.java28 * <p>At any given time, one hash is primary and the other
29 * is secondary. {@link #get} first checks primary, and if
31 * entry, it's promoted to primary (<b>NOTE</b>: the key is
32 * cloned at this point). Once primary is full, the
68 final Map<K,V> primary;
71 primary = cache2;
74 primary = cache1;
78 // Try primary first
79 V result = primary.get(key);
84 // Promote to primary
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DTermsHashPerThread.java31 final boolean primary; field in class:TermsHashPerThread
41 // We are primary
43 primary = true;
46 primary = false;
104 if (primary)
H A DSnapshotDeletionPolicy.java150 private IndexDeletionPolicy primary; field in class:SnapshotDeletionPolicy
153 public SnapshotDeletionPolicy(IndexDeletionPolicy primary) { argument
154 this.primary = primary;
161 * @param primary
171 public SnapshotDeletionPolicy(IndexDeletionPolicy primary, argument
173 this(primary);
259 primary.onCommit(wrapCommits(commits));
265 primary.onInit(wrapCommits(commits));
H A DPersistentSnapshotDeletionPolicy.java96 * @param primary
111 public PersistentSnapshotDeletionPolicy(IndexDeletionPolicy primary, argument
114 super(primary, null);
H A DTermsHashPerField.java549 if (perThread.primary) {
/lucene-3.6.0/lucene/tools/prettify/
H A Dlang-sql.js1 PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r �\xa0"],["str",/^(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,null,"\"'"]],[["com",/^(?:--[^\n\r]*|\/\*[\S\s]*?(?:\*\/|$))/],["kwd",/^(?:add|all|alter|and|any|as|asc|authorization|backup|begin|between|break|browse|bulk|by|cascade|case|check|checkpoint|close|clustered|coalesce|collate|column|commit|compute|constraint|contains|containstable|continue|convert|create|cross|current|current_date|current_time|current_timestamp|current_user|cursor|database|dbcc|deallocate|declare|default|delete|deny|desc|disk|distinct|distributed|double|drop|dummy|dump|else|end|errlvl|escape|except|exec|execute|exists|exit|fetch|file|fillfactor|for|foreign|freetext|freetexttable|from|full|function|goto|grant|group|having|holdlock|identity|identitycol|identity_insert|if|in|index|inner|insert|intersect|into|is|join|key|kill|left|like|lineno|load|match|merge|national|nocheck|nonclustered|not|null|nullif|of|off|offsets|on|open|opendatasource|openquery|openrowset|openxml|option|or|order|outer|over|percent|plan|precision|primary|print|proc|procedure|public|raiserror|read|readtext|reconfigure|references|replication|restore|restrict|return|revoke|right|rollback|rowcount|rowguidcol|rule|save|schema|select|session_user|set|setuser|shutdown|some|statistics|system_user|table|textsize|then|to|top|tran|transaction|trigger|truncate|tsequal|union|unique|update|updatetext|use|user|using|values|varying|view|waitfor|when|where|while|with|writetext)(?=[^\w-]|$)/i,

Completed in 71 milliseconds