Comments (5)
It looks like this bug has been present since at least 2.0.5
http://sphinxsearch.com/bugs/view.php?id=1329
http://sphinxsearch.com/forum/view.html?id=10797
from manticoresearch.
Thank you, I've added the issue to our backlog
from manticoresearch.
I've tried to reproduce issue with Manticore head source code and all work fine for me.
here is my config
source test
{
type = mysql
sql_host = localhost
sql_user = test
sql_pass =
sql_db = test
sql_port = 3306 # optional, default is 3306
sql_query_pre = SET NAMES utf8
sql_query = SELECT 1, 'red-black', 11 idd UNION SELECT 2, 'red+black', 12 idd
sql_attr_uint = idd
}
index i1
{
source = test
path = a1/i1
blend_chars = +, -, !, /
exceptions = exceptions.txt
}
index i2
{
source = test
path = a1/i2
blend_chars = +, -, !, /
exceptions = e_no.txt
}
index i3
{
source = test
path = a1/i3
blend_chars = +, -, !, /
}
indexer
{
mem_limit = 512M
}
searchd
{
listen = 8312
listen = 8306:mysql41
log = searchd.log
pid_file = searchd.pid
query_log = query.log
query_log_format = sphinxql
max_matches = 1000
workers = threads
binlog_path = #a1
}
along with content of exceptions files
$>cat exceptions.txt
Sample Exception => SampleException
$>cat e_no.txt
I get back right results without any issues
mysql> select * from i1 where match('red+black');
+------+------+
| id | idd |
+------+------+
| 2 | 12 |
+------+------+
1 row in set (0.00 sec)
mysql> select * from i2 where match('red+black');
+------+------+
| id | idd |
+------+------+
| 2 | 12 |
+------+------+
1 row in set (0.00 sec)
mysql> select * from i3 where match('red+black');
+------+------+
| id | idd |
+------+------+
| 2 | 12 |
+------+------+
1 row in set (0.00 sec)
mysql> select * from i3 where match('red-black');
+------+------+
| id | idd |
+------+------+
| 1 | 11 |
+------+------+
1 row in set (0.00 sec)
mysql> select * from i2 where match('red-black');
+------+------+
| id | idd |
+------+------+
| 1 | 11 |
+------+------+
1 row in set (0.00 sec)
mysql> select * from i1 where match('red-black');
+------+------+
| id | idd |
+------+------+
| 1 | 11 |
+------+------+
1 row in set (0.00 sec)
Feel free to provide full data that reproduces issue.
from manticoresearch.
Yes head looks fine. Sorry about that I'm 0 for 2 😉 I was using indexes generated with an older version of indexer
from manticoresearch.
closing issue however feel free to reopen if you have data that reproduces this case
from manticoresearch.
Related Issues (20)
- Error on inserting null value for MVA field in Elastic-like bulk request HOT 2
- Crash on inserting null value for numeric fields in Elastic-like bulk request HOT 2
- SHOW CREATE TABLE doesn't support secondary_index='1' HOT 1
- Using expression returns a wrong value for a joined table HOT 2
- Ability to apply lcs to multiple-matches query via API HOT 2
- query_log_commands support for HTTP interface and errors
- refactor net buffer code to not allocate max_packet_size buffer HOT 2
- IDF boosters in HTTP requests with match HOT 3
- Incorrect Size Handling for bigint Type via SQL and HTTP HOT 2
- Secondary indexes vs exclude filters and pseudo_sharding=1
- manticore_new_cluster broken HOT 2
- Add missing endpoints to OpenAPI documentetion
- Stopwords behave incorrectly with ngram HOT 1
- "unable to write to binlog: : write error: Bad file descriptor" with binlog_common = 1
- Write throughput degradation in 6.3.3 HOT 1
- Feature request: ALTER TABLE RENAME COLUMN
- sql_attr_multi query causes "Aborted connection" warning with MariaDB HOT 1
- Doc: Add Superset integration section
- Rebuild JSON SI on ALTER REBUILD SECONDARY
- KT-Elastic integration : Search result json schema issue HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manticoresearch.