You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Gayo Diallo <ga...@imag.fr> on 2003/12/17 16:46:17 UTC

Displaying Query

Hi all,

I use this code
Query query = QueryParser.parse(q, "Contenu", new Analyseur());

String larequet = query.toString();

System.out.println("la requête à traiter est: " + larequet);

And I have as this line displayed "org.apache.lucene.search.PhraseQuery@3ee284"

I don't know Why I have't my query string displayed correctly. May someone 
help me.

Best regards,

Gayo