Commit Graph

2079 Commits

Author SHA1 Message Date
kimchy d1d631794d Query DSL: Ids Filter / Query - allow to execute it with no type defined / several types, closes #969. 2011-05-26 11:17:20 +03:00
kimchy c90820e03b Query DSL: `query_string` - Expose QueryParser#setAutoGeneratePhraseQueries, closes #964. 2011-05-26 10:15:35 +03:00
Lukáš Vlček ba1bde64b9 Merge branch 'master' of github.com:elasticsearch/elasticsearch 2011-05-25 16:41:36 +02:00
Lukáš Vlček 1baee8e40f add missing @Override annotation 2011-05-25 16:41:15 +02:00
Nicolas Lalevée a9452bd0e6 Add support for setting the boost to a text query in the Java client 2011-05-25 16:27:56 +03:00
Igor Motov b979af109c Add support for filtering aliases to count 2011-05-25 07:07:08 +03:00
kimchy b76f5150ee Query DSL: `query_string` - Expose QueryParser#setAutoGeneratePhraseQueries, closes #964. 2011-05-25 03:58:59 +03:00
kimchy e022f744ee use AndFilter when there is both an alias filer and a filter 2011-05-25 03:06:03 +03:00
Igor Motov e3bffba327 Add support for filtering aliases to Search 2011-05-25 02:47:47 +03:00
kimchy becf4baaa2 optimize term and terms filter that do no match any documents 2011-05-25 00:16:53 +03:00
kimchy 4711be7061 optimize writing gateway data and reuse streams (if needed) 2011-05-24 15:31:50 +03:00
kimchy 68a56a0b58 optimize generation of rest responses and reduce copying bytes around 2011-05-24 14:12:17 +03:00
kimchy d44a796603 increase default keep alive of cache, management and merge thread pools 2011-05-24 02:21:13 +03:00
kimchy 7ff07ebaf1 Use cache streams to copy over byes, not the byte array 2011-05-24 01:02:43 +03:00
Nicolas Lalevée 123b21f4ae fix the build of a phrase query in the java client 2011-05-24 00:46:42 +03:00
kimchy fe52c5665f better cached stream output logic, and reduce byte array copying when sending a message over the transport 2011-05-24 00:43:24 +03:00
kimchy 45956a5a27 optimize empty cached filters to return null 2011-05-23 04:56:57 +03:00
kimchy b61735d8ea Filter Cache: Introduce new `node` level filter cache and make it default, closes #959. 2011-05-23 04:24:59 +03:00
kimchy e948c366f9 optimize cache recycler memory usage 2011-05-22 18:43:27 +03:00
kimchy 9eb9e738ac remove bytes caching for stream copy 2011-05-22 15:15:44 +03:00
kimchy 32294a4d4f no need for weak keys since readers map gets explicitly cleared 2011-05-22 07:35:22 +03:00
kimchy 6f80e306d6 Field Cache: Allow to set `index.cache.field.expire` when using `resident` type, closes #957. 2011-05-22 07:22:44 +03:00
kimchy 404a8f23de optimize single alias lookup 2011-05-22 07:06:23 +03:00
Igor Motov 3d5d25b03b Add IndexAliasService 2011-05-22 06:59:52 +03:00
kimchy 10de33c94e add explicit filter clears on reader finished 2011-05-22 01:15:23 +03:00
kimchy 0d334bfd03 Scripting - mvel: Fix thread safety misuse when compiling scripts, closes #886. Upgrade to mvel 2.1.Beta3 2011-05-21 21:08:51 +03:00
kimchy d310038701 Shared Gateway: Allow to dynamically update the `snapshot_interval` using update settings, closes #954. 2011-05-21 02:31:24 +03:00
kimchy 9a536b2c2b NPE when using "not" filter, closes #953. 2011-05-20 22:16:43 +03:00
kimchy 811f14465a Scripting: Optimize to native script execution when using just `doc.score`, closes #952. 2011-05-20 18:15:56 +03:00
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
kimchy 3f62c96951 Upgrade to jackson 1.8.1, closes #941. 2011-05-18 12:11:07 +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 c9aca9c6de upgrade to guava 09 2011-05-16 22:56:10 +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