sdx-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE : RE : RE : [sdx-developers] Les queries


From: Rasik Pandey
Subject: RE : RE : RE : [sdx-developers] Les queries
Date: Fri, 12 Sep 2003 16:51:25 +0200

Salut,


>Sur ce sujet, par rapport à la question de Martin :
>http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/Quer
y.html#toString()

> The representation used is one that is readable by QueryParser

>Moi je lis donc que le toString doit donc renvoyer quelque chose de 
>(re)parsable, non ?

Ce n'est pas complete.  Volia de
http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/Query
.html#toString():

Query.toString
public abstract String toString(String field)

Prints a query to a string, with field as the default field for terms. 

The representation used is one that is readable by QueryParser
(although, if the query was created by the parser, the printed
representation may not be exactly what was parsed). 




La dernière ligne explique beaucoup....


Rasik 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]