Ignore:
Timestamp:
2014-12-08T11:09:14+13:00 (9 years ago)
Author:
kjdon
Message:

lucene sort order param has changed to reverse sort on/off, but solr uses asc/desc. I have moved the sort order param out of sharedsolenegs2fieldsearch and into lucenesearch and solrsearch so they can have different versions of it. added code to handle creating the param, and a properties file for the text strings. build.xml modified to copy the properties file over.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/build.xml

    r29152 r29542  
    8383    SolrQueryResult.java"/>           
    8484 
    85  <!-- <property name="property-files"
    86     value=""/>  -->
     85 <property name="property-files"
     86    value="GS2SolrSearch.properties"/> 
    8787
    8888           
     
    116116  <target name="copy-files" description="Helper-target: copy files across for add-service target">
    117117   
    118     <!-- May want this back if we add in Solr .properties files-->
    119 <!--    <echo/>
     118    <echo/>
    120119    <echo>Adding to gsdl3 properties area: properties/${property-files}</echo>
    121     <copy todir="${classesdir}">
     120    <copy todir="${web.classesdir}">
    122121          <filelist id="prop-files" dir="properties" files="${property-files}"/>
    123122    </copy>
    124 -->
    125123    <echo/>
    126124    <echo>Adding to gsdl3 web jar lib directory: ${basedir}/lib/java's ${jars}</echo>
     
    177175   
    178176
    179 <!--   
     177
    180178    <echo/>
    181179    <echo>Removing from  gsdl3 properties area: properties/${property-files}</echo>
    182180    <delete failonerror="false">
    183           <filelist dir="${classesdir}" files="${property-files}"/>
     181          <filelist dir="${web.classesdir}" files="${property-files}"/>
    184182    </delete>
    185 -->
     183
    186184    <echo/>
    187185    <echo>Removing from gsdl3 web jar lib directory: ${basedir}/lib/java's ${jars} gs3-solr.jar</echo>
Note: See TracChangeset for help on using the changeset viewer.