Do you speak Lucene?

Help
derden
2004-12-21
2013-04-15
  • derden

    derden - 2004-12-21

    ANts accepts the Lucene syntax in its queries. A notice on Gwrens website indicates "IF YOU WANT TO USE LUCENE SYNTANX IN ANTS YOU MUST PUT YOUR QUERY BETWEEN DOUBLE QUOTES".

    Okay. Now, in lucene language you can form a PhraseQuery by using double-quotes: "term1 term2 term3".

    Now does that mean you must  four-double quotes when looking for a string. For example should I write:
    "European Environmental Law"
    or
    """European Environmental Law""

     
    • Roberto Rossi

      Roberto Rossi - 2005-02-27

      It is fixed... use the standard lucene syntax :)

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks