From: Tod O. <ols...@gm...> - 2013-03-14 16:13:07
|
Assuming the 001 is used as the solr "id" field, would there be a downside to just adding "id" to the definition of "AllFields" in searchspecs.yaml? -Tod On Mar 14, 2013, at 10:35 AM, Demian Katz <dem...@vi...> wrote: > I’m copying this message to solrmarc-tech in case anyone there has additional advice…. > > It looks like the issue here is that the getallsearchablefields function only retrieves data fields – it ignores control fields. Since 001 is a control field, it gets skipped even if you include it in the getallsearchablefields range. Sorry that I hadn’t previously realized this limitation! > > If you want to add more fields, one solution might be to adjust the schema so that allfields is multi-valued, and then copyField values from other places into allfields. This change was recently made in VuFind 2.0 in order to allow the “format” value to be searched. You can see the patch here: > > http://vufind.git.sourceforge.net/git/gitweb.cgi?p=vufind/vufind;a=commitdiff;h=043fb525419e766bc47b3122396405f430d9d1d8 > > These same general changes should be applicable to 1.x. > > So if, for example, 001 is currently being indexed as your id value, you could add a copyField to schema.xml to push id into allfields. > > If 001 is not currently being indexed, you could create a dynamic field to hold various control values (say, control_values_str_mv) and then copyField that into allfields. > > - Demian > > From: Stephen Hovey [mailto:ho...@bu...] > Sent: Thursday, March 14, 2013 11:24 AM > To: Demian Katz; Mark Noble > Cc: vuf...@li... > Subject: RE: [VuFind-General] What is 'keyword' as opposed to 'all fields' > > I’m doing something wrong. > > 001 has values like ocm02345744 > > But after a test index – it doesn’t come up in a search when I just change that getallsearchablefields range. > > Anyone get this sort of thing to work? > > From: Demian Katz [mailto:dem...@vi...] > Sent: Thursday, March 07, 2013 11:38 AM > To: Stephen Hovey; Mark Noble > Cc: vuf...@li... > Subject: RE: [VuFind-General] What is 'keyword' as opposed to 'all fields' > > Changing marc.properties should be enough if you want to change the behavior of the existing allfields field. You only need to delve into searchspecs.yaml if you want to differentiate between two different handlers (in that case you would need to define the secondary handler and also turn it on in searches.ini). > > - Demian > > From: Stephen Hovey [mailto:ho...@bu...] > Sent: Thursday, March 07, 2013 11:36 AM > To: Mark Noble; Demian Katz > Cc: vuf...@li... > Subject: RE: [VuFind-General] What is 'keyword' as opposed to 'all fields' > > For 2 below - Is that just a matter of changing marc.properties > > From: > > allfields = custom, getAllSearchableFields(100, 900) > > to: > > allfields = custom, getAllSearchableFields(001, 999) > > ?? Or does searchspec.yaml also need adjusting? > > From: Mark Noble [mailto:ma...@ma...] > Sent: Thursday, March 07, 2013 11:09 AM > To: Demian Katz > Cc: Stephen Hovey; vuf...@li... > Subject: Re: [VuFind-General] What is 'keyword' as opposed to 'all fields' > > Actually, in the Wake County interface (and Marmot interface) we: > 1) Renamed the existing All Fields search to Keyword > 2) Added a new All Fields search that includes all fields in the marc record from 001 to 999. That way librarians can search for OCLC numbers and other fields that are not normally available. > > - Mark > > On 3/7/2013 8:40 AM, Demian Katz wrote: > The only difference is the name. If you need to change that, just edit web/conf/searches.ini. > > - Demian > > From: Stephen Hovey [mailto:ho...@bu...] > Sent: Thursday, March 07, 2013 10:31 AM > To: vuf...@li... > Subject: [VuFind-General] What is 'keyword' as opposed to 'all fields' > > This may be the wrong place to ask. > > I have librarians that just can’t stand the lack of the choice of ‘keyword’ in the search drop down. > > They note sites like this: > > https://catalog.wakegov.com/Union/Search?type=Keyword&lookfor=quammen > > That have ‘all fields’, And ‘keyword’ > > Anyone familiar with this that could explain what’s different? > > The Buffalo & Erie County Public Library System has more than 2.6 million materials available for borrowing including books, eBooks, DVDs, music and more. Free library card applications can be downloaded and taken to any of the 37- local public libraries for processing. A valid form of identification and proof of address is necessary. For more information call 716-858-8900 or visitwww.BuffaloLib.org . > > > ------------------------------------------------------------------------------ > Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the > endpoint security space. For insight on selecting the right partner to > tackle endpoint security challenges, access the full report. > http://p.sf.net/sfu/symantec-dev2dev > > > _______________________________________________ > VuFind-General mailing list > VuF...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-general > > > The Buffalo & Erie County Public Library System has more than 2.6 million materials available for borrowing including books, eBooks, DVDs, music and more. Free library card applications can be downloaded and taken to any of the 37- local public libraries for processing. A valid form of identification and proof of address is necessary. For more information call 716-858-8900 or visit www.BuffaloLib.org . > > The Buffalo & Erie County Public Library System has more than 2.6 million materials available for borrowing including books, eBooks, DVDs, music and more. Free library card applications can be downloaded and taken to any of the 37- local public libraries for processing. A valid form of identification and proof of address is necessary. For more information call 716-858-8900 or visit www.BuffaloLib.org . > > -- > You received this message because you are subscribed to the Google Groups "solrmarc-tech" group. > To unsubscribe from this group and stop receiving emails from it, send an email to sol...@go.... > To post to this group, send email to sol...@go.... > Visit this group at http://groups.google.com/group/solrmarc-tech?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. |