You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/07/19 02:09:03 UTC
[GitHub] [incubator-shardingsphere] WillWei1983 opened a new issue #2726:
limit offset doesn't work when using the fullText search match against in
boolean mode
WillWei1983 opened a new issue #2726: limit offset doesn't work when using the fullText search match against in boolean mode
URL: https://github.com/apache/incubator-shardingsphere/issues/2726
## Bug Report
### Which version of ShardingSphere did you use?
I am using the 4.0.0-RC2 build by myself from the source
【BTW】the build fail in openjdk, success only in Oracle jdk. it seems the build use a tool only available in Oracle jdk
### Which project did you use? Sharding-JDBC or Sharding-Proxy?
Sharding-Proxy
### Expected behavior
return the limit record when using the match against in boolean mode
### Actual behavior
return all the records when using the match against in boolean mode, but for natural language mode ,it works well.
### Reason analyze (If you can)
May be in the boolean mode, the proxy didn't send the limit offset to the real db?
### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
`SELECT * FROM SMS_SIGN_MISS_REPORT
WHERE FINAL_STATUS_ID = 'SignUndefine' and ASSIGN_TO_USER_ID ='_NA_'
and MATCH(SIGN_TEXT) AGAINST('+韵达 *快递' in boolean mode )
limit 5 offset 0;`
when I execute this in the real db like
```
SELECT * FROM SMS_SIGN_MISS_REPORT_0
WHERE FINAL_STATUS_ID = 'SignUndefine' and ASSIGN_TO_USER_ID ='_NA_'
and MATCH(SIGN_TEXT) AGAINST('+韵达 *快递' in boolean mode )
limit 5 offset 0;
```
it works as expected
### Example codes for reproduce this issue (such as a github link).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services