Hie, I noticed that when performing a search on ISBN index, search is made on any index. The query that appears on result page is "nb: test", but the query performed by Zebra server is : "@attrset Bib-1 test". It should be : "@attrset Bib-1 @att 1=7 test" It comes from C4/Search.pm : When index 'nb' detected, the flag $indexes_set is set to 1. That means that index mus't be added to query. Is is a normal behaviour ? -- Fridolyn SOMERS Information and Communication Technologies engineer fridolyn.somers@gmail.com
Searching with nb: <isbn> works correctly. Zebra log: 09:31:32-12/07 zebrasrv(8) [request] Search biblios OK 1 1 1+0 RPN @attrset Bib-1 @attr 1=7 9789080490468 Searching with ISBN in the search bar works too: Log says: 09:33:18-12/07 zebrasrv(9) [request] Search biblios OK 1 1 1+0 RPN @attrset Bib-1 @attr 1=7 @attr 4=6 9789080490468 These results come from Koha 3.00.06.009 Van: koha-devel-bounces@lists.koha-community.org [mailto:koha-devel-bounces@lists.koha-community.org] Namens Fridolyn SOMERS Verzonden: vrijdag 9 juli 2010 12:24 Aan: koha-devel@lists.koha-community.org Onderwerp: [Koha-devel] ISBN search Hie, I noticed that when performing a search on ISBN index, search is made on any index. The query that appears on result page is "nb: test", but the query performed by Zebra server is : "@attrset Bib-1 test". It should be : "@attrset Bib-1 @att 1=7 test" It comes from C4/Search.pm : When index 'nb' detected, the flag $indexes_set is set to 1. That means that index mus't be added to query. Is is a normal behaviour ? -- Fridolyn SOMERS Information and Communication Technologies engineer fridolyn.somers@gmail.com<mailto:fridolyn.somers@gmail.com>
Ok, thanks. I known the problem now. In tag *3.00.06*, in Search.pm, lines with "$indexes_set++" are in comment. They are not in comment in revision *3.2 alpha 2* and neither in HEAD. I can't find when is has been set in comment. Still, I think it is a bug. On Mon, Jul 12, 2010 at 9:42 AM, Marcel de Rooy <M.de.Rooy@rijksmuseum.nl>wrote:
Searching with nb: <isbn> works correctly.
Zebra log: 09:31:32-12/07 zebrasrv(8) [request] Search biblios OK 1 1 1+0 RPN @attrset Bib-1 @attr 1=7 9789080490468
Searching with ISBN in the search bar works too:
Log says: 09:33:18-12/07 zebrasrv(9) [request] Search biblios OK 1 1 1+0 RPN @attrset Bib-1 @attr 1=7 @attr 4=6 9789080490468
These results come from Koha 3.00.06.009
*Van:* koha-devel-bounces@lists.koha-community.org [mailto: koha-devel-bounces@lists.koha-community.org] *Namens *Fridolyn SOMERS *Verzonden:* vrijdag 9 juli 2010 12:24 *Aan:* koha-devel@lists.koha-community.org *Onderwerp:* [Koha-devel] ISBN search
Hie,
I noticed that when performing a search on ISBN index, search is made on any index. The query that appears on result page is "nb: test", but the query performed by Zebra server is : "@attrset Bib-1 test". It should be : "@attrset Bib-1 @att 1=7 test"
It comes from C4/Search.pm : When index 'nb' detected, the flag $indexes_set is set to 1. That means that index mus't be added to query.
Is is a normal behaviour ?
-- Fridolyn SOMERS Information and Communication Technologies engineer fridolyn.somers@gmail.com
-- Fridolyn SOMERS Information and Communication Technologies engineer +33(0)6.86.63.77.68 fridolyn.somers@gmail.com
In tag 3.00.06, lines have been set to comment in commit : http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=commit;h=8d29c78cbb2ed890578... But there are no explanations. Is tag 3.00.06 on master ? On Mon, Jul 12, 2010 at 3:53 PM, Fridolyn SOMERS <fridolyn.somers@gmail.com>wrote:
Ok, thanks.
I known the problem now.
In tag *3.00.06*, in Search.pm, lines with "$indexes_set++" are in comment. They are not in comment in revision *3.2 alpha 2* and neither in HEAD.
I can't find when is has been set in comment.
Still, I think it is a bug.
On Mon, Jul 12, 2010 at 9:42 AM, Marcel de Rooy <M.de.Rooy@rijksmuseum.nl>wrote:
Searching with nb: <isbn> works correctly.
Zebra log: 09:31:32-12/07 zebrasrv(8) [request] Search biblios OK 1 1 1+0 RPN @attrset Bib-1 @attr 1=7 9789080490468
Searching with ISBN in the search bar works too:
Log says: 09:33:18-12/07 zebrasrv(9) [request] Search biblios OK 1 1 1+0 RPN @attrset Bib-1 @attr 1=7 @attr 4=6 9789080490468
These results come from Koha 3.00.06.009
*Van:* koha-devel-bounces@lists.koha-community.org [mailto: koha-devel-bounces@lists.koha-community.org] *Namens *Fridolyn SOMERS *Verzonden:* vrijdag 9 juli 2010 12:24 *Aan:* koha-devel@lists.koha-community.org *Onderwerp:* [Koha-devel] ISBN search
Hie,
I noticed that when performing a search on ISBN index, search is made on any index. The query that appears on result page is "nb: test", but the query performed by Zebra server is : "@attrset Bib-1 test". It should be : "@attrset Bib-1 @att 1=7 test"
It comes from C4/Search.pm : When index 'nb' detected, the flag $indexes_set is set to 1. That means that index mus't be added to query.
Is is a normal behaviour ?
-- Fridolyn SOMERS Information and Communication Technologies engineer fridolyn.somers@gmail.com
-- Fridolyn SOMERS Information and Communication Technologies engineer +33(0)6.86.63.77.68 fridolyn.somers@gmail.com
-- Fridolyn SOMERS Information and Communication Technologies engineer +33(0)6.86.63.77.68 fridolyn.somers@gmail.com
3.00.6 is on 3.0.X branch. On Mon, Jul 12, 2010 at 4:19 PM, Fridolyn SOMERS <fridolyn.somers@gmail.com>wrote:
In tag 3.00.06, lines have been set to comment in commit :
http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=commit;h=8d29c78cbb2ed890578...
But there are no explanations.
Is tag 3.00.06 on master ?
On Mon, Jul 12, 2010 at 3:53 PM, Fridolyn SOMERS < fridolyn.somers@gmail.com> wrote:
Ok, thanks.
I known the problem now.
In tag *3.00.06*, in Search.pm, lines with "$indexes_set++" are in comment. They are not in comment in revision *3.2 alpha 2* and neither in HEAD.
I can't find when is has been set in comment.
Still, I think it is a bug.
On Mon, Jul 12, 2010 at 9:42 AM, Marcel de Rooy <M.de.Rooy@rijksmuseum.nl
wrote:
Searching with nb: <isbn> works correctly.
Zebra log: 09:31:32-12/07 zebrasrv(8) [request] Search biblios OK 1 1 1+0 RPN @attrset Bib-1 @attr 1=7 9789080490468
Searching with ISBN in the search bar works too:
Log says: 09:33:18-12/07 zebrasrv(9) [request] Search biblios OK 1 1 1+0 RPN @attrset Bib-1 @attr 1=7 @attr 4=6 9789080490468
These results come from Koha 3.00.06.009
*Van:* koha-devel-bounces@lists.koha-community.org [mailto: koha-devel-bounces@lists.koha-community.org] *Namens *Fridolyn SOMERS *Verzonden:* vrijdag 9 juli 2010 12:24 *Aan:* koha-devel@lists.koha-community.org *Onderwerp:* [Koha-devel] ISBN search
Hie,
I noticed that when performing a search on ISBN index, search is made on any index. The query that appears on result page is "nb: test", but the query performed by Zebra server is : "@attrset Bib-1 test". It should be : "@attrset Bib-1 @att 1=7 test"
It comes from C4/Search.pm : When index 'nb' detected, the flag $indexes_set is set to 1. That means that index mus't be added to query.
Is is a normal behaviour ?
-- Fridolyn SOMERS Information and Communication Technologies engineer fridolyn.somers@gmail.com
-- Fridolyn SOMERS Information and Communication Technologies engineer +33(0)6.86.63.77.68 fridolyn.somers@gmail.com
-- Fridolyn SOMERS Information and Communication Technologies engineer +33(0)6.86.63.77.68 fridolyn.somers@gmail.com
-- Fridolyn SOMERS Information and Communication Technologies engineer +33(0)6.86.63.77.68 fridolyn.somers@gmail.com
participants (2)
-
Fridolyn SOMERS -
Marcel de Rooy