LISTSERV mailing list manager LISTSERV 16.5

Help for CODE4LIB Archives


CODE4LIB Archives

CODE4LIB Archives


CODE4LIB@LISTS.CLIR.ORG


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

CODE4LIB Home

CODE4LIB Home

CODE4LIB  February 2007

CODE4LIB February 2007

Subject:

Fwd: starter kit, alpha release

From:

Erik Hatcher <[log in to unmask]>

Reply-To:

Code for Libraries <[log in to unmask]>

Date:

Mon, 19 Feb 2007 12:50:58 -0500

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (260 lines)

If preconf attendees aren't yet on the Google Group specific to the
event, get yourself on:

        <http://groups.google.com/group/code4libpreconf>

There are files posted, and I'd love feedback on how the steps work
for you, at least the very basics - fire Solr up, hit the admin page
- see 16 documents there?  If you get that far, you should be in good
shape.  If not, if my instructions are broken let me know.  If your
environment is broken, fix it :)

        Erik


Begin forwarded message:

> From: Erik Hatcher <[log in to unmask]>
> Date: February 18, 2007 11:50:15 PM EST
> To: code4libpreconf <[log in to unmask]>
> Subject: starter kit, alpha release
> Reply-To: [log in to unmask]
>
>
> Welcome preconferencers!
>
> I've uploaded a couple of files to the "Files" area of this here
> Google Group.
>
> Directions for their use are in the preconf-alpha.zip file, and pasted
> below so you know what to do even before cranking open a .zip file.
> Note that the instructions reference a preconf-final.zip, though I
> uploaded preconf-alpha.zip.  If you're interested in jump starting
> things before next week, give it a shot and report back any
> weirdnesses that you may encounter in your environments.  I'll publish
> a preconf-final.zip, and possibly an updated base Solr apache-
> solr-1.2-
> solr4lib-dev.zip as well prior to the pre-conference.   There will
> also be a handful of CD's and USB drives with the files available for
> sharing at the pre-conference.
>
> Please try to give the SOLR 101 section a try before the
> preconference.  But rest assured that coming to the pre-conference
> cold is fine, and in fact expected.  However, ironing out
> environmental issues with Java installation or any kinks that might be
> in my instructions is recommended to make the pre-conference go most
> smoothly for you.  Remember, the pre-conference is about Solr, not
> about installing Java, configuring paths, editing registry keys.  The
> more prepared your environment, the more fun you'll have!
>
> For those of you bringing laptops and your own data, please also be
> sure bring along all necessary development tools installed and its a
> good idea to have documentation that might come in handy installed
> locally (rather than relying on a network connection).  USB drives
> come in handy for sharing files, so bring 'em if you got 'em.
>
> I'm really looking forward to this event, and have been preparing for
> it for a while now.  I've even been making changes to Solr itself to
> enable easy launching of different datasets.
>
> Let me know what is broken with the examples or instructions.
>
> Thanks,
>    Erik
>
>          == code4lib07_preconf_guide.txt ==
>
> Pre-requisites:
>
>   * Java 1.5+, preferably a JDK, though a JRE may suffice (though may
> error on admin JSP pages)
>
>   * apache-solr-1.2-solr4lib-dev.zip and preconf-final.zip downloads.
>
> To get started:
>
>   - Unzip apache-solr-1.2-solr4lib-dev.zip into your home directory.
> It will put all its files under a solr4lib subdirectory.
>
>   - Unzip preconf-final.zip into your new solr4lib directory.  You
> should now have ~/solr4lib/preconf.
>
>   - Open solr4lib/preconf/code4lib07_preconf_guide.txt
>
>   - Open solr4lib/preconf/flowchart.tiff
>
> = SOLR 101 =
> {{{
>   # svn co https://svn.apache.org/repos/asf/lucene/solr/trunk solr4lib
> #  -r 508922 ???
>   # cd solr4lib
>   # ant example   # unnecessary with the preconf download
>   #    - problems?   try "ant test"
>
>   cd preconf/solr
>   java -jar start.jar
>
>   ------- new shell window -------
>
>   # preconf download already includes built index, skip this step for
> now
>   cd solr4lib/preconf/solr/exampledocs
>   java -jar post.jar http://localhost:8983/solr/update *.xml
>
>   #   TRY IT: http://localhost:8983/solr/select?q=ipod  (view source)
>   #   for better source viewing, try http://localhost:8983/solr/
> select?q=ipod&wt=json&indent=true
>
>   #   TIP: append &wt=json&indent=true to Solr query URLs in your
> browser
>   #        to see the output nicely formatted and readable.
>   #        Substitute in "python" or "ruby" for "json", to taste.
>
>   # for preconf folks that skipped the previous load, follow these
> step:
>   #   * stop Solr
>   #   * delete the solr4lib/preconf/solr/data directory
>   #   * restart Solr
>   #   * post the example XML files
>   #   * continue after successfully querying with your browser as
> above.
>
> == Solr's Administration Console ==
>
>   # http://localhost:8983/solr/admin
>
> == Use the force, Luke ==
>   # Luke is included in the preconf download, under solr4lib/preconf/
> luke
>
>   cd solr4lib/luke
>   java -jar luke.jar
>
>   # open solr4lib/preconf/solr/solr/data/index
>
> == Fire up your own dataset ==
>
>   # copy example solr directory
>   mkdir solr4lib/preconf/myfirst
>   cd solr4lib/preconf/myfirst
>   cp -R ../solr/solr/* . # should have conf and data subdirectories,
> etc
>
>   # test that solr works on the newly moved directory
>   cd solr4lib/preconf/solr
>   java -Dsolr.solr.home=../myfirst -jar start.jar
>
>   # Now to customize the configuration to your needs:
>   #   * shut down solr
>   #   * remove solr4lib/myfirst/data directory
>   #   * customize solr4lib/myfirst/conf/schema.xml and solrconfig.xml
>
>   # index your data
>
>   # test queries through Solr's HTTP interface and administrative
> console at:
>   #     http://localhost:8983/solr/admin
> }}}
>
> = SOLR 201 =
> {{{
>
> == Playing with built-in sample sets ==
>
> # The following samples live under the solr4lib/client/ruby/solr-ruby/
> examples directory.
>
> # For best results, stop Solr and restart it with a different data
> directory specified
> #        (-Dsolr.data.dir=... on the command-lines below).
>
> === Delicious Library ===
>
>   # Launch Solr
>   cd solr4lib/preconf/solr
>   java -Dsolr.solr.home=../../client/ruby/solr-ruby/solr/solr/ -
> Dsolr.data.dir=delicious_library -jar start.jar
>
>   # index the data
>   cd solr4lib/client/ruby/solr-ruby/examples/delicious_library
>
>   # CSV sample data in sample_export.txt
>   # Homework: write a script in your language of choice to import this
> data into Solr
>
>   # The Ruby importer scripts leverage the solr-ruby rubygem (gem
> install solr-ruby).
>   # See additional documentation on the necessary Ruby configuration
> for these
>   # examples to work properly.
>
>   # index Delicious Library sample data:
>   ruby dl_importer.rb sample_export.txt
>
>   # See what fields were indexed:
>   #   http://localhost:8983/solr/select?qt=indexinfo&wt=ruby&indent=on
>
>
> === Tang poems ===
>   # The Tang poem data originated from the University of Virginia's
> Etext Center
>   #    http://etext.virginia.edu/chinese/tangeng.html
>   #    NOTE: the site is Chinese Big5 Traditional encoded, but the
> data file
>   #          used here has been converted to UTF8.
>
>   # Launch Solr
>   cd solr4lib/preconf/solr
>   java -Dsolr.solr.home=../../client/ruby/solr-ruby/solr/solr/ -
> Dsolr.data.dir=tang -jar start.jar
>
>   # Hpricot is required to index the Tang poems using this Ruby script
> (gem install hpricot).
>
>   # index the data
>   cd solr4lib/client/ruby/solr-ruby/examples/tang
>   ruby tang_importer.rb
>
>   # Multi-lingual goodness, with facets!
>   #
> http://localhost:8983/solr/select?
> &wt=ruby&facet=true&facet.field=type_zh_facet&facet.field=author_zh_fa
> cet&facet.field=type_en_facet&facet.field=author_en_facet&facet.mincou
> nt=1&q=*:*&fl=*,score&qt=standard&facet.sort=true&rows=0&indent=on
>
> === MARC ===
>
>   # Launch Solr
>   cd solr4lib/preconf/solr
>   java -Dsolr.solr.home=../../client/ruby/solr-ruby/solr/solr/ -
> Dsolr.data.dir=marc -jar start.jar
>
>   # ruby-marc library required (gem install marc) to import the sample
> MARC data using this Ruby script.
>
>   # index the data
>   cd solr4lib/client/ruby/solr-ruby/examples/marc
>   unzip sample_marc.mrc.zip
>   ruby marc_importer.rb sample_marc.mrc
>
> == Flare (for extra credit) ==
>   # Rails 1.2.2 is required (gem install rails)
>   #  (currently working on removing Sparklines dependency)
>   cd solr4lib/client/ruby/flare
>   script/server
>
>   # http://localhost:3000
>
> }}}
>
>
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google
> Groups "code4libpreconf" group.
> To post to this group, send email to [log in to unmask]
> To unsubscribe from this group, send email to code4libpreconf-
> [log in to unmask]
> For more options, visit this group at http://groups.google.com/
> group/code4libpreconf?hl=en
> -~----------~----~----~----~------~----~------~--~---
>

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003

ATOM RSS1 RSS2



LISTS.CLIR.ORG

CataList Email List Search Powered by the LISTSERV Email List Manager