barzerman / barzer

barzer engine code
MIT License
2 stars 0 forks source link

tag filtering is broken #653

Open pltr opened 10 years ago

pltr commented 10 years ago

http://zurch.net/bjson?zurch=yes&byid=all&zdtag=6%2C8&flag=dCHg&u=407 shows 3 documents yet http://zurch.net/bjson?zurch=yes&byid=all&zdtag=8&flag=dCHg&u=407 shows none

barzerman commented 10 years ago
<query ret="json" flag="dCHg" zurch="yes" u="407" byid="all" zdtag="6,8"></query>
<query ret="json" flag="dCHg" zurch="yes" u="407" byid="all" zdtag="8"></query>
barzerman commented 10 years ago

this isn't a bug really. tag 8 doesn't exist in the set. meaning no documents have that tag linked to them. The way engine currently treats such cases (and it is by design) is to not filter at all, rather than filter everything.

closing the ticket