From: Wayne G. <ws...@wm...> - 2008-07-17 18:14:28
|
Hi Jeffrey, I believe you're getting the error because the elevate handler is already in the solrconfig.xml file. To use the request handler, you'll do something like: http://localhost:8080/solr/elevate/?q=shakespear Wayne Barnett, Jeffrey wrote: > I've verified that I'm using the solr build you suggest, but the entries in elevate.xml continue to have no effect. > > A post on the solr wiki (http://wiki.apache.org/solr/SolrPlugins ) > Suggests adding a component entry to solrconfig.xml: > > <searchComponent name="elevator" class="org.apache.solr.handler.component.QueryElevationComponent" > > <!-- pick a fieldType to analyze queries --> > <str name="queryFieldType">string</str> > <str name="config-file">elevate.xml</str> > </searchComponent> > > But that creates format error messages from solr on startup. > The comment seems to suggest that "fieldType" might be something I need to customize, but it isn't clear what valid choices might be. > > Can someone provide a working example using "elevate" in both solrconfig.xml and elevate.xml? > > -----Original Message----- > From: Wayne Graham [mailto:ws...@wm...] > Sent: Friday, July 11, 2008 10:11 AM > To: Barnett, Jeffrey > Cc: Andrew Nagy; vuf...@li... > Subject: Re: MarcImporter vufind/solrmarc > > The nightly snapshot of the 1.3 Solr trunk (the snapshot is from > 6/12/08) is in the subversion repository. This isn't the final release > of 1.3, and may cause some issues as the program itself is still in > non-release form. > > The published version of Vufind refers to the tarball available for > download... > > Wayne > > Barnett, Jeffrey wrote: > >> Does "published" mean "in the vufind trunk"? I think it must, because I just peeked at the solr/admin/info page for the rev 792 version I just pulled, and it reports solr version 1.2.2008.06.12.08.06.21, which is newer that it used to be but still not 1.3. So where can I get a 1.3 version? >> >> -----Original Message----- >> From: Andrew Nagy [mailto:and...@vi...] >> Sent: Thursday, July 10, 2008 3:55 PM >> To: Barnett, Jeffrey; Wayne Graham >> Cc: vuf...@li... >> Subject: RE: MarcImporter vufind/solrmarc >> >> Jeffrey - to correct or clarify my self - no "published" version of vufind uses solr1.3. It is still in development and will be used for version 1.0. >> >> Andrew >> >> >> >>> -----Original Message----- >>> From: Barnett, Jeffrey [mailto:jef...@ya...] >>> Sent: Thursday, July 10, 2008 3:25 PM >>> To: Wayne Graham >>> Cc: vuf...@li...; Andrew Nagy >>> Subject: RE: MarcImporter vufind/solrmarc >>> >>> Andrew says (in an off-list note) that no version of vufind yet uses >>> solr1.3. Which is correct? (I'm now up to 792). >>> >>> -----Original Message----- >>> From: Wayne Graham [mailto:ws...@wm...] >>> Sent: Tuesday, July 08, 2008 4:22 PM >>> To: Barnett, Jeffrey >>> Cc: vuf...@li...; Andrew Nagy >>> Subject: Re: MarcImporter vufind/solrmarc >>> >>> Try vufind 782 (current). I don't quite remember the rev that I put in >>> Solr 1.3 (which the indexer uses). >>> >>> Wayne >>> >>> >>> > > -- > /** > * Wayne Graham > * Earl Gregg Swem Library > * PO Box 8794 > * Williamsburg, VA 23188 > * 757.221.3112 > * http://swem.wm.edu/blogs/waynegraham/ > */ > > > -- /** * Wayne Graham * Earl Gregg Swem Library * PO Box 8794 * Williamsburg, VA 23188 * 757.221.3112 * http://swem.wm.edu/blogs/waynegraham/ */ |