Fwd: Facets missing on fresh dev install of 3.18.3
Hi Michał, The opac isn't publicly accessible yet but here's a screenshot: http://i.imgur.com/0hdHrbm.png The area where the facets usually are is completely blank, even the "Refine your search" header is missing. We are using marc21, the xsl, xml & record.abs files are present in my installation and the zebra configuration files look like they're pointing to them correctly. I haven't edited them at all. I do have logs from my last reindexing here: http://ccfls.org/files/reindex-output-1-28-15.txt. Regards, Cindy ----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org On Thu, Jan 29, 2015 at 2:28 AM, Michał Dudzik <dudzikmichal@wp.pl> wrote:
Hi Cindy, All facets will not show? Show opac web adres to look about your problem. Index field facets you find in biblio-zebra-indexdefs.xsl, biblio-zebra-indexdefs.xml, record.abs (default if you use Marc21 - /etc/koha/zebradb/marc_defs/marc21/biblios). Declaration what facets show is in the file Koha.pm (default /usr/share/koha/lib/C4/). Regards Michał Dudzik
-- View this message in context: http://koha.1045719.n5.nabble.com/Facets-missing-on-fresh-dev-install-of-3-1... Sent from the Koha-general mailing list archive at Nabble.com. _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Hi Cindy, I see the problem of missing facets on my dev installation as well and haven't been able to figure out what is causing it yet. Setting facets to 0 in koha-conf.xml made the facets come back: <use_zebra_facets>0</use_zebra_facets> So in my case it seems like the new facet code is not working. Which version of Zebra are you using? Regards, Katrin Am 02.02.2015 um 19:03 schrieb Cindy Murdock Ames:
Hi Michał,
The opac isn't publicly accessible yet but here's a screenshot: http://i.imgur.com/0hdHrbm.png
The area where the facets usually are is completely blank, even the "Refine your search" header is missing. We are using marc21, the xsl, xml & record.abs files are present in my installation and the zebra configuration files look like they're pointing to them correctly. I haven't edited them at all. I do have logs from my last reindexing here: http://ccfls.org/files/reindex-output-1-28-15.txt.
Regards, Cindy
----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org
On Thu, Jan 29, 2015 at 2:28 AM, Michał Dudzik <dudzikmichal@wp.pl> wrote:
Hi Cindy, All facets will not show? Show opac web adres to look about your problem. Index field facets you find in biblio-zebra-indexdefs.xsl, biblio-zebra-indexdefs.xml, record.abs (default if you use Marc21 - /etc/koha/zebradb/marc_defs/marc21/biblios). Declaration what facets show is in the file Koha.pm (default /usr/share/koha/lib/C4/). Regards Michał Dudzik
-- View this message in context: http://koha.1045719.n5.nabble.com/Facets-missing-on-fresh-dev-install-of-3-1... Sent from the Koha-general mailing list archive at Nabble.com. _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
El Mon Feb 02 2015 at 15:06:00, Cindy Murdock Ames (<cmurdock@ccfls.org>) escribió:
Hi Michał,
The opac isn't publicly accessible yet but here's a screenshot: http://i.imgur.com/0hdHrbm.png
The area where the facets usually are is completely blank, even the "Refine your search" header is missing. We are using marc21, the xsl, xml & record.abs files are present in my installation and the zebra configuration files look like they're pointing to them correctly. I haven't edited them at all. I do have logs from my last reindexing here: http://ccfls.org/files/reindex-output-1-28-15.txt.
Does setting <use_zebra_facets>0</use_zebra_facets> make them show? Regards
Hi everybody, To answer a bunch of questions: Yes, setting <use_zebra_facets> to 0 (and restarting memcached in my case) does bring the facets back. As far as I know doing that reverts facets to the old system that uses grs1. I would prefer to be able to use dom as grs1 is being deprecated, from what I've read. This server isn't being used in production yet (but hopefully soon) so I would rather be able to use the zebra facets. The facets are also missing from the staff interface. My zebra version is 2.0.59-1.indexdata. My dev install is running on Debian Wheezy, and I'm using the git tag for 3.18.3. As for logs: koha-opac-error_log doesn't log anything at all when I do a search. koha-zebradaemon-output.log outputs this every time I try a search: "10:03:42-03/02 zebrasrv(3) [warn] ir_session (exception)". Is there a way to enable more verbose logging? And do search results revert to grs1 if dom indexing isn't working? I suspect it's something to do with dom, but I don't know enough about zebra to test my hypothesis. Regards, Cindy ----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org On Tue, Feb 3, 2015 at 9:40 AM, Tomas Cohen Arazi <tomascohen@gmail.com> wrote:
El Mon Feb 02 2015 at 15:06:00, Cindy Murdock Ames (<cmurdock@ccfls.org>) escribió:
Hi Michał,
The opac isn't publicly accessible yet but here's a screenshot: http://i.imgur.com/0hdHrbm.png
The area where the facets usually are is completely blank, even the "Refine your search" header is missing. We are using marc21, the xsl, xml & record.abs files are present in my installation and the zebra configuration files look like they're pointing to them correctly. I haven't edited them at all. I do have logs from my last reindexing here: http://ccfls.org/files/reindex-output-1-28-15.txt.
Does setting <use_zebra_facets>0</use_zebra_facets> make them show?
Regards
Setting <use_zebra_facets>0</use_zebra_facets> is not making Koha use GRS-1. You're safe switching it. It only falls back to the old calculation method that wouldn't calculate the facets out of the result set, but from a small number of records from the results. It is "less precise". The way to debug it, is to connect to zebra yourself, and check what's going on. If you launch zebra manually (like in $ zebrasrv -f ~/koha-dev/etc/koha-conf.xml ) you will see the logging on your terminal. Perform a search in the browser. You should see a line like this in the zebrasrv terminal: 12:23:57-03/02 zebrasrv(2) [request] Search biblios OK 1014 1 1+0 RPN @attrset Bib-1 @or @or @attr 4=6 @attr 5=1 @attr 1=1016 @attr 2=102 a @attr 4=6 @attr 5=1 @attr 9=20 @attr 2=102 a @attr 4=6 @attr 5=1 @attr 9=34 @attr 2=102 a After that, you could see something like this, which means zebra is actually being asked for the facets: 12:23:58-03/02 zebrasrv(2) [log] facet first phase real=0.28 cat=index Anyway, connect to zebra manually like this (replace the PATH with yours, a bare minimum would require substituting tcohen for your username): $ yaz-client unix:/home/tcohen/koha-dev/var/run/zebradb/bibliosocket and you will see a prompt like this: Z> Type the following: Z> base biblios Z> format xml Z> elem zebra::facet::au:0:100 Now perform the same search you did on the previous step, type an 'f' and after a space copy and paste from zebrasrv log, just after the RPN word): Z> f @attrset Bib-1 @or @or @attr 4=6 @attr 5=1 @attr 1=1016 @attr 2=102 a @attr 4=6 @attr 5=1 @attr 9=20 @attr 2=102 a @attr 4=6 @attr 5=1 @attr 9=34 @attr 2=102 a Retrieve the facet: Z> s 1+1 If you see some XML output, with author names, it means Zebra succeeds generating the facets, and there's something wrong in Koha. Otherwise, we should take a more sensitive look at your Zebra configuration files. But lets start with this simple test. Good luck! On Tue, Feb 3, 2015 at 12:12 PM, Cindy Murdock Ames <cmurdock@ccfls.org> wrote:
Hi everybody,
To answer a bunch of questions:
Yes, setting <use_zebra_facets> to 0 (and restarting memcached in my case) does bring the facets back. As far as I know doing that reverts facets to the old system that uses grs1. I would prefer to be able to use dom as grs1 is being deprecated, from what I've read. This server isn't being used in production yet (but hopefully soon) so I would rather be able to use the zebra facets.
The facets are also missing from the staff interface.
My zebra version is 2.0.59-1.indexdata. My dev install is running on Debian Wheezy, and I'm using the git tag for 3.18.3.
As for logs: koha-opac-error_log doesn't log anything at all when I do a search. koha-zebradaemon-output.log outputs this every time I try a search: "10:03:42-03/02 zebrasrv(3) [warn] ir_session (exception)".
Is there a way to enable more verbose logging? And do search results revert to grs1 if dom indexing isn't working? I suspect it's something to do with dom, but I don't know enough about zebra to test my hypothesis.
Regards, Cindy
----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org
On Tue, Feb 3, 2015 at 9:40 AM, Tomas Cohen Arazi <tomascohen@gmail.com> wrote:
El Mon Feb 02 2015 at 15:06:00, Cindy Murdock Ames (<cmurdock@ccfls.org ) escribió:
Hi Michał,
The opac isn't publicly accessible yet but here's a screenshot: http://i.imgur.com/0hdHrbm.png
The area where the facets usually are is completely blank, even the "Refine your search" header is missing. We are using marc21, the xsl, xml & record.abs files are present in my installation and the zebra configuration files look like they're pointing to them correctly. I haven't edited
them
at all. I do have logs from my last reindexing here: http://ccfls.org/files/reindex-output-1-28-15.txt.
Does setting <use_zebra_facets>0</use_zebra_facets> make them show?
Regards
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Tomás Cohen Arazi Prosecretaría de Informática Universidad Nacional de Córdoba ✆ +54 351 5353750 ext 13168 GPG: B76C 6E7C 2D80 551A C765 E225 0A27 2EA1 B2F3 C15F
On Tue, Feb 3, 2015 at 10:12 AM, Cindy Murdock Ames <cmurdock@ccfls.org> wrote:
Hi everybody,
To answer a bunch of questions:
Yes, setting <use_zebra_facets> to 0 (and restarting memcached in my case) does bring the facets back. As far as I know doing that reverts facets to the old system that uses grs1. I would prefer to be able to use dom as grs1 is being deprecated, from what I've read. This server isn't being used in production yet (but hopefully soon) so I would rather be able to use the zebra facets.
This isn't quite accurate. The old facet system isn't dependent on grs vs dom. What it does is generate the facets by reading X records of the search results ( not just the results displayed to the searcher ). From those it creates the facets. Unless this code is planned to be obsoleted ( which I am unaware of ), using zebra facets is not required. However, the benefit of zebra facets is that they are more accurate, and create the facets on the entire result set, rather than a portion of the results, and I imagine it's also faster as well. Kyle
Thanks Tomas and Kyle for the clarification, sorry for the misinterpretation. Here's the output from zebra when I start it manually and do a search in the catalog: 11:00:43-03/02 zebrasrv(3) [session] Session - OK 3 unix:/home/kohaclone/koha-dev/var/run/zebradb/bibliosocket PID=23191 11:00:43-03/02 zebrasrv(3) [request] Auth idPass kohaclone - 11:00:43-03/02 zebrasrv(3) [request] Init OK - ID:81 Name:ZOOM-C/YAZ Version:5.9.0 5c3d5999d1588a3963435412af22ec993b22e391 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01\x1C)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk\ tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01 )(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk\ tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01\x1A)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01\x1A)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01\x1E)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01\x1E)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01l\x01\x02)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk.*) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01l\x01\x02)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n.*) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01l\x01\x02)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01l\x01\x02)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n) 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=1.0 sum_tot=8472.0 hits=1.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=1.0 sum_tot=1141.0 hits=1.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=0.0 sum_tot=8472.0 hits=0.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=0.0 sum_tot=1141.0 hits=0.000000 11:00:43-03/02 zebrasrv(3) [request] Search biblios OK 456 1 1+0 RPN @attrset Bib-1 @or @or @or @or @or @attr 1=36 @attr 4=1 @attr 6=3 @attr 9=32 @attr 2=102 "mark twain" @attr 1=4 @attr 4=1 @attr 6=3 @attr 9=28 @attr 2=102 "mark twain" @attr 1=36 @attr 4=1 @attr 9=26 @attr 2=102 "mark twain" @attr 1=4 @attr 4=6 @attr 9=24 @attr 2=102 "mark twain" @attr 4=6 @attr 5=1 @attr 9=14 @attr 2=102 "mark? twain? " @attr 4=6 @attr 9=14 @attr 2=102 "mark twain" 11:00:43-03/02 zebrasrv(3) [log] /home/kohaclone/koha-dev/etc/zebradb/biblios/etc/dom-config.xml dom filter: loading config file /home/kohaclone/koha-dev/etc/zebradb/biblios/etc/dom-config.xml 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 2+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 3+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 4+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 5+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 6+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 7+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 8+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 9+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 10+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 11+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 12+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 13+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 14+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 15+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 16+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 17+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 18+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 19+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 20+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:44-03/02 zebrasrv(3) [session] Connection closed by client 11:00:44-03/02 zebrasrv(3) [warn] ir_session (exception) I don't see anything there mentioning facets. Stay tuned for the yaz-client test... Cindy ----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org Please report tech support issues in Mantis: http://tracker.ccfls.org/mantis On Tue, Feb 3, 2015 at 10:48 AM, Kyle Hall <kyle.m.hall@gmail.com> wrote:
On Tue, Feb 3, 2015 at 10:12 AM, Cindy Murdock Ames <cmurdock@ccfls.org> wrote:
Hi everybody,
To answer a bunch of questions:
Yes, setting <use_zebra_facets> to 0 (and restarting memcached in my case) does bring the facets back. As far as I know doing that reverts facets to the old system that uses grs1. I would prefer to be able to use dom as grs1 is being deprecated, from what I've read. This server isn't being used in production yet (but hopefully soon) so I would rather be able to use the zebra facets.
This isn't quite accurate. The old facet system isn't dependent on grs vs dom. What it does is generate the facets by reading X records of the search results ( not just the results displayed to the searcher ). From those it creates the facets. Unless this code is planned to be obsoleted ( which I am unaware of ), using zebra facets is not required. However, the benefit of zebra facets is that they are more accurate, and create the facets on the entire result set, rather than a portion of the results, and I imagine it's also faster as well.
Kyle
Okay, here's the yaz-client output: kohaclone@koha:~$ yaz-client unix:/home/kohaclone/koha-dev/var/run/zebradb/bibliosocket Connecting...OK. Sent initrequest. Connection accepted by v3 target. ID : 81 Name : Zebra Information Server/GFS/YAZ Version: 2.0.59/5.9.0 5c3d5999d1588a3963435412af22ec993b22e391 Options: search present delSet triggerResourceCtrl scan sort extendedServices namedResultSets Elapsed: 0.002689 Z> base biblios Z> format xml Z> elem zebra::facet::au:0:100 Z> f @attrset Bib-1 @or @or @or @or @or @attr 1=36 @attr 4=1 @attr 6=3 @attr 9=32 @attr 2=102 "mark twain" @attr 1=4 @attr 4=1 @attr 6=3 @attr 9=28 @attr 2=102 "mark twain" @attr 1=36 @attr 4=1 @attr 9=26 @attr 2=102 "mark twain" @attr 1=4 @attr 4=6 @attr 9=24 @attr 2=102 "mark twain" @attr 4=6 @attr 5=1 @attr 9=14 @attr 2=102 "mark? twain? " @attr 4=6 @attr 9=14 @attr 2=102 "mark twain" Sent searchRequest. Received SearchResponse. Search was a success. Number of hits: 456, setno 1 SearchResult-1: term=mark twain cnt=16, term=mark twain cnt=16, term=mark cnt=215, term=twain cnt=97, term=mark cnt=2018, term=twain cnt=374, term=mark cnt=5366, term=twain cnt=480, term=mark cnt=3033, term=twain cnt=478 records returned: 0 Elapsed: 0.020487 Z> s 1+1 Sent presentRequest (1+1). Records: 1 Diagnostic message(s) from database: [25] Specified element set name not valid for specified database -- v2 addinfo '' nextResultSetPosition = 2 Elapsed: 0.000495 Z> ----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org Please report tech support issues in Mantis: http://tracker.ccfls.org/mantis On Tue, Feb 3, 2015 at 11:07 AM, Cindy Murdock Ames <cmurdock@ccfls.org> wrote:
Thanks Tomas and Kyle for the clarification, sorry for the misinterpretation.
Here's the output from zebra when I start it manually and do a search in the catalog:
11:00:43-03/02 zebrasrv(3) [session] Session - OK 3 unix:/home/kohaclone/koha-dev/var/run/zebradb/bibliosocket PID=23191 11:00:43-03/02 zebrasrv(3) [request] Auth idPass kohaclone - 11:00:43-03/02 zebrasrv(3) [request] Init OK - ID:81 Name:ZOOM-C/YAZ Version:5.9.0 5c3d5999d1588a3963435412af22ec993b22e391 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01\x1C)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk\ tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01 )(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk\ tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01\x1A)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01\x1A)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01\x1E)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01\x1E)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01l\x01\x02)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk.*) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01l\x01\x02)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n.*) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01l\x01\x02)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01l\x01\x02)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n) 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=1.0 sum_tot=8472.0 hits=1.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=1.0 sum_tot=1141.0 hits=1.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=0.0 sum_tot=8472.0 hits=0.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=0.0 sum_tot=1141.0 hits=0.000000 11:00:43-03/02 zebrasrv(3) [request] Search biblios OK 456 1 1+0 RPN @attrset Bib-1 @or @or @or @or @or @attr 1=36 @attr 4=1 @attr 6=3 @attr 9=32 @attr 2=102 "mark twain" @attr 1=4 @attr 4=1 @attr 6=3 @attr 9=28 @attr 2=102 "mark twain" @attr 1=36 @attr 4=1 @attr 9=26 @attr 2=102 "mark twain" @attr 1=4 @attr 4=6 @attr 9=24 @attr 2=102 "mark twain" @attr 4=6 @attr 5=1 @attr 9=14 @attr 2=102 "mark? twain? " @attr 4=6 @attr 9=14 @attr 2=102 "mark twain" 11:00:43-03/02 zebrasrv(3) [log] /home/kohaclone/koha-dev/etc/zebradb/biblios/etc/dom-config.xml dom filter: loading config file /home/kohaclone/koha-dev/etc/zebradb/biblios/etc/dom-config.xml 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 2+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 3+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 4+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 5+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 6+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 7+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 8+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 9+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 10+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 11+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 12+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 13+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 14+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 15+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 16+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 17+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 18+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 19+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 20+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:44-03/02 zebrasrv(3) [session] Connection closed by client 11:00:44-03/02 zebrasrv(3) [warn] ir_session (exception)
I don't see anything there mentioning facets. Stay tuned for the yaz-client test...
Cindy
----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org
Please report tech support issues in Mantis: http://tracker.ccfls.org/mantis
On Tue, Feb 3, 2015 at 10:48 AM, Kyle Hall <kyle.m.hall@gmail.com> wrote:
On Tue, Feb 3, 2015 at 10:12 AM, Cindy Murdock Ames <cmurdock@ccfls.org> wrote:
Hi everybody,
To answer a bunch of questions:
Yes, setting <use_zebra_facets> to 0 (and restarting memcached in my case) does bring the facets back. As far as I know doing that reverts facets to the old system that uses grs1. I would prefer to be able to use dom as grs1 is being deprecated, from what I've read. This server isn't being used in production yet (but hopefully soon) so I would rather be able to use the zebra facets.
This isn't quite accurate. The old facet system isn't dependent on grs vs dom. What it does is generate the facets by reading X records of the search results ( not just the results displayed to the searcher ). From those it creates the facets. Unless this code is planned to be obsoleted ( which I am unaware of ), using zebra facets is not required. However, the benefit of zebra facets is that they are more accurate, and create the facets on the entire result set, rather than a portion of the results, and I imagine it's also faster as well.
Kyle
Hi Cindy, it doesn't help much, but it's not only your installation - I can reproduce the error message you see on my installation as well:
Diagnostic message(s) from database: [25] Specified element set name not valid for specified database -- v2
Also using the same version of Zebra. Hopefully we can figure out the problem soon, Katrin Am 03.02.2015 um 17:12 schrieb Cindy Murdock Ames:
Okay, here's the yaz-client output:
kohaclone@koha:~$ yaz-client unix:/home/kohaclone/koha-dev/var/run/zebradb/bibliosocket Connecting...OK. Sent initrequest. Connection accepted by v3 target. ID : 81 Name : Zebra Information Server/GFS/YAZ Version: 2.0.59/5.9.0 5c3d5999d1588a3963435412af22ec993b22e391 Options: search present delSet triggerResourceCtrl scan sort extendedServices namedResultSets Elapsed: 0.002689 Z> base biblios Z> format xml Z> elem zebra::facet::au:0:100 Z> f @attrset Bib-1 @or @or @or @or @or @attr 1=36 @attr 4=1 @attr 6=3 @attr 9=32 @attr 2=102 "mark twain" @attr 1=4 @attr 4=1 @attr 6=3 @attr 9=28 @attr 2=102 "mark twain" @attr 1=36 @attr 4=1 @attr 9=26 @attr 2=102 "mark twain" @attr 1=4 @attr 4=6 @attr 9=24 @attr 2=102 "mark twain" @attr 4=6 @attr 5=1 @attr 9=14 @attr 2=102 "mark? twain? " @attr 4=6 @attr 9=14 @attr 2=102 "mark twain" Sent searchRequest. Received SearchResponse. Search was a success. Number of hits: 456, setno 1 SearchResult-1: term=mark twain cnt=16, term=mark twain cnt=16, term=mark cnt=215, term=twain cnt=97, term=mark cnt=2018, term=twain cnt=374, term=mark cnt=5366, term=twain cnt=480, term=mark cnt=3033, term=twain cnt=478 records returned: 0 Elapsed: 0.020487 Z> s 1+1 Sent presentRequest (1+1). Records: 1 Diagnostic message(s) from database: [25] Specified element set name not valid for specified database -- v2 addinfo '' nextResultSetPosition = 2 Elapsed: 0.000495 Z>
----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org
Please report tech support issues in Mantis: http://tracker.ccfls.org/mantis
On Tue, Feb 3, 2015 at 11:07 AM, Cindy Murdock Ames <cmurdock@ccfls.org> wrote:
Thanks Tomas and Kyle for the clarification, sorry for the misinterpretation.
Here's the output from zebra when I start it manually and do a search in the catalog:
11:00:43-03/02 zebrasrv(3) [session] Session - OK 3 unix:/home/kohaclone/koha-dev/var/run/zebradb/bibliosocket PID=23191 11:00:43-03/02 zebrasrv(3) [request] Auth idPass kohaclone - 11:00:43-03/02 zebrasrv(3) [request] Init OK - ID:81 Name:ZOOM-C/YAZ Version:5.9.0 5c3d5999d1588a3963435412af22ec993b22e391 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01\x1C)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk\ tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01 )(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk\ tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01\x1A)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01\x1A)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01\x1E)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01\x1E)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01l\x01\x02)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk.*) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01l\x01\x02)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n.*) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01l\x01\x02)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk) 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01l\x01\x02)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n) 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=1.0 sum_tot=8472.0 hits=1.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=1.0 sum_tot=1141.0 hits=1.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=0.0 sum_tot=8472.0 hits=0.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=0.0 sum_tot=1141.0 hits=0.000000 11:00:43-03/02 zebrasrv(3) [request] Search biblios OK 456 1 1+0 RPN @attrset Bib-1 @or @or @or @or @or @attr 1=36 @attr 4=1 @attr 6=3 @attr 9=32 @attr 2=102 "mark twain" @attr 1=4 @attr 4=1 @attr 6=3 @attr 9=28 @attr 2=102 "mark twain" @attr 1=36 @attr 4=1 @attr 9=26 @attr 2=102 "mark twain" @attr 1=4 @attr 4=6 @attr 9=24 @attr 2=102 "mark twain" @attr 4=6 @attr 5=1 @attr 9=14 @attr 2=102 "mark? twain? " @attr 4=6 @attr 9=14 @attr 2=102 "mark twain" 11:00:43-03/02 zebrasrv(3) [log] /home/kohaclone/koha-dev/etc/zebradb/biblios/etc/dom-config.xml dom filter: loading config file /home/kohaclone/koha-dev/etc/zebradb/biblios/etc/dom-config.xml 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 2+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 3+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 4+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 5+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 6+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 7+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 8+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 9+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 10+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 11+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 12+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 13+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 14+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 15+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 16+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 17+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 18+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 19+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 20+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:44-03/02 zebrasrv(3) [session] Connection closed by client 11:00:44-03/02 zebrasrv(3) [warn] ir_session (exception)
I don't see anything there mentioning facets. Stay tuned for the yaz-client test...
Cindy
----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org
Please report tech support issues in Mantis: http://tracker.ccfls.org/mantis
On Tue, Feb 3, 2015 at 10:48 AM, Kyle Hall <kyle.m.hall@gmail.com> wrote:
On Tue, Feb 3, 2015 at 10:12 AM, Cindy Murdock Ames <cmurdock@ccfls.org> wrote:
Hi everybody,
To answer a bunch of questions:
Yes, setting <use_zebra_facets> to 0 (and restarting memcached in my case) does bring the facets back. As far as I know doing that reverts facets to the old system that uses grs1. I would prefer to be able to use dom as grs1 is being deprecated, from what I've read. This server isn't being used in production yet (but hopefully soon) so I would rather be able to use the zebra facets.
This isn't quite accurate. The old facet system isn't dependent on grs vs dom. What it does is generate the facets by reading X records of the search results ( not just the results displayed to the searcher ). From those it creates the facets. Unless this code is planned to be obsoleted ( which I am unaware of ), using zebra facets is not required. However, the benefit of zebra facets is that they are more accurate, and create the facets on the entire result set, rather than a portion of the results, and I imagine it's also faster as well.
Kyle
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Can u confirm that *NOT* using IndexData's repositories to grab Zebra, things work as expected? On Tue, Feb 3, 2015 at 2:21 PM, Katrin Fischer <Katrin.Fischer.83@web.de> wrote:
Hi Cindy,
it doesn't help much, but it's not only your installation - I can reproduce the error message you see on my installation as well:
Diagnostic message(s) from database: [25] Specified element set name not valid for specified database -- v2
Also using the same version of Zebra.
Hopefully we can figure out the problem soon,
Katrin
Am 03.02.2015 um 17:12 schrieb Cindy Murdock Ames:
Okay, here's the yaz-client output:
kohaclone@koha:~$ yaz-client unix:/home/kohaclone/koha-dev/var/run/zebradb/bibliosocket Connecting...OK. Sent initrequest. Connection accepted by v3 target. ID : 81 Name : Zebra Information Server/GFS/YAZ Version: 2.0.59/5.9.0 5c3d5999d1588a3963435412af22ec993b22e391 Options: search present delSet triggerResourceCtrl scan sort extendedServices namedResultSets Elapsed: 0.002689 Z> base biblios Z> format xml Z> elem zebra::facet::au:0:100 Z> f @attrset Bib-1 @or @or @or @or @or @attr 1=36 @attr 4=1 @attr 6=3 @attr 9=32 @attr 2=102 "mark twain" @attr 1=4 @attr 4=1 @attr 6=3 @attr 9=28 @attr 2=102 "mark twain" @attr 1=36 @attr 4=1 @attr 9=26 @attr 2=102 "mark twain" @attr 1=4 @attr 4=6 @attr 9=24 @attr 2=102 "mark twain" @attr 4=6 @attr 5=1 @attr 9=14 @attr 2=102 "mark? twain? " @attr 4=6 @attr 9=14 @attr 2=102 "mark twain" Sent searchRequest. Received SearchResponse. Search was a success. Number of hits: 456, setno 1 SearchResult-1: term=mark twain cnt=16, term=mark twain cnt=16, term=mark cnt=215, term=twain cnt=97, term=mark cnt=2018, term=twain cnt=374, term=mark cnt=5366, term=twain cnt=480, term=mark cnt=3033, term=twain cnt=478 records returned: 0 Elapsed: 0.020487 Z> s 1+1 Sent presentRequest (1+1). Records: 1 Diagnostic message(s) from database: [25] Specified element set name not valid for specified database -- v2 addinfo '' nextResultSetPosition = 2 Elapsed: 0.000495 Z>
----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org
Please report tech support issues in Mantis: http://tracker.ccfls.org/mantis
On Tue, Feb 3, 2015 at 11:07 AM, Cindy Murdock Ames <cmurdock@ccfls.org> wrote:
Thanks Tomas and Kyle for the clarification, sorry for the misinterpretation.
Here's the output from zebra when I start it manually and do a search in the catalog:
11:00:43-03/02 zebrasrv(3) [session] Session - OK 3 unix:/home/kohaclone/koha-dev/var/run/zebradb/bibliosocket PID=23191 11:00:43-03/02 zebrasrv(3) [request] Auth idPass kohaclone - 11:00:43-03/02 zebrasrv(3) [request] Init OK - ID:81 Name:ZOOM-C/YAZ Version:5.9.0 5c3d5999d1588a3963435412af22ec993b22e391 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1C)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk\
tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01
)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk\
tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1A)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1A)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1E)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1E)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01l\x01\x02)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk.*)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01l\x01\x02)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n.*)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01l\x01\x02)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01l\x01\x02)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=1.0 sum_tot=8472.0 hits=1.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=1.0 sum_tot=1141.0 hits=1.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=0.0 sum_tot=8472.0 hits=0.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=0.0 sum_tot=1141.0 hits=0.000000 11:00:43-03/02 zebrasrv(3) [request] Search biblios OK 456 1 1+0 RPN @attrset Bib-1 @or @or @or @or @or @attr 1=36 @attr 4=1 @attr 6=3 @attr 9=32 @attr 2=102 "mark twain" @attr 1=4 @attr 4=1 @attr 6=3 @attr 9=28 @attr 2=102 "mark twain" @attr 1=36 @attr 4=1 @attr 9=26 @attr 2=102 "mark twain" @attr 1=4 @attr 4=6 @attr 9=24 @attr 2=102 "mark twain" @attr 4=6 @attr 5=1 @attr 9=14 @attr 2=102 "mark? twain? " @attr 4=6 @attr 9=14 @attr 2=102 "mark twain" 11:00:43-03/02 zebrasrv(3) [log] /home/kohaclone/koha-dev/etc/zebradb/biblios/etc/dom-config.xml dom filter: loading config file /home/kohaclone/koha-dev/etc/zebradb/biblios/etc/dom-config.xml 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 2+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 3+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 4+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 5+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 6+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 7+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 8+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 9+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 10+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 11+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 12+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 13+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 14+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 15+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 16+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 17+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 18+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 19+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 20+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:44-03/02 zebrasrv(3) [session] Connection closed by client 11:00:44-03/02 zebrasrv(3) [warn] ir_session (exception)
I don't see anything there mentioning facets. Stay tuned for the yaz-client test...
Cindy
----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org
Please report tech support issues in Mantis: http://tracker.ccfls.org/mantis
On Tue, Feb 3, 2015 at 10:48 AM, Kyle Hall <kyle.m.hall@gmail.com> wrote:
On Tue, Feb 3, 2015 at 10:12 AM, Cindy Murdock Ames < cmurdock@ccfls.org> wrote:
Hi everybody,
To answer a bunch of questions:
Yes, setting <use_zebra_facets> to 0 (and restarting memcached in my case) does bring the facets back. As far as I know doing that reverts facets to the old system that uses grs1. I would prefer to be able to use dom as grs1 is being deprecated, from what I've read. This server isn't being used in production yet (but hopefully soon) so I would rather be able to use the zebra facets.
This isn't quite accurate. The old facet system isn't dependent on grs vs dom. What it does is generate the facets by reading X records of the search results ( not just the results displayed to the searcher ). From those it creates the facets. Unless this code is planned to be obsoleted ( which I am unaware of ), using zebra facets is not required. However, the benefit of zebra facets is that they are more accurate, and create the facets on the entire result set, rather than a portion of the results, and I imagine it's also faster as well.
Kyle
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Tomás Cohen Arazi Prosecretaría de Informática Universidad Nacional de Córdoba ✆ +54 351 5353750 ext 13168 GPG: B76C 6E7C 2D80 551A C765 E225 0A27 2EA1 B2F3 C15F
If you perform the same search, making sure use_zebra_facets=0, do u see author facets? On Tue, Feb 3, 2015 at 1:12 PM, Cindy Murdock Ames <cmurdock@ccfls.org> wrote:
Okay, here's the yaz-client output:
kohaclone@koha:~$ yaz-client unix:/home/kohaclone/koha-dev/var/run/zebradb/bibliosocket Connecting...OK. Sent initrequest. Connection accepted by v3 target. ID : 81 Name : Zebra Information Server/GFS/YAZ Version: 2.0.59/5.9.0 5c3d5999d1588a3963435412af22ec993b22e391 Options: search present delSet triggerResourceCtrl scan sort extendedServices namedResultSets Elapsed: 0.002689 Z> base biblios Z> format xml Z> elem zebra::facet::au:0:100 Z> f @attrset Bib-1 @or @or @or @or @or @attr 1=36 @attr 4=1 @attr 6=3 @attr 9=32 @attr 2=102 "mark twain" @attr 1=4 @attr 4=1 @attr 6=3 @attr 9=28 @attr 2=102 "mark twain" @attr 1=36 @attr 4=1 @attr 9=26 @attr 2=102 "mark twain" @attr 1=4 @attr 4=6 @attr 9=24 @attr 2=102 "mark twain" @attr 4=6 @attr 5=1 @attr 9=14 @attr 2=102 "mark? twain? " @attr 4=6 @attr 9=14 @attr 2=102 "mark twain" Sent searchRequest. Received SearchResponse. Search was a success. Number of hits: 456, setno 1 SearchResult-1: term=mark twain cnt=16, term=mark twain cnt=16, term=mark cnt=215, term=twain cnt=97, term=mark cnt=2018, term=twain cnt=374, term=mark cnt=5366, term=twain cnt=480, term=mark cnt=3033, term=twain cnt=478 records returned: 0 Elapsed: 0.020487 Z> s 1+1 Sent presentRequest (1+1). Records: 1 Diagnostic message(s) from database: [25] Specified element set name not valid for specified database -- v2 addinfo '' nextResultSetPosition = 2 Elapsed: 0.000495 Z>
----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org
Please report tech support issues in Mantis: http://tracker.ccfls.org/mantis
On Tue, Feb 3, 2015 at 11:07 AM, Cindy Murdock Ames <cmurdock@ccfls.org> wrote:
Thanks Tomas and Kyle for the clarification, sorry for the misinterpretation.
Here's the output from zebra when I start it manually and do a search in the catalog:
11:00:43-03/02 zebrasrv(3) [session] Session - OK 3 unix:/home/kohaclone/koha-dev/var/run/zebradb/bibliosocket PID=23191 11:00:43-03/02 zebrasrv(3) [request] Auth idPass kohaclone - 11:00:43-03/02 zebrasrv(3) [request] Init OK - ID:81 Name:ZOOM-C/YAZ Version:5.9.0 5c3d5999d1588a3963435412af22ec993b22e391 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1C)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk\
tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01
)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk\
tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1A)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1A)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1E)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1E)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01l\x01\x02)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk.*)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01l\x01\x02)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n.*)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01l\x01\x02)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01l\x01\x02)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=1.0 sum_tot=8472.0 hits=1.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=1.0 sum_tot=1141.0 hits=1.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=0.0 sum_tot=8472.0 hits=0.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=0.0 sum_tot=1141.0 hits=0.000000 11:00:43-03/02 zebrasrv(3) [request] Search biblios OK 456 1 1+0 RPN @attrset Bib-1 @or @or @or @or @or @attr 1=36 @attr 4=1 @attr 6=3 @attr 9=32 @attr 2=102 "mark twain" @attr 1=4 @attr 4=1 @attr 6=3 @attr 9=28 @attr 2=102 "mark twain" @attr 1=36 @attr 4=1 @attr 9=26 @attr 2=102 "mark twain" @attr 1=4 @attr 4=6 @attr 9=24 @attr 2=102 "mark twain" @attr 4=6 @attr 5=1 @attr 9=14 @attr 2=102 "mark? twain? " @attr 4=6 @attr 9=14 @attr 2=102 "mark twain" 11:00:43-03/02 zebrasrv(3) [log] /home/kohaclone/koha-dev/etc/zebradb/biblios/etc/dom-config.xml dom filter: loading config file /home/kohaclone/koha-dev/etc/zebradb/biblios/etc/dom-config.xml 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 2+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 3+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 4+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 5+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 6+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 7+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 8+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 9+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 10+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 11+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 12+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 13+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 14+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 15+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 16+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 17+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 18+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 19+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 20+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:44-03/02 zebrasrv(3) [session] Connection closed by client 11:00:44-03/02 zebrasrv(3) [warn] ir_session (exception)
I don't see anything there mentioning facets. Stay tuned for the yaz-client test...
Cindy
----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org
Please report tech support issues in Mantis: http://tracker.ccfls.org/mantis
On Tue, Feb 3, 2015 at 10:48 AM, Kyle Hall <kyle.m.hall@gmail.com> wrote:
On Tue, Feb 3, 2015 at 10:12 AM, Cindy Murdock Ames <cmurdock@ccfls.org
wrote:
Hi everybody,
To answer a bunch of questions:
Yes, setting <use_zebra_facets> to 0 (and restarting memcached in my case) does bring the facets back. As far as I know doing that reverts facets to the old system that uses grs1. I would prefer to be able to use dom as grs1 is being deprecated, from what I've read. This server isn't being used in production yet (but hopefully soon) so I would rather be able to use the zebra facets.
This isn't quite accurate. The old facet system isn't dependent on grs vs dom. What it does is generate the facets by reading X records of the search results ( not just the results displayed to the searcher ). From those it creates the facets. Unless this code is planned to be obsoleted ( which I am unaware of ), using zebra facets is not required. However, the benefit of zebra facets is that they are more accurate, and create the facets on the entire result set, rather than a portion of the results, and I imagine it's also faster as well.
Kyle
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Tomás Cohen Arazi Prosecretaría de Informática Universidad Nacional de Córdoba ✆ +54 351 5353750 ext 13168 GPG: B76C 6E7C 2D80 551A C765 E225 0A27 2EA1 B2F3 C15F
Yep, with use_zebra_facets=0 I can see author facets: http://imgur.com/lj7v0Uw And thanks Katrin, I'm sorry you're having the same problem but it makes me feel a bit better knowing that it's not just me! ----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org Please report tech support issues in Mantis: http://tracker.ccfls.org/mantis On Tue, Feb 3, 2015 at 12:22 PM, Tomas Cohen Arazi <tomascohen@gmail.com> wrote:
If you perform the same search, making sure use_zebra_facets=0, do u see author facets?
On Tue, Feb 3, 2015 at 1:12 PM, Cindy Murdock Ames <cmurdock@ccfls.org> wrote:
Okay, here's the yaz-client output:
kohaclone@koha:~$ yaz-client unix:/home/kohaclone/koha-dev/var/run/zebradb/bibliosocket Connecting...OK. Sent initrequest. Connection accepted by v3 target. ID : 81 Name : Zebra Information Server/GFS/YAZ Version: 2.0.59/5.9.0 5c3d5999d1588a3963435412af22ec993b22e391 Options: search present delSet triggerResourceCtrl scan sort extendedServices namedResultSets Elapsed: 0.002689 Z> base biblios Z> format xml Z> elem zebra::facet::au:0:100 Z> f @attrset Bib-1 @or @or @or @or @or @attr 1=36 @attr 4=1 @attr 6=3 @attr 9=32 @attr 2=102 "mark twain" @attr 1=4 @attr 4=1 @attr 6=3 @attr 9=28 @attr 2=102 "mark twain" @attr 1=36 @attr 4=1 @attr 9=26 @attr 2=102 "mark twain" @attr 1=4 @attr 4=6 @attr 9=24 @attr 2=102 "mark twain" @attr 4=6 @attr 5=1 @attr 9=14 @attr 2=102 "mark? twain? " @attr 4=6 @attr 9=14 @attr 2=102 "mark twain" Sent searchRequest. Received SearchResponse. Search was a success. Number of hits: 456, setno 1 SearchResult-1: term=mark twain cnt=16, term=mark twain cnt=16, term=mark cnt=215, term=twain cnt=97, term=mark cnt=2018, term=twain cnt=374, term=mark cnt=5366, term=twain cnt=480, term=mark cnt=3033, term=twain cnt=478 records returned: 0 Elapsed: 0.020487 Z> s 1+1 Sent presentRequest (1+1). Records: 1 Diagnostic message(s) from database: [25] Specified element set name not valid for specified database -- v2 addinfo '' nextResultSetPosition = 2 Elapsed: 0.000495 Z>
----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org
Please report tech support issues in Mantis: http://tracker.ccfls.org/mantis
On Tue, Feb 3, 2015 at 11:07 AM, Cindy Murdock Ames <cmurdock@ccfls.org> wrote:
Thanks Tomas and Kyle for the clarification, sorry for the misinterpretation.
Here's the output from zebra when I start it manually and do a search in the catalog:
11:00:43-03/02 zebrasrv(3) [session] Session - OK 3 unix:/home/kohaclone/koha-dev/var/run/zebradb/bibliosocket PID=23191 11:00:43-03/02 zebrasrv(3) [request] Auth idPass kohaclone - 11:00:43-03/02 zebrasrv(3) [request] Init OK - ID:81 Name:ZOOM-C/YAZ Version:5.9.0 5c3d5999d1588a3963435412af22ec993b22e391 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1C)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk\
tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01
)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk\
tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1A)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1A)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1E)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1E)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01l\x01\x02)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk.*)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01l\x01\x02)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n.*)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01l\x01\x02)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01l\x01\x02)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=1.0 sum_tot=8472.0 hits=1.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=1.0 sum_tot=1141.0 hits=1.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=0.0 sum_tot=8472.0 hits=0.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=0.0 sum_tot=1141.0 hits=0.000000 11:00:43-03/02 zebrasrv(3) [request] Search biblios OK 456 1 1+0 RPN @attrset Bib-1 @or @or @or @or @or @attr 1=36 @attr 4=1 @attr 6=3 @attr 9=32 @attr 2=102 "mark twain" @attr 1=4 @attr 4=1 @attr 6=3 @attr 9=28 @attr 2=102 "mark twain" @attr 1=36 @attr 4=1 @attr 9=26 @attr 2=102 "mark twain" @attr 1=4 @attr 4=6 @attr 9=24 @attr 2=102 "mark twain" @attr 4=6 @attr 5=1 @attr 9=14 @attr 2=102 "mark? twain? " @attr 4=6 @attr 9=14 @attr 2=102 "mark twain" 11:00:43-03/02 zebrasrv(3) [log] /home/kohaclone/koha-dev/etc/zebradb/biblios/etc/dom-config.xml dom filter: loading config file /home/kohaclone/koha-dev/etc/zebradb/biblios/etc/dom-config.xml 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 2+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 3+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 4+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 5+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 6+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 7+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 8+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 9+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 10+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 11+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 12+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 13+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 14+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 15+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 16+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 17+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 18+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 19+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 20+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:44-03/02 zebrasrv(3) [session] Connection closed by client 11:00:44-03/02 zebrasrv(3) [warn] ir_session (exception)
I don't see anything there mentioning facets. Stay tuned for the yaz-client test...
Cindy
----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org
Please report tech support issues in Mantis: http://tracker.ccfls.org/mantis
On Tue, Feb 3, 2015 at 10:48 AM, Kyle Hall <kyle.m.hall@gmail.com> wrote:
On Tue, Feb 3, 2015 at 10:12 AM, Cindy Murdock Ames < cmurdock@ccfls.org> wrote:
Hi everybody,
To answer a bunch of questions:
Yes, setting <use_zebra_facets> to 0 (and restarting memcached in my case) does bring the facets back. As far as I know doing that reverts facets to the old system that uses grs1. I would prefer to be able to use dom as grs1 is being deprecated, from what I've read. This server isn't being used in production yet (but hopefully soon) so I would rather be able to use the zebra facets.
This isn't quite accurate. The old facet system isn't dependent on grs vs dom. What it does is generate the facets by reading X records of the search results ( not just the results displayed to the searcher ). From those it creates the facets. Unless this code is planned to be obsoleted ( which I am unaware of ), using zebra facets is not required. However, the benefit of zebra facets is that they are more accurate, and create the facets on the entire result set, rather than a portion of the results, and I imagine it's also faster as well.
Kyle
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Tomás Cohen Arazi Prosecretaría de Informática Universidad Nacional de Córdoba ✆ +54 351 5353750 ext 13168 GPG: B76C 6E7C 2D80 551A C765 E225 0A27 2EA1 B2F3 C15F
Hi Cindy, we figured out the problem now - it's related to the Zebra version. I removed Indexdata's repos now and reinstalled everything. Using 2.0.44-3.1 now and facets are working! Katrin Am 03.02.2015 um 19:25 schrieb Cindy Murdock Ames:
Yep, with use_zebra_facets=0 I can see author facets: http://imgur.com/lj7v0Uw
And thanks Katrin, I'm sorry you're having the same problem but it makes me feel a bit better knowing that it's not just me!
----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org
Please report tech support issues in Mantis: http://tracker.ccfls.org/mantis
On Tue, Feb 3, 2015 at 12:22 PM, Tomas Cohen Arazi <tomascohen@gmail.com> wrote:
If you perform the same search, making sure use_zebra_facets=0, do u see author facets?
On Tue, Feb 3, 2015 at 1:12 PM, Cindy Murdock Ames <cmurdock@ccfls.org> wrote:
Okay, here's the yaz-client output:
kohaclone@koha:~$ yaz-client unix:/home/kohaclone/koha-dev/var/run/zebradb/bibliosocket Connecting...OK. Sent initrequest. Connection accepted by v3 target. ID : 81 Name : Zebra Information Server/GFS/YAZ Version: 2.0.59/5.9.0 5c3d5999d1588a3963435412af22ec993b22e391 Options: search present delSet triggerResourceCtrl scan sort extendedServices namedResultSets Elapsed: 0.002689 Z> base biblios Z> format xml Z> elem zebra::facet::au:0:100 Z> f @attrset Bib-1 @or @or @or @or @or @attr 1=36 @attr 4=1 @attr 6=3 @attr 9=32 @attr 2=102 "mark twain" @attr 1=4 @attr 4=1 @attr 6=3 @attr 9=28 @attr 2=102 "mark twain" @attr 1=36 @attr 4=1 @attr 9=26 @attr 2=102 "mark twain" @attr 1=4 @attr 4=6 @attr 9=24 @attr 2=102 "mark twain" @attr 4=6 @attr 5=1 @attr 9=14 @attr 2=102 "mark? twain? " @attr 4=6 @attr 9=14 @attr 2=102 "mark twain" Sent searchRequest. Received SearchResponse. Search was a success. Number of hits: 456, setno 1 SearchResult-1: term=mark twain cnt=16, term=mark twain cnt=16, term=mark cnt=215, term=twain cnt=97, term=mark cnt=2018, term=twain cnt=374, term=mark cnt=5366, term=twain cnt=480, term=mark cnt=3033, term=twain cnt=478 records returned: 0 Elapsed: 0.020487 Z> s 1+1 Sent presentRequest (1+1). Records: 1 Diagnostic message(s) from database: [25] Specified element set name not valid for specified database -- v2 addinfo '' nextResultSetPosition = 2 Elapsed: 0.000495 Z>
----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org
Please report tech support issues in Mantis: http://tracker.ccfls.org/mantis
On Tue, Feb 3, 2015 at 11:07 AM, Cindy Murdock Ames <cmurdock@ccfls.org> wrote:
Thanks Tomas and Kyle for the clarification, sorry for the misinterpretation.
Here's the output from zebra when I start it manually and do a search in the catalog:
11:00:43-03/02 zebrasrv(3) [session] Session - OK 3 unix:/home/kohaclone/koha-dev/var/run/zebradb/bibliosocket PID=23191 11:00:43-03/02 zebrasrv(3) [request] Auth idPass kohaclone - 11:00:43-03/02 zebrasrv(3) [request] Init OK - ID:81 Name:ZOOM-C/YAZ Version:5.9.0 5c3d5999d1588a3963435412af22ec993b22e391 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1C)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk\
tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01
)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk\
tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1A)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1A)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1E)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1E)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01l\x01\x02)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk.*)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01l\x01\x02)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n.*)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01l\x01\x02)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01l\x01\x02)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=1.0 sum_tot=8472.0 hits=1.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=1.0 sum_tot=1141.0 hits=1.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=0.0 sum_tot=8472.0 hits=0.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=0.0 sum_tot=1141.0 hits=0.000000 11:00:43-03/02 zebrasrv(3) [request] Search biblios OK 456 1 1+0 RPN @attrset Bib-1 @or @or @or @or @or @attr 1=36 @attr 4=1 @attr 6=3 @attr 9=32 @attr 2=102 "mark twain" @attr 1=4 @attr 4=1 @attr 6=3 @attr 9=28 @attr 2=102 "mark twain" @attr 1=36 @attr 4=1 @attr 9=26 @attr 2=102 "mark twain" @attr 1=4 @attr 4=6 @attr 9=24 @attr 2=102 "mark twain" @attr 4=6 @attr 5=1 @attr 9=14 @attr 2=102 "mark? twain? " @attr 4=6 @attr 9=14 @attr 2=102 "mark twain" 11:00:43-03/02 zebrasrv(3) [log] /home/kohaclone/koha-dev/etc/zebradb/biblios/etc/dom-config.xml dom filter: loading config file /home/kohaclone/koha-dev/etc/zebradb/biblios/etc/dom-config.xml 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 2+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 3+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 4+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 5+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 6+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 7+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 8+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 9+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 10+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 11+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 12+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 13+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 14+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 15+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 16+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 17+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 18+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 19+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 20+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:44-03/02 zebrasrv(3) [session] Connection closed by client 11:00:44-03/02 zebrasrv(3) [warn] ir_session (exception)
I don't see anything there mentioning facets. Stay tuned for the yaz-client test...
Cindy
----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org
Please report tech support issues in Mantis: http://tracker.ccfls.org/mantis
On Tue, Feb 3, 2015 at 10:48 AM, Kyle Hall <kyle.m.hall@gmail.com> wrote:
On Tue, Feb 3, 2015 at 10:12 AM, Cindy Murdock Ames < cmurdock@ccfls.org> wrote:
Hi everybody,
To answer a bunch of questions:
Yes, setting <use_zebra_facets> to 0 (and restarting memcached in my case) does bring the facets back. As far as I know doing that reverts facets to the old system that uses grs1. I would prefer to be able to use dom as grs1 is being deprecated, from what I've read. This server isn't being used in production yet (but hopefully soon) so I would rather be able to use the zebra facets.
This isn't quite accurate. The old facet system isn't dependent on grs vs dom. What it does is generate the facets by reading X records of the search results ( not just the results displayed to the searcher ). From those it creates the facets. Unless this code is planned to be obsoleted ( which I am unaware of ), using zebra facets is not required. However, the benefit of zebra facets is that they are more accurate, and create the facets on the entire result set, rather than a portion of the results, and I imagine it's also faster as well.
Kyle
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Tomás Cohen Arazi ProsecretarÃa de Informática Universidad Nacional de Córdoba ✆ +54 351 5353750 ext 13168 GPG: B76C 6E7C 2D80 551A C765 E225 0A27 2EA1 B2F3 C15F
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Hi everybody, Thank you guys, you are awesome!!! Removing the Indexdata packages and installing the versions from the Wheezy repos worked! Facets are working! :D :D :D Cindy ----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org On Tue, Feb 3, 2015 at 2:42 PM, Katrin Fischer <Katrin.Fischer.83@web.de> wrote:
Hi Cindy,
we figured out the problem now - it's related to the Zebra version.
I removed Indexdata's repos now and reinstalled everything. Using 2.0.44-3.1 now and facets are working!
Katrin
Yep, with use_zebra_facets=0 I can see author facets: http://imgur.com/lj7v0Uw
And thanks Katrin, I'm sorry you're having the same problem but it makes me feel a bit better knowing that it's not just me!
----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org
Please report tech support issues in Mantis: http://tracker.ccfls.org/mantis
On Tue, Feb 3, 2015 at 12:22 PM, Tomas Cohen Arazi <tomascohen@gmail.com
wrote:
If you perform the same search, making sure use_zebra_facets=0, do u see author facets?
On Tue, Feb 3, 2015 at 1:12 PM, Cindy Murdock Ames <cmurdock@ccfls.org> wrote:
Okay, here's the yaz-client output:
kohaclone@koha:~$ yaz-client unix:/home/kohaclone/koha-dev/var/run/zebradb/bibliosocket Connecting...OK. Sent initrequest. Connection accepted by v3 target. ID : 81 Name : Zebra Information Server/GFS/YAZ Version: 2.0.59/5.9.0 5c3d5999d1588a3963435412af22ec993b22e391 Options: search present delSet triggerResourceCtrl scan sort extendedServices namedResultSets Elapsed: 0.002689 Z> base biblios Z> format xml Z> elem zebra::facet::au:0:100 Z> f @attrset Bib-1 @or @or @or @or @or @attr 1=36 @attr 4=1 @attr 6=3 @attr 9=32 @attr 2=102 "mark twain" @attr 1=4 @attr 4=1 @attr 6=3 @attr 9=28 @attr 2=102 "mark twain" @attr 1=36 @attr 4=1 @attr 9=26 @attr 2=102 "mark twain" @attr 1=4 @attr 4=6 @attr 9=24 @attr 2=102 "mark twain" @attr 4=6 @attr 5=1 @attr 9=14 @attr 2=102 "mark? twain? " @attr 4=6 @attr 9=14 @attr 2=102 "mark twain" Sent searchRequest. Received SearchResponse. Search was a success. Number of hits: 456, setno 1 SearchResult-1: term=mark twain cnt=16, term=mark twain cnt=16, term=mark cnt=215, term=twain cnt=97, term=mark cnt=2018, term=twain cnt=374, term=mark cnt=5366, term=twain cnt=480, term=mark cnt=3033, term=twain cnt=478 records returned: 0 Elapsed: 0.020487 Z> s 1+1 Sent presentRequest (1+1). Records: 1 Diagnostic message(s) from database: [25] Specified element set name not valid for specified database -- v2 addinfo '' nextResultSetPosition = 2 Elapsed: 0.000495 Z>
----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org
Please report tech support issues in Mantis: http://tracker.ccfls.org/mantis
On Tue, Feb 3, 2015 at 11:07 AM, Cindy Murdock Ames < cmurdock@ccfls.org> wrote:
Thanks Tomas and Kyle for the clarification, sorry for the misinterpretation.
Here's the output from zebra when I start it manually and do a search in the catalog:
11:00:43-03/02 zebrasrv(3) [session] Session - OK 3 unix:/home/kohaclone/koha-dev/var/run/zebradb/bibliosocket PID=23191 11:00:43-03/02 zebrasrv(3) [request] Auth idPass kohaclone - 11:00:43-03/02 zebrasrv(3) [request] Init OK - ID:81 Name:ZOOM-C/YAZ Version:5.9.0 5c3d5999d1588a3963435412af22ec993b22e391 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1C)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk\
tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep: (\x01
)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk\
tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1A)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1A)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1E)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01\x1E)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01l\x01\x02)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk.*)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01l\x01\x02)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n.*)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01l\x01\x02)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk)
11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
(\x01l\x01\x02)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=1.0 sum_tot=8472.0 hits=1.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=1.0 sum_tot=1141.0 hits=1.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=0.0 sum_tot=8472.0 hits=0.000000 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=0.0 sum_tot=1141.0 hits=0.000000 11:00:43-03/02 zebrasrv(3) [request] Search biblios OK 456 1 1+0 RPN @attrset Bib-1 @or @or @or @or @or @attr 1=36 @attr 4=1 @attr 6=3 @attr 9=32 @attr 2=102 "mark twain" @attr 1=4 @attr 4=1 @attr 6=3 @attr 9=28 @attr 2=102 "mark twain" @attr 1=36 @attr 4=1 @attr 9=26 @attr 2=102 "mark twain" @attr 1=4 @attr 4=6 @attr 9=24 @attr 2=102 "mark twain" @attr 4=6 @attr 5=1 @attr 9=14 @attr 2=102 "mark? twain? " @attr 4=6 @attr 9=14 @attr 2=102 "mark twain" 11:00:43-03/02 zebrasrv(3) [log] /home/kohaclone/koha-dev/etc/zebradb/biblios/etc/dom-config.xml dom filter: loading config file /home/kohaclone/koha-dev/etc/zebradb/biblios/etc/dom-config.xml 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 2+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 3+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 4+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 5+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 6+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 7+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 8+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 9+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 10+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 11+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 12+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 13+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 14+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 15+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 16+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 17+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 18+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 19+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 20+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:43-03/02 zebrasrv(3) [request] Present OK - 1 1+1 11:00:44-03/02 zebrasrv(3) [session] Connection closed by client 11:00:44-03/02 zebrasrv(3) [warn] ir_session (exception)
I don't see anything there mentioning facets. Stay tuned for the yaz-client test...
Cindy
----------------------------------------------------------- Cindy Murdock Ames IT Services Director Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org
Please report tech support issues in Mantis: http://tracker.ccfls.org/mantis
On Tue, Feb 3, 2015 at 10:48 AM, Kyle Hall <kyle.m.hall@gmail.com> wrote:
On Tue, Feb 3, 2015 at 10:12 AM, Cindy Murdock Ames < cmurdock@ccfls.org> wrote:
> Hi everybody, > > To answer a bunch of questions: > > Yes, setting <use_zebra_facets> to 0 (and restarting memcached in my > case) > does bring the facets back. As far as I know doing that reverts facets > to > the old system that uses grs1. I would prefer to be able to use dom as > grs1 is being deprecated, from what I've read. This server isn't being > used in production yet (but hopefully soon) so I would rather be able to > use the zebra facets. >
This isn't quite accurate. The old facet system isn't dependent on grs vs dom. What it does is generate the facets by reading X records of the search results ( not just the results displayed to the searcher ). From
Am 03.02.2015 um 19:25 schrieb Cindy Murdock Ames: those
it
creates the facets. Unless this code is planned to be obsoleted ( which I am unaware of ), using zebra facets is not required. However, the benefit of zebra facets is that they are more accurate, and create the facets on the entire result set, rather than a portion of the results, and I imagine it's also faster as well.
Kyle
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Tomás Cohen Arazi ProsecretarÃa de Informática Universidad Nacional de Córdoba ✆ +54 351 5353750 ext 13168 GPG: B76C 6E7C 2D80 551A C765 E225 0A27 2EA1 B2F3 C15F
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
On Tue, Feb 03, 2015 at 08:42:12PM +0100, Katrin Fischer wrote:
Hi Cindy,
we figured out the problem now - it's related to the Zebra version.
I removed Indexdata's repos now and reinstalled everything. Using 2.0.44-3.1 now and facets are working!
The underlying yaz release may be the important issue( facets does get mentioned in its changelog). Colin -- Colin Campbell Chief Software Engineer, PTFS Europe Limited Content Management and Library Solutions +44 (0) 800 756 6803 (phone) +44 (0) 7759 633626 (mobile) colin.campbell@ptfs-europe.com skype: colin_campbell2 http://www.ptfs-europe.com
2015-02-05 10:38 GMT+01:00 Colin Campbell <colin.campbell@ptfs-europe.com>:
The underlying yaz release may be the important issue( facets does get mentioned in its changelog).
I confirm. Zebra version 2.0.59 work with Yaz 5.8.0, and stop working with Yaz 5.8.1. Kind regards,
participants (6)
-
Cindy Murdock Ames -
Colin Campbell -
Frédéric Demians -
Katrin Fischer -
Kyle Hall -
Tomas Cohen Arazi