View Issue Details

IDProjectCategoryView StatusLast Update
0002218HTML & PERLBug Report - Interfacepublic2016-10-31 18:35
ReporterHinoe Assigned ToDerIdiot  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Fixed in Version2016-09 
Summary0002218: Fulltext ignores joiners and always joins by OR; uses joiners as search terms
DescriptionIn fulltext search, there is a note stating "Search terms are joined by OR by default. You may add AND/OR/+/- to override this."

Plain and simple, that doesn't work. In fact, AND and OR are used as normal search terms.
Steps To Reproduce1) http://anidb.net/perl-bin/animedb.pl?show=search&do=fulltext
2) Type anything that would be expected to return a limited set of results with a joiner; for example: series AND test
3) Press search
4) Look at the page count
5) Look at the results
6) Act as Itoshiki Nozomu would
Additional InformationI suspect that at least the forum search is being affected by the same or a similar issue, but I can't be sure because I can't seem to find any explanation on how that search is supposed to work. At the very least, I know that trying the same instructions as the fulltext search makes it go boom in a similar way; same algorithm?
TagsNo tags attached.

Relationships

related to 0002335 resolvedDerIdiot Forum search broken for some search terms, such as "torture" 
related to 0002690 resolvedDerIdiot Forum search: "quoted multiwords" breaks search, "quotedsingleword" works 

Activities

Hinoe

2016-08-30 01:28

reporter   ~0003815

Related issue for forum search: 0002335.

DerIdiot

2016-08-30 20:22

administrator   ~0003818

that code had a lot of issues.
* some cleanup code removed all +/-/" from the string
* AND/NOT handling wasn't implemented at all
* phrase handling was limited to 1 word

it should be okish now i hope.

Issue History

Date Modified Username Field Change
2015-01-26 12:49 Hinoe New Issue
2016-08-30 01:28 Hinoe Note Added: 0003815
2016-08-30 20:18 DerIdiot Assigned To => DerIdiot
2016-08-30 20:18 DerIdiot Status new => resolved
2016-08-30 20:18 DerIdiot Resolution open => fixed
2016-08-30 20:18 DerIdiot Fixed in Version => 2016-09
2016-08-30 20:22 DerIdiot Note Added: 0003818
2016-10-31 18:29 CDB-Man Relationship added related to 0002335
2016-10-31 18:35 CDB-Man Relationship added related to 0002690