Don't forget to add the new *RangeQuery classes! :-) Uwe
----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -----Original Message----- > From: Mark Harwood [mailto:markharw...@yahoo.co.uk] > Sent: Thursday, February 18, 2010 8:32 AM > To: java-user@lucene.apache.org > Subject: Re: Query about Query.ToString() > > Yes it is being maintained and I have it in production on many large > systems. > Phrase prefix wildcard etc can be supported using the "UserQuery" tag > which hands off to the regular Lucene QueryParser. It would be easy to > add XML tags for these types but these clauses tend to be provided by > users anyway as part of free-text fields. The other XML syntax tends to > be useful for capturing all the other structured input eg date ranges, > checkboxes etc as filters or caches filters. > I intend to give it a 3.0 refresh to add geo etc soon > --------------------------------------- > > On 18 Feb 2010, at 02:12, Chris Lu <chris...@gmail.com> wrote: > > XMLQueryParser is pretty good start. However, is it being maintained > recently? > > I noticed many Query class are not supported, like PrefixQuery, or even > PhraseQuery. > Is it for some particular reason or simply lack of resource? > > -- > Chris Lu > ------------------------- > Instant Scalable Full-Text Search On Any Database/Application > site: http://www.dbsight.net > demo: http://search.dbsight.com > Lucene Database Search in 3 minutes: > http://wiki.dbsight.com/index.php?title=Create_Lucene_Database_Search_i > n_3_minutes > DBSight customer, a shopping comparison site, (anonymous per request) > got 2.6 Million Euro funding! > > > Mark Harwood wrote: > This was part of the rationale for creating the XMLQueryParser which > can be found in contrib. > > See here for the background: http://marc.info/?l=lucene- > dev&m=113355526731460&w=2 > > > On 17 Feb 2010, at 18:44, Aaron Schon wrote: > > > Hi all, I know that persisting a Lucene query by query ToString() > method. Is there any way of reconstructing the query from the string > itself? > The usecase is that I will be storing a library of queries as strings > and load the appropriate query (from the string) based on some > conditions. > > Is this possible? Could you share a code snippet? > > p.s. apologies for the double posting (I had asked this on Lucene > general and was asked to ask here instead) > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org