[Koha-bugs] [Bug 10544] stocknumber index is an alias of Number-local-acquisition

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 24 10:05:48 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10544

M. de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #22344|0                           |1
        is obsolete|                            |

--- Comment #12 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 22347
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22347&action=edit
Bug 10544 - add Number-local-acquisition in QueryParser config

This patch adds the Number-local-acquisition into QueryParser configuration
file.
Like in ccl.properties, "Number-local-acquisition" is the main index name and
"stocknumber" and "inv" are aliases.

Test plan :
Enable QueryParser :
- Enable UseQueryParser syspref
- Edit your koha-conf.xml
- Add to "config" node : <queryparser_config>[your
path]/etc/searchengine/queryparser.yaml</queryparser_config>, adapt [your
patch] to your install configuration folder
- If needed copy from sources "etc/searchengine/queryparser.yaml" into your
install configuration folder
Test search :
- Add Number-local-acquisition on an existing subfield in records.abs. For
example on item barcode field
- Reindex Zebra database
- Choose a value of this field that will match some results. For example : "0*"
will match all barcodes beginning with zero
- In intranet, enter this URL : <your
server>/cgi-bin/koha/catalogue/search.pl?idx=stocknumber&q=0*&sort_by=relevance
=> You get some results
- In intranet, enter this URL : <your
server>/cgi-bin/koha/catalogue/search.pl?idx=inv&q=0*&sort_by=relevance
=> You get the same results
- In intranet, enter this URL : <your
server>/cgi-bin/koha/catalogue/search.pl?idx=Number-local-acquisition&q=0*&sort_by=relevance
=> You get the same results

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list