Changeset 24648

Show
Ignore:
Timestamp:
26.09.2011 10:44:49 (8 years ago)
Author:
davidb
Message:

Support for patching Lucene files added

Location:
gs3-extensions/solr/trunk/src
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/ADD-SERVICE.sh

    r24642 r24648  
    1010  /bin/cp "$gsdlsrcdir/$f" "../../$gsdlsrcdir/$f" 
    1111done 
     12 
     13 
     14if [ ! -d backup ] ; then 
     15  echo "Patching GS2LuceneSearch to inherit from SharedSoleneGS2FieldSearch.java" 
     16  mkdir backup 
     17  /bin/mv ../../$gsdlsrc/service/GS2LuceneSearch.java backup/. 
     18  /bin/cp $gsdlsrc/service/GS2LuceneSearch.java ../../$gsdlsrc/service/. 
     19  /bin/cp $gsdlsrc/service/SharedSoleneGS2FieldSearch.java ../../$gsdlsrc/service/. 
     20fi 
    1221 
    1322classesdir=web/WEB-INF/classes 
  • gs3-extensions/solr/trunk/src/DEL-SERVICE.sh

    r24642 r24648  
    1313done 
    1414 
     15if [ -d backup ] ; then 
     16  echo "Reverting GS2LuceneSearch to nolonger inherit from SharedSoleneGS2FieldSearch.java" 
     17  /bin/rm ../../$gsdlsrc/service/SharedSoleneGS2FieldSearch.java  
     18  /bin/rm ../../$gsdlsrc/service/GS2LuceneSearch.java  
     19  /bin/mv backup/GS2LuceneSearch.java $gsdlsrc/service/. 
     20  rmdir backup 
     21fi 
     22 
     23 
    1524classesdir=web/WEB-INF/classes 
    1625 
  • gs3-extensions/solr/trunk/src/java-src-file-list.txt

    r24642 r24648  
     1service/SolrSearch.java 
    12service/GS2SolrSearch.java 
    2 service/SolrSearch.java 
    3 #util/AudioDBDocInfo.java 
    4 #util/AudioDBWrapper.java  
     3service/GS2SolrRetrieve.java 
     4util/SolrQueryWrapper.java 
     5util/SolrQueryResult.java