Commit Graph

1988 Commits

Author SHA1 Message Date
kimchy 3bafba8904 IBM J9 failure to serialize nodes info, closes #950. 2011-05-20 14:41:03 +03:00
webdevuser 8b1765f5b8 Fix indentation mistake. 2011-05-19 23:59:17 +03:00
webdevuser 18dd9a5f18 Add "articles" setting to specify a list of stopword for the ElisionFilter. 2011-05-19 23:59:16 +03:00
Igor Motov 573114a446 Add an ability to define and store filter for aliases.
This commit only adds an ability to store filter source. The stored filters are not yet used to filter search results.
2011-05-19 19:33:41 +03:00
kimchy d5759efed7 allow for concurrent flushing while indexing 2011-05-19 19:29:02 +03:00
kimchy 1911368feb store the translog id in the commit point data of a lucene commit point. work done towards better concurrency on flush operation 2011-05-19 18:04:22 +03:00
kimchy 0d63fd68a8 fix division by zero error 2011-05-19 13:54:12 +03:00
kimchy 3b5c133c71 Filter Cache: `soft` filter cache can cause bad memory behavior, closes #946. 2011-05-19 13:12:47 +03:00
kimchy ebd95b7eb8 change internal fs translog to be less blocking, and easier to refactor later for better flush concurrency 2011-05-19 11:39:18 +03:00
kimchy ed8d6bbcd3 fix refresh logic after the change to not do it under write lock 2011-05-19 00:36:07 +03:00
kimchy 229c03e33f Analysis: Phonetic filter to support `cologne` encoder, closes #942. 2011-05-18 13:43:10 +03:00
kimchy 44595c06c6 improve custom name resolver logic to allow more options for control 2011-05-18 12:37:16 +03:00
Igor Motov b4b92a8e7f Move alias metadata from settings to a separate data structure 2011-05-17 23:41:33 +03:00
kimchy bcc3c6dd63 remove unused logger. 2011-05-17 16:57:22 +03:00
kimchy cc0a6ed690 Search: Empty facets element causes search failures, closes #938. 2011-05-17 16:15:45 +03:00
kimchy af222dc75c Analysis: Regression (0.16.1), Camel cased filters / tokenizers failed to load in custom analyzer, closes #937. 2011-05-17 14:20:32 +03:00
kimchy 518488b0b2 auto_expand_replicas: [0-auto] can cause data loss when nodes are removed, closes #934.
This is caused because of a race condition between when to handle the removed node and move a replica to a primary mode, and when to remove the replica because of the 0-auto setting.
2011-05-17 01:41:05 +03:00
kimchy ff09c19ae6 reuse exists collector 2011-05-16 18:08:04 +03:00
Igor Motov 671b48e007 Fix possible false matches with multiple percolators. 2011-05-16 18:04:03 +03:00
kimchy 30df0d8324 wrong type returned by date_histogram, closes #932. 2011-05-15 17:13:05 +03:00
kimchy c823355014 Deleting and recreating a new index with dynamic mapping can cause type failures, closes #931. 2011-05-15 12:52:17 +03:00
kimchy cb691ef54b add toString to SearchRequestBuilder 2011-05-14 14:52:36 +03:00
kimchy 603d462d4a improve flush concurrency by refreshing outside of the write lock 2011-05-14 00:49:17 +03:00
kimchy c5305a0545 Analysis: Add elision token filter, closes #930. 2011-05-13 15:11:19 +03:00
kimchy f02f63cf75 Mapping: dynamic templates of object type do not initialize some mapping data structures (like analyzers lookup), closes #929. 2011-05-13 14:52:09 +03:00
kimchy d61ba5c189 nicer javadoc 2011-05-13 13:58:56 +03:00
kimchy b531cf03e4 more javadoc 2011-05-13 13:56:20 +03:00
kimchy e4aee9cfbc check for early exit on max expansions on multi suffix terms with prefix, and handle no terms provided 2011-05-13 13:17:24 +03:00
kimchy f659ecc88b Analysis: Pattern Tokenizer, closes #928. 2011-05-13 01:22:22 +03:00
kimchy 03c0a05935 Merge branch 'master' of github.com:elasticsearch/elasticsearch 2011-05-12 00:42:08 +03:00
Igor Motov bc6d9c19e8 Fix double counts when count is executed on two aliases pointing to the same index 2011-05-12 00:29:17 +03:00
Lukáš Vlček 6fe1416173 Fixing Javadoc 2011-05-11 23:08:26 +02:00
kimchy aa9730834f Phonetic Filter : Double Metaphone, partial implementation (not using the secondary code), closes #924. 2011-05-11 22:51:11 +03:00
kimchy 133305da44 Simplified Disable Flush operation, closes #906. 2011-05-11 19:12:50 +03:00
kimchy 176f359e8b Possible failure when using TransportClient (with sniffing), closes #923. 2011-05-11 01:59:14 +03:00
kimchy 8c1171a6ef Mapping: Document's Field level boosting, closes #920. 2011-05-10 23:27:38 +03:00
kimchy 15d8f0b1ac Analysis: Synonym Token Filter, closes #900. 2011-05-10 22:37:33 +03:00
kimchy 1b686d3c2b Analysis: All analysis components that accept stopwords to allow to load stopwords from a file, closes #919. 2011-05-09 14:13:20 +03:00
kimchy 563ad625c0 Analysis: Word Delimiter Token Filter, closes #918. 2011-05-09 02:48:11 +03:00
kimchy 465036655f Query DSL: Text Queries (boolean, phrase, and phrase_prefix), closes #917. 2011-05-08 21:42:25 +03:00
kimchy e66c78ad64 format 2011-05-07 15:04:52 +03:00
kimchy 1565e10d06 allow to set fuzzy factor when merging 2011-05-07 14:56:07 +03:00
kimchy c05df433c6 optimize term creation (reduce interning) 2011-05-07 12:53:24 +03:00
kimchy 7cccacbcfa guard in boolean filter from null doc id sets and iterators 2011-05-06 23:10:21 +03:00
kimchy 3894472f49 Analysis: Stop words config to allow for automatic _lang_ expansion, closes #909. 2011-05-06 01:03:44 +03:00
kimchy 9ab671ed51 fix stop words 2011-05-06 00:46:07 +03:00
kimchy 7f5318e217 fix stop words for spanish analyzer 2011-05-06 00:41:32 +03:00
kimchy 85eae8b3f5 Analysis: Expose light and minimal language token filters, closes #908. 2011-05-05 23:45:59 +03:00
kimchy 0f78100b97 Query DSL: Fuzzy query support for numeric / date types, closes #907. 2011-05-05 16:36:06 +03:00
kimchy dffb11bdbf Query DSL: Fuzzy Query - add max_expansions, closes #905. 2011-05-05 13:46:19 +03:00
kimchy d3076945ac Week Interval on Date Histogram Facet 2011-05-05 01:01:29 +03:00
kimchy 3000dc78fa Failure when applying failed shards during local gateway allocation, closes #903. 2011-05-04 20:49:51 +03:00
kimchy 015e46930d Possible failure to start a river after cluster restart, closes #902. 2011-05-04 20:27:07 +03:00
Igor Motov 0386317aba Remove unnecessary aliasAndIndexToIndex map 2011-05-04 09:50:51 +03:00
kimchy 2b9bdc3796 wrong usage of initial lower/upper bound double aggregators 2011-05-03 16:33:52 +03:00
kimchy 1d2f95857d Sort missing wrongly sorts negative values, closes #772. 2011-05-03 16:16:30 +03:00
kimchy 98dbb46b3c make sure we close the parser even if it failed to parse a search request 2011-04-30 00:10:24 +03:00
kimchy 4558816bcf make sure we close the parser even if it failed to parse a search request 2011-04-30 00:09:36 +03:00
kimchy fcdd2ba11c And/Or Filter: Possible failure when inner filter does not match any docs, closes #892. 2011-04-29 21:45:00 +03:00
kimchy 887ac1fce6 Search: Optimize (perf) execution of global facets, closes #889. 2011-04-28 19:32:13 +03:00
kimchy 2c0bb9199a Search: Optimize (perf) execution of global facets, closes #889. 2011-04-28 17:20:31 +03:00
kimchy 0ab8d1f414 Search API: filter element should not be applied to global facets, closes #888. 2011-04-28 16:16:50 +03:00
kimchy 19448d7775 include_in_all not overridable in objects, closes #883. 2011-04-28 15:44:25 +03:00
kimchy 5c8fe598a6 Scripting - mvel: Fix thread safety misuse when compiling scripts, first go it so use ParserConfiguration, second is a fix in mvel itself, relates to #886. 2011-04-27 00:38:51 +03:00
kimchy 6ecbef463f Create Index API: Better logic to wait for ack for indices being created on nodes, closes #879. 2011-04-27 00:24:27 +03:00
kimchy 6ace8ba0d8 Query DSL: Allow to set boost on has_child query, closes #884. 2011-04-26 20:40:21 +03:00
kimchy f3e032315f (Small) optimization to has_child filter, closes #880. 2011-04-25 17:37:56 +03:00
kimchy 49ac30801e more cache cleaning 2011-04-25 00:16:42 +03:00
kimchy 23c17d7101 improved close logic on index query parser 2011-04-24 23:42:59 +03:00
kimchy 013c4e9fa4 improved cleaning of cached parser context 2011-04-24 23:34:59 +03:00
kimchy 990f371580 better cached streams logic 2011-04-24 23:28:35 +03:00
kimchy 9b262a7363 clean teh lzf buffer recycler 2011-04-24 22:48:38 +03:00
kimchy 1e5dc09848 Unexpected failure to create a shard can lead to data loss if it has no replicas, closes #878. 2011-04-23 13:29:14 +03:00
kimchy 3b07f77f3d clean indices when created just for mapping processing 2011-04-22 16:34:54 +03:00
kimchy 65e05538f0 refresh changed mapping in cluster metadata, this will happen when upgrading from 0.15 to 0.16 2011-04-22 16:07:18 +03:00
kimchy 0319972d77 change logging level to debug 2011-04-22 04:43:23 +03:00
kimchy 6ed2624772 fix wrong closing of possible null mappings in geo point mapping 2011-04-22 04:29:47 +03:00
kimchy e171596a6f default replacement char to delimiter char 2011-04-22 03:20:34 +03:00
kimchy d8d47abcba no need to cache filters again when handling named filters 2011-04-22 00:37:20 +03:00
Igor Motov 4c295a28d5 Don't attempt to load camelCased version of the package name.
It's unlikely that a package would have a camelCased name and an attempt to load a class with wrong case is causing NoClassDefFoundError instead of ClassNotFoundException on non case-sensitive file systems.
2011-04-21 21:39:17 +03:00
kimchy db04649271 Search request intermittent failures with has_child query/filter, closes #875. 2011-04-21 17:54:01 +03:00
Lukáš Vlček adc3dc0e99 Fix for highlighting when number_of_fragments is set to 0 and term_vector is not set, closes #873 2011-04-21 14:55:21 +02:00
kimchy dedbedbb77 Update Settings: Allow to dynamically set filter cache settings, closes #874. 2011-04-21 14:40:57 +03:00
kimchy 568dec6b5a Simplify Filter Cache Eviction Settings, closes #871. 2011-04-21 02:05:05 +03:00
kimchy 90b88fe4b7 add TODO optimizations comments 2011-04-21 01:57:28 +03:00
kimchy 9c606c7b1d better caching of LZF streamns 2011-04-20 13:37:30 +03:00
kimchy f5dbcb2fa4 Failure to recover a shard might cause loosing translog data (especially with no replicas), closes #869. 2011-04-20 04:52:47 +03:00
kimchy 3c233347b8 make sure we keep order in mappings when recovering so there won't be reparsing of the mappings on nodes (introduced with faster recovery work done on gateway) 2011-04-20 03:42:51 +03:00
kimchy af39f07213 Mapping: By default, don't index _id, closes #868. 2011-04-20 02:49:14 +03:00
kimchy 3b21759bec Better support with _type is marked as not indexed, allowing to filter by type, closes #866. 2011-04-20 01:31:38 +03:00
kimchy c3f3c268c8 Query DSL: Add ids query and filter to fetch docs by ids (do not require _id field to be indexed), closes #865. 2011-04-20 00:30:30 +03:00
kimchy 8e027b3baf properly handle cases where filter returns null docIdSet with and/or/not filters 2011-04-19 21:28:08 +03:00
kimchy 5cc943c7db remove some field caching logic, does not seem to do much perf wise, and simplifies back the code 2011-04-19 17:07:32 +03:00
kimchy 56c9783cb3 remove using field cache when indexing string fields for now 2011-04-19 16:16:31 +03:00
kimchy f8ff42d397 log when failing to process doc after index operation 2011-04-19 16:13:26 +03:00
kimchy 79ebcc31c5 double check that there are mappings before trying to call the post process method 2011-04-19 16:10:51 +03:00
kimchy 32127c4d73 register the future with teh listener when deleting an index, so it can be canceled 2011-04-19 15:25:02 +03:00
kimchy e40499f35f small improvement to bulk indexing to not allocated ops if no percolation is done 2011-04-19 13:53:21 +03:00
kimchy 3b82b013d5 eagerly reroute shards when opening an index 2011-04-19 12:56:08 +03:00
kimchy ffc8c3b68a Weird error message on syntax error, closes #864. 2011-04-19 12:23:29 +03:00