GithubHelp home page GithubHelp logo

Comments (5)

outcassed avatar outcassed commented on July 25, 2024

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.

airolg avatar airolg commented on July 25, 2024

Thank you, I've added the issue to our backlog

from manticoresearch.

tomatolog avatar tomatolog commented on July 25, 2024

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.

outcassed avatar outcassed commented on July 25, 2024

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.

tomatolog avatar tomatolog commented on July 25, 2024

closing issue however feel free to reopen if you have data that reproduces this case

from manticoresearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.