From: Tomasz H. <mo...@po...> - 2011-12-08 22:32:22
|
Hi all, Since I can`t list new items through ILS driver (Aleph), I thought I could do it by matching one or more MARC fields. I was forced to merge some item info into biblio records to please my coworkers, so the necessary data is already there. From what I read, I assumed I could create an entry in marc.local.properties file, for example: item_added_date = 952x where field 952x contains date in form of yyyymmdd and query like http://host/vufind/Search/Results?lookfor=&type=AllFields&filter[]=item_added_date%3A%2220111205%22 would get me a list of records containing this particular date, but during import I get "unknown field" error. So, for starters, how to make a custom field "known" to the system? Other questions will surely follow :) Thanks in advance for any information! Tomasz. |
From: Václav R. <xro...@gm...> - 2011-12-09 06:35:28
|
Hi It seems you didn't add your field in solr schema (solr/biblio/conf/schema.xml), eg: <field name="item_added_date" type="date" indexed="true" stored="true"/> Maybe vufind could take use of dynamic fields in SOLR (http://wiki.apache.org/solr/SchemaXml#Dynamic_fields) and could define some prefix or suffix for custom fields in solr schema. Vaclav 2011/12/8 Tomasz Holdowanski <mo...@po...>: > Hi all, > > Since I can`t list new items through ILS driver (Aleph), I thought I > could do it by matching one or more MARC fields. I was forced to merge > some item info into biblio records to please my coworkers, so the > necessary data is already there. From what I read, I assumed I could > create an entry in marc.local.properties file, for example: > > item_added_date = 952x > > where field 952x contains date in form of yyyymmdd and query like > > http://host/vufind/Search/Results?lookfor=&type=AllFields&filter[]=item_added_date%3A%2220111205%22 > > would get me a list of records containing this particular date, but > during import I get "unknown field" error. > > So, for starters, how to make a custom field "known" to the system? > Other questions will surely follow :) > > Thanks in advance for any information! > Tomasz. > > > > ------------------------------------------------------------------------------ > Cloud Services Checklist: Pricing and Packaging Optimization > This white paper is intended to serve as a reference, checklist and point of > discussion for anyone considering optimizing the pricing and packaging model > of a cloud services business. Read Now! > http://www.accelacomm.com/jaw/sfnl/114/51491232/ > _______________________________________________ > VuFind-General mailing list > VuF...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-general |
From: Tomasz H. <mo...@po...> - 2011-12-09 08:55:57
|
Thanks Václav, it worked, though I had to change the field type to "string" (otherwise there are errors). Guess I should get the contents of 952x subfield through getdate script, but don`t know how yet; maybe it`s not even necessary, since the date format is exactly the same in all of my item records. Now I can get a list of records by the date of input, but how do I get records added within a range, for example between 20111001 and 20111031? I see it`s possible (advanced search, publish date range), but what script controls this? Many thanks for help! Tomasz. Václav Rosecký wrote: > Hi > > It seems you didn't add your field in solr schema > (solr/biblio/conf/schema.xml), eg: > > <field name="item_added_date" type="date" indexed="true" stored="true"/> > > Maybe vufind could take use of dynamic fields in SOLR > (http://wiki.apache.org/solr/SchemaXml#Dynamic_fields) and could > define some prefix or suffix for custom fields in solr schema. > > Vaclav > > 2011/12/8 Tomasz Holdowanski <mo...@po...>: >> Hi all, >> >> Since I can`t list new items through ILS driver (Aleph), I thought I >> could do it by matching one or more MARC fields. I was forced to merge >> some item info into biblio records to please my coworkers, so the >> necessary data is already there. From what I read, I assumed I could >> create an entry in marc.local.properties file, for example: >> >> item_added_date = 952x >> >> where field 952x contains date in form of yyyymmdd and query like >> >> http://host/vufind/Search/Results?lookfor=&type=AllFields&filter[]=item_added_date%3A%2220111205%22 >> >> would get me a list of records containing this particular date, but >> during import I get "unknown field" error. >> >> So, for starters, how to make a custom field "known" to the system? >> Other questions will surely follow :) >> >> Thanks in advance for any information! >> Tomasz. >> >> >> >> ------------------------------------------------------------------------------ >> Cloud Services Checklist: Pricing and Packaging Optimization >> This white paper is intended to serve as a reference, checklist and point of >> discussion for anyone considering optimizing the pricing and packaging model >> of a cloud services business. Read Now! >> http://www.accelacomm.com/jaw/sfnl/114/51491232/ >> _______________________________________________ >> VuFind-General mailing list >> VuF...@li... >> https://lists.sourceforge.net/lists/listinfo/vufind-general > |
From: Bernhard E. <ev...@bi...> - 2011-12-09 11:16:42
|
Hi all, we are having trouble installing a new system. 1.Problem Variante: Components: ----------- WIN XP Apache 2.2.14 MySQL 5.1.39 PHP 5.2.17 JDK 1.6 Smarty Template Engine 2.6.26 Problem: Display of individual records doesn't appear We get a blank screen instead When trying different PHP versions, VuFind won't start: Components: ----------- WIN XP Apache 2.2.21 MySQL 5.5.17 PHP 5.2.17 JDK 1.7.0_01 Smarty Template Engine 2.6.26 Apache and PHP are working, MySQL as well, The entry in config.ini has the right passwords for start of VuFInd Solr.xml has absolute address Result: Forbidden , You don´t have permission to access/vufind on this server. What can we do? Thanks for any help Bernhard Eversberg / Erik Neumann University Library, Braunschweig |
From: Demian K. <dem...@vi...> - 2011-12-09 13:00:40
|
In the first scenario, does turning on debug in web/conf/config.ini give you any clues on the blank record screens? How about looking in your Apache error logs? Is mod_rewrite enabled? In the second scenario, perhaps there is a problem in VuFind's Apache configuration. Do you mind sharing your httpd-vufind.conf file? - Demian ________________________________________ From: Bernhard Eversberg [ev...@bi...] Sent: Friday, December 09, 2011 5:55 AM To: vuf...@li...; ne...@bi... Subject: [VuFind-General] Installation trouble on Win XP Hi all, we are having trouble installing a new system. 1.Problem Variante: Components: ----------- WIN XP Apache 2.2.14 MySQL 5.1.39 PHP 5.2.17 JDK 1.6 Smarty Template Engine 2.6.26 Problem: Display of individual records doesn't appear We get a blank screen instead When trying different PHP versions, VuFind won't start: Components: ----------- WIN XP Apache 2.2.21 MySQL 5.5.17 PHP 5.2.17 JDK 1.7.0_01 Smarty Template Engine 2.6.26 Apache and PHP are working, MySQL as well, The entry in config.ini has the right passwords for start of VuFInd Solr.xml has absolute address Result: Forbidden , You don´t have permission to access/vufind on this server. What can we do? Thanks for any help Bernhard Eversberg / Erik Neumann University Library, Braunschweig ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ VuFind-General mailing list VuF...@li... https://lists.sourceforge.net/lists/listinfo/vufind-general |
From: Demian K. <dem...@vi...> - 2011-12-09 12:33:13
|
You can use Solr's range syntax: item_added_date:[20111001 TO 20111031] There's also a VuFindSolrUtils::parseRange() utility function you can use if your code needs to extract the dates from an existing range query. As an alternative approach to your problem, have you looked at VuFind's built in record change tracking? http://vufind.org/wiki/tracking_record_changes - Demian ________________________________________ From: Tomasz Holdowanski [mo...@po...] Sent: Friday, December 09, 2011 3:55 AM To: Vufind-general-lista Subject: Re: [VuFind-General] Custom field - getting new items by a MARC field Thanks Václav, it worked, though I had to change the field type to "string" (otherwise there are errors). Guess I should get the contents of 952x subfield through getdate script, but don`t know how yet; maybe it`s not even necessary, since the date format is exactly the same in all of my item records. Now I can get a list of records by the date of input, but how do I get records added within a range, for example between 20111001 and 20111031? I see it`s possible (advanced search, publish date range), but what script controls this? Many thanks for help! Tomasz. Václav Rosecký wrote: > Hi > > It seems you didn't add your field in solr schema > (solr/biblio/conf/schema.xml), eg: > > <field name="item_added_date" type="date" indexed="true" stored="true"/> > > Maybe vufind could take use of dynamic fields in SOLR > (http://wiki.apache.org/solr/SchemaXml#Dynamic_fields) and could > define some prefix or suffix for custom fields in solr schema. > > Vaclav > > 2011/12/8 Tomasz Holdowanski <mo...@po...>: >> Hi all, >> >> Since I can`t list new items through ILS driver (Aleph), I thought I >> could do it by matching one or more MARC fields. I was forced to merge >> some item info into biblio records to please my coworkers, so the >> necessary data is already there. From what I read, I assumed I could >> create an entry in marc.local.properties file, for example: >> >> item_added_date = 952x >> >> where field 952x contains date in form of yyyymmdd and query like >> >> http://host/vufind/Search/Results?lookfor=&type=AllFields&filter[]=item_added_date%3A%2220111205%22 >> >> would get me a list of records containing this particular date, but >> during import I get "unknown field" error. >> >> So, for starters, how to make a custom field "known" to the system? >> Other questions will surely follow :) >> >> Thanks in advance for any information! >> Tomasz. >> >> >> >> ------------------------------------------------------------------------------ >> Cloud Services Checklist: Pricing and Packaging Optimization >> This white paper is intended to serve as a reference, checklist and point of >> discussion for anyone considering optimizing the pricing and packaging model >> of a cloud services business. Read Now! >> http://www.accelacomm.com/jaw/sfnl/114/51491232/ >> _______________________________________________ >> VuFind-General mailing list >> VuF...@li... >> https://lists.sourceforge.net/lists/listinfo/vufind-general > ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ VuFind-General mailing list VuF...@li... https://lists.sourceforge.net/lists/listinfo/vufind-general |
From: Tomasz H. <mo...@po...> - 2011-12-09 14:28:37
|
Thanks Demian, I`ve played with queries and found that simpler syntax just before reading your response. ParseRange and record changes tracking are a song of the future, as they say in my country, but will read into them for sure. And now for something a bit different... How to customize the Search Home page? Can`t change the two default "browse by" lists, looked everywhere, to no avail... Regards, Tomasz. Demian Katz wrote: > You can use Solr's range syntax: > > item_added_date:[20111001 TO 20111031] > > There's also a VuFindSolrUtils::parseRange() utility function you can use if your code needs to extract the dates from an existing range query. > > As an alternative approach to your problem, have you looked at VuFind's built in record change tracking? > > http://vufind.org/wiki/tracking_record_changes > > - Demian > ________________________________________ > From: Tomasz Holdowanski [mo...@po...] > Sent: Friday, December 09, 2011 3:55 AM > To: Vufind-general-lista > Subject: Re: [VuFind-General] Custom field - getting new items by a MARC field > > Thanks Václav, > > it worked, though I had to change the field type to "string" (otherwise > there are errors). Guess I should get the contents of 952x subfield > through getdate script, but don`t know how yet; maybe it`s not even > necessary, since the date format is exactly the same in all of my item > records. > > Now I can get a list of records by the date of input, but how do I get > records added within a range, for example between 20111001 and 20111031? > I see it`s possible (advanced search, publish date range), but what > script controls this? > > Many thanks for help! > Tomasz. > > > > Václav Rosecký wrote: >> Hi >> >> It seems you didn't add your field in solr schema >> (solr/biblio/conf/schema.xml), eg: >> >> <field name="item_added_date" type="date" indexed="true" stored="true"/> >> >> Maybe vufind could take use of dynamic fields in SOLR >> (http://wiki.apache.org/solr/SchemaXml#Dynamic_fields) and could >> define some prefix or suffix for custom fields in solr schema. >> >> Vaclav >> >> 2011/12/8 Tomasz Holdowanski <mo...@po...>: >>> Hi all, >>> >>> Since I can`t list new items through ILS driver (Aleph), I thought I >>> could do it by matching one or more MARC fields. I was forced to merge >>> some item info into biblio records to please my coworkers, so the >>> necessary data is already there. From what I read, I assumed I could >>> create an entry in marc.local.properties file, for example: >>> >>> item_added_date = 952x >>> >>> where field 952x contains date in form of yyyymmdd and query like >>> >>> http://host/vufind/Search/Results?lookfor=&type=AllFields&filter[]=item_added_date%3A%2220111205%22 >>> >>> would get me a list of records containing this particular date, but >>> during import I get "unknown field" error. >>> >>> So, for starters, how to make a custom field "known" to the system? >>> Other questions will surely follow :) >>> >>> Thanks in advance for any information! >>> Tomasz. >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Cloud Services Checklist: Pricing and Packaging Optimization >>> This white paper is intended to serve as a reference, checklist and point of >>> discussion for anyone considering optimizing the pricing and packaging model >>> of a cloud services business. Read Now! >>> http://www.accelacomm.com/jaw/sfnl/114/51491232/ >>> _______________________________________________ >>> VuFind-General mailing list >>> VuF...@li... >>> https://lists.sourceforge.net/lists/listinfo/vufind-general > > > ------------------------------------------------------------------------------ > Cloud Services Checklist: Pricing and Packaging Optimization > This white paper is intended to serve as a reference, checklist and point of > discussion for anyone considering optimizing the pricing and packaging model > of a cloud services business. Read Now! > http://www.accelacomm.com/jaw/sfnl/114/51491232/ > _______________________________________________ > VuFind-General mailing list > VuF...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-general > |
From: Demian K. <dem...@vi...> - 2011-12-09 14:31:18
|
Right now, the browse by lists on the home page are the same as the facet select lists found on the advanced search screen. This is controlled by the [Advanced] section of web/conf/facets.ini. - Demian ________________________________________ From: Tomasz Holdowanski [mo...@po...] Sent: Friday, December 09, 2011 9:28 AM To: Vufind-general-lista Subject: Re: [VuFind-General] Custom field - getting new items by a MARC field Thanks Demian, I`ve played with queries and found that simpler syntax just before reading your response. ParseRange and record changes tracking are a song of the future, as they say in my country, but will read into them for sure. And now for something a bit different... How to customize the Search Home page? Can`t change the two default "browse by" lists, looked everywhere, to no avail... Regards, Tomasz. Demian Katz wrote: > You can use Solr's range syntax: > > item_added_date:[20111001 TO 20111031] > > There's also a VuFindSolrUtils::parseRange() utility function you can use if your code needs to extract the dates from an existing range query. > > As an alternative approach to your problem, have you looked at VuFind's built in record change tracking? > > http://vufind.org/wiki/tracking_record_changes > > - Demian > ________________________________________ > From: Tomasz Holdowanski [mo...@po...] > Sent: Friday, December 09, 2011 3:55 AM > To: Vufind-general-lista > Subject: Re: [VuFind-General] Custom field - getting new items by a MARC field > > Thanks Václav, > > it worked, though I had to change the field type to "string" (otherwise > there are errors). Guess I should get the contents of 952x subfield > through getdate script, but don`t know how yet; maybe it`s not even > necessary, since the date format is exactly the same in all of my item > records. > > Now I can get a list of records by the date of input, but how do I get > records added within a range, for example between 20111001 and 20111031? > I see it`s possible (advanced search, publish date range), but what > script controls this? > > Many thanks for help! > Tomasz. > > > > Václav Rosecký wrote: >> Hi >> >> It seems you didn't add your field in solr schema >> (solr/biblio/conf/schema.xml), eg: >> >> <field name="item_added_date" type="date" indexed="true" stored="true"/> >> >> Maybe vufind could take use of dynamic fields in SOLR >> (http://wiki.apache.org/solr/SchemaXml#Dynamic_fields) and could >> define some prefix or suffix for custom fields in solr schema. >> >> Vaclav >> >> 2011/12/8 Tomasz Holdowanski <mo...@po...>: >>> Hi all, >>> >>> Since I can`t list new items through ILS driver (Aleph), I thought I >>> could do it by matching one or more MARC fields. I was forced to merge >>> some item info into biblio records to please my coworkers, so the >>> necessary data is already there. From what I read, I assumed I could >>> create an entry in marc.local.properties file, for example: >>> >>> item_added_date = 952x >>> >>> where field 952x contains date in form of yyyymmdd and query like >>> >>> http://host/vufind/Search/Results?lookfor=&type=AllFields&filter[]=item_added_date%3A%2220111205%22 >>> >>> would get me a list of records containing this particular date, but >>> during import I get "unknown field" error. >>> >>> So, for starters, how to make a custom field "known" to the system? >>> Other questions will surely follow :) >>> >>> Thanks in advance for any information! >>> Tomasz. >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Cloud Services Checklist: Pricing and Packaging Optimization >>> This white paper is intended to serve as a reference, checklist and point of >>> discussion for anyone considering optimizing the pricing and packaging model >>> of a cloud services business. Read Now! >>> http://www.accelacomm.com/jaw/sfnl/114/51491232/ >>> _______________________________________________ >>> VuFind-General mailing list >>> VuF...@li... >>> https://lists.sourceforge.net/lists/listinfo/vufind-general > > > ------------------------------------------------------------------------------ > Cloud Services Checklist: Pricing and Packaging Optimization > This white paper is intended to serve as a reference, checklist and point of > discussion for anyone considering optimizing the pricing and packaging model > of a cloud services business. Read Now! > http://www.accelacomm.com/jaw/sfnl/114/51491232/ > _______________________________________________ > VuFind-General mailing list > VuF...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-general > ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ VuFind-General mailing list VuF...@li... https://lists.sourceforge.net/lists/listinfo/vufind-general |
From: Tomasz H. <mo...@po...> - 2011-12-12 23:26:52
|
Thanks Demian, Well, I thought I could place something instead of those "browse by" pieces, but I`ll live with it right now, look into the code later. Regards, Tomasz. Demian Katz wrote: > Right now, the browse by lists on the home page are the same as the facet select lists found on the advanced search screen. This is controlled by the [Advanced] section of web/conf/facets.ini. > > - Demian > ________________________________________ > From: Tomasz Holdowanski [mo...@po...] > Sent: Friday, December 09, 2011 9:28 AM > To: Vufind-general-lista > Subject: Re: [VuFind-General] Custom field - getting new items by a MARC field > > Thanks Demian, > > I`ve played with queries and found that simpler syntax just before > reading your response. ParseRange and record changes tracking are a song > of the future, as they say in my country, but will read into them for sure. > > And now for something a bit different... > > How to customize the Search Home page? Can`t change the two default > "browse by" lists, looked everywhere, to no avail... > > Regards, > Tomasz. > > > > Demian Katz wrote: >> You can use Solr's range syntax: >> >> item_added_date:[20111001 TO 20111031] >> >> There's also a VuFindSolrUtils::parseRange() utility function you can use if your code needs to extract the dates from an existing range query. >> >> As an alternative approach to your problem, have you looked at VuFind's built in record change tracking? >> >> http://vufind.org/wiki/tracking_record_changes >> >> - Demian >> ________________________________________ >> From: Tomasz Holdowanski [mo...@po...] >> Sent: Friday, December 09, 2011 3:55 AM >> To: Vufind-general-lista >> Subject: Re: [VuFind-General] Custom field - getting new items by a MARC field >> >> Thanks Václav, >> >> it worked, though I had to change the field type to "string" (otherwise >> there are errors). Guess I should get the contents of 952x subfield >> through getdate script, but don`t know how yet; maybe it`s not even >> necessary, since the date format is exactly the same in all of my item >> records. >> >> Now I can get a list of records by the date of input, but how do I get >> records added within a range, for example between 20111001 and 20111031? >> I see it`s possible (advanced search, publish date range), but what >> script controls this? >> >> Many thanks for help! >> Tomasz. >> >> >> >> Václav Rosecký wrote: >>> Hi >>> >>> It seems you didn't add your field in solr schema >>> (solr/biblio/conf/schema.xml), eg: >>> >>> <field name="item_added_date" type="date" indexed="true" stored="true"/> >>> >>> Maybe vufind could take use of dynamic fields in SOLR >>> (http://wiki.apache.org/solr/SchemaXml#Dynamic_fields) and could >>> define some prefix or suffix for custom fields in solr schema. >>> >>> Vaclav >>> >>> 2011/12/8 Tomasz Holdowanski <mo...@po...>: >>>> Hi all, >>>> >>>> Since I can`t list new items through ILS driver (Aleph), I thought I >>>> could do it by matching one or more MARC fields. I was forced to merge >>>> some item info into biblio records to please my coworkers, so the >>>> necessary data is already there. From what I read, I assumed I could >>>> create an entry in marc.local.properties file, for example: >>>> >>>> item_added_date = 952x >>>> >>>> where field 952x contains date in form of yyyymmdd and query like >>>> >>>> http://host/vufind/Search/Results?lookfor=&type=AllFields&filter[]=item_added_date%3A%2220111205%22 >>>> >>>> would get me a list of records containing this particular date, but >>>> during import I get "unknown field" error. >>>> >>>> So, for starters, how to make a custom field "known" to the system? >>>> Other questions will surely follow :) >>>> >>>> Thanks in advance for any information! >>>> Tomasz. >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Cloud Services Checklist: Pricing and Packaging Optimization >>>> This white paper is intended to serve as a reference, checklist and point of >>>> discussion for anyone considering optimizing the pricing and packaging model >>>> of a cloud services business. Read Now! >>>> http://www.accelacomm.com/jaw/sfnl/114/51491232/ >>>> _______________________________________________ >>>> VuFind-General mailing list >>>> VuF...@li... >>>> https://lists.sourceforge.net/lists/listinfo/vufind-general >> >> ------------------------------------------------------------------------------ >> Cloud Services Checklist: Pricing and Packaging Optimization >> This white paper is intended to serve as a reference, checklist and point of >> discussion for anyone considering optimizing the pricing and packaging model >> of a cloud services business. Read Now! >> http://www.accelacomm.com/jaw/sfnl/114/51491232/ >> _______________________________________________ >> VuFind-General mailing list >> VuF...@li... >> https://lists.sourceforge.net/lists/listinfo/vufind-general >> > > > ------------------------------------------------------------------------------ > Cloud Services Checklist: Pricing and Packaging Optimization > This white paper is intended to serve as a reference, checklist and point of > discussion for anyone considering optimizing the pricing and packaging model > of a cloud services business. Read Now! > http://www.accelacomm.com/jaw/sfnl/114/51491232/ > _______________________________________________ > VuFind-General mailing list > VuF...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-general > |