lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tate Avery" <>
Subject RE: Displaying Query
Date Wed, 17 Dec 2003 15:48:27 GMT


String larequet = query.toString("default field name here");


String larequet = query.toString("texte");

That should give string version of query.

-----Original Message-----
From: Gayo Diallo []
Sent: Wednesday, December 17, 2003 10:46 AM
Subject: 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 ""

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

Best regards,


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message