,

Category: search

  • Apache Solr 4 – Getting Started

    Download Server # set version and base directory version=”4.4.0″ basedir=~/build/solr # create directory for Solr server binaries mkdir $basedir cd $basedir # download solr binaries > 70 MB wget http://apache.mirror.clusters.cc/lucene/solr/$version/solr-$version.zip # extract zip file unzip -oq solr-$version.zip # move versioned directory mv solr-$version solr Start Server # set base directory basedir=~/build/solr cd $basedir/solr/example/ # start…

  • Lucene 4 – Getting Started – Demo File Search

    Download Lucene and Index Files # set lucene version version=”4.4.0″ # set base directories basedir=~/build/lucene/lucene-$version indexdir=$basedir/data/index # create direct for Lucene code and binaries mkdir -p $indexdir cd $basedir/.. # download lucene if [ ! -e lucene-$version.zip ]; then wget http://apache.imsam.info/lucene/java/$version/lucene-$version.zip fi; # extract unzip -oq lucene-$version.zip # create directory to save the search index…