From: Karla S. <sm...@wi...> - 2012-07-24 15:38:44
|
I do have the dynamic fields referenced in JIRA-480. As I read the discussion I saw: "Another potentially helpful addition would be a searchspecs_local.yaml file that extends/overrides the default searchspecs.yaml file" Did that get implemented in VuFind 1.3? This will be my first time messing with searchspecs.yaml and I would love the safety net of having a searchspecs_local.yaml. -Karla > -----Original Message----- > From: Demian Katz [mailto:dem...@vi...] > Sent: Tuesday, July 24, 2012 7:33 AM > To: Václav Rosecký; Karla Smith > Cc: vuf...@li... > Subject: RE: [VuFind-General] question about tweaking searches > > > Available fields are in biblio/conf/schema.xml in your solr home > > directory, title_short_unstemmed is missing here, but you can add it > > easily. Field title_full_unstemmed has type textProper, if your > schema > > has dynamic fields (http://vufind.org/jira/browse/VUFIND-480), just > > index the short title also in title_short_txtP and modify > > searchspecs.yaml to use this field, eg.: > > I'm not sure why there is no title_short_unstemmed field by default -- > probably a desire to keep index size small, but it seems like a > significant flaw based on the behavior described here. It might be > worth adding it to the default schema in a future release. Does anyone > have any opinions on this? > > If we explicitly define the field in the schema rather than using a > dynamic field, that gives us the benefit of populating it using a > <copyField> directive in the schema, eliminating the need to do > redundant processing in the index configuration. > > > > If I make any changes to searchspecs.yaml do I need to reindex? > > > > No, because searchspecs.yaml is not used by solrmarc when indexing > records. > > That's correct -- no reindexing is needed for searchspecs.yaml > changes... but if you add a new field to the Solr schema, you > obviously need to populate it by reindexing before the searchspecs.yaml > changes will actually do anything. > > - Demian > > -- > This message has been scanned for viruses and dangerous content by > MailScanner, and is believed to be clean. |