Re: [Koha] Search operators

2012-12-07 Thread Stefano Bargioni
Dear Jared, good job.
In my opinion, at least data that are or can be autoincrement (bib and auth 
system numbers, barcodes) require greater than and less than operators.
Bye. Stefano

On 06/dic/2012, at 18.18, Jared Camins-Esakov wrote:

 As many of you know, I have been working on rewriting Koha's search code so
 that it is more palatable than a plate of burned nine-day-old spaghetti.
 The initial part of the development is nearing completion, and I look
 forward to submitting a patch to the community for sign off[1].
 
 In the course of the first section of the development, I have run into an
 interesting question. We currently support greater than and less than
 operators in our searches, but I cannot think of anywhere we might want to
 use them other than with dates. Does anyone have any scenarios where a
 greater than/less than operator would actually be useful in a bibliographic
 or authority search (other than in date searches)?
 
 Regards,
 Jared

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


[Koha] Search operators

2012-12-06 Thread Jared Camins-Esakov
Hello.

As many of you know, I have been working on rewriting Koha's search code so
that it is more palatable than a plate of burned nine-day-old spaghetti.
The initial part of the development is nearing completion, and I look
forward to submitting a patch to the community for sign off[1].

In the course of the first section of the development, I have run into an
interesting question. We currently support greater than and less than
operators in our searches, but I cannot think of anywhere we might want to
use them other than with dates. Does anyone have any scenarios where a
greater than/less than operator would actually be useful in a bibliographic
or authority search (other than in date searches)?

Regards,
Jared

[1] If you're interested in seeing my work so far, the search rewrite
branch in my public repo has all the code:
http://git.cpbibliography.com/?p=koha.git;a=shortlog;h=refs/heads/search_rewrite
The RFC is at http://wiki.koha-community.org/wiki/C_%26_P_Search_Rewrite_RFCand
I would still welcome any and all comments.

-- 
Jared Camins-Esakov
Bibliographer, C  P Bibliography Services, LLC
(phone) +1 (917) 727-3445
(e-mail) jcam...@cpbibliography.com
(web) http://www.cpbibliography.com/
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Search operators

2012-12-06 Thread Elaine Bradtke
Possibly with other numbers such as barcode or biblio numbers.
Elaine

On Thu, Dec 6, 2012 at 4:40 PM, Jared Camins-Esakov 
jcam...@cpbibliography.com wrote:

 Hello.

 As many of you know, I have been working on rewriting Koha's search code so
 that it is more palatable than a plate of burned nine-day-old spaghetti.
 The initial part of the development is nearing completion, and I look
 forward to submitting a patch to the community for sign off[1].

 In the course of the first section of the development, I have run into an
 interesting question. We currently support greater than and less than
 operators in our searches, but I cannot think of anywhere we might want to
 use them other than with dates. Does anyone have any scenarios where a
 greater than/less than operator would actually be useful in a bibliographic
 or authority search (other than in date searches)?

 Regards,
 Jared

 [1] If you're interested in seeing my work so far, the search rewrite
 branch in my public repo has all the code:

 http://git.cpbibliography.com/?p=koha.git;a=shortlog;h=refs/heads/search_rewrite
 The RFC is at
 http://wiki.koha-community.org/wiki/C_%26_P_Search_Rewrite_RFCand
 I would still welcome any and all comments.

 --
 Jared Camins-Esakov
 Bibliographer, C  P Bibliography Services, LLC
 (phone) +1 (917) 727-3445
 (e-mail) jcam...@cpbibliography.com
 (web) http://www.cpbibliography.com/
 ___
 Koha mailing list  http://koha-community.org
 Koha@lists.katipo.co.nz
 http://lists.katipo.co.nz/mailman/listinfo/koha




-- 
Elaine Bradtke
Data Wrangler
VWML
English Folk Dance and Song Society | http://www.efdss.org
Cecil Sharp House, 2 Regent's Park Road, London NW1 7AY
Tel+44 (0) 20 7485 2206 (This number is for the English Folk Dance and
Song Society in London, England. If you wish to phone me personally, send
an e-mail first. I work off site)
--
Registered Company No. 297142
Charity Registered in England and Wales No. 305999
---
Writing about music is like dancing about architecture
--Elvis Costello (Musician magazine No. 60 (October 1983), p. 52)
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Search operators

2012-12-06 Thread Alex Bernier
On Thu, Dec 06, 2012 at 11:40:30AM -0500, Jared Camins-Esakov wrote:
 Hello.
 
 As many of you know, I have been working on rewriting Koha's search code so
 that it is more palatable than a plate of burned nine-day-old spaghetti.
 The initial part of the development is nearing completion, and I look
 forward to submitting a patch to the community for sign off[1].
 
 In the course of the first section of the development, I have run into an
 interesting question. We currently support greater than and less than
 operators in our searches, but I cannot think of anywhere we might want to
 use them other than with dates. Does anyone have any scenarios where a
 greater than/less than operator would actually be useful in a bibliographic
 or authority search (other than in date searches)?

Some ideas :
- Duration (for audiobooks, DVD,...)
- File size (for electronic ressources)
- Number of pages of printed books

Regards,

Alex
--
Association BrailleNet
Université Pierre et Marie Curie, Boîte 23
9 quai Saint-Bernard
75252 Paris Cedex 05
Tél. + 33 1 44 27 36 05
Fax  + 33 1 44 27 34 49
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha