Changeset 12991


Ignore:
Timestamp:
2006-10-03T17:25:45+13:00 (16 years ago)
Author:
mdewsnip
Message:

Ooops... managed to lose the header of the XML output in my recent changes.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/java/org/nzdl/gsdl/LuceneWrap/GS2LuceneQuery.java

    r12989 r12991  
    140140    throws IOException
    141141    {
     142    System.out.println("<ResultSet>");
     143    System.out.println("  <QueryString>" + xmlSafe(query_string) + "</QueryString>");
     144    if (filter != null) {
     145        System.out.println("  <FilterString>" + filter.toString() + "</FilterString>");
     146    }
     147
    142148    try {
    143149        Query query_including_stop_words = parseQuery(reader, query_parser_no_stop_words, query_string, fuzziness);
  • trunk/indexers/lucene-gs/src/org/greenstone/LuceneWrapper/GS2LuceneQuery.java

    r12989 r12991  
    140140    throws IOException
    141141    {
     142    System.out.println("<ResultSet>");
     143    System.out.println("  <QueryString>" + xmlSafe(query_string) + "</QueryString>");
     144    if (filter != null) {
     145        System.out.println("  <FilterString>" + filter.toString() + "</FilterString>");
     146    }
     147
    142148    try {
    143149        Query query_including_stop_words = parseQuery(reader, query_parser_no_stop_words, query_string, fuzziness);
Note: See TracChangeset for help on using the changeset viewer.