Re: Query about Query.ToString()

2010-02-18 Thread Mark Harwood
> I have 3 questions: > > 1) XML query parser just focuses on the "difficult" queries, left the > "simple" ones to the standard query parser. > I think it'll be good to support all of the queries. Makes it easier to > implement, rather than combine two different parser together. "Lucene in Act

Re: Query about Query.ToString()

2010-02-18 Thread Chris Lu
It's great that this is supported. I have 3 questions: 1) XML query parser just focuses on the "difficult" queries, left the "simple" ones to the standard query parser. I think it'll be good to support all of the queries. Makes it easier to implement, rather than combine two different parser to

RE: Query about Query.ToString()

2010-02-17 Thread Uwe Schindler
0 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

Re: Query about Query.ToString()

2010-02-17 Thread Mark Harwood
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 a

Re: Query about Query.ToString()

2010-02-17 Thread Chris Lu
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 Sea

Re: Query about Query.ToString()

2010-02-17 Thread Mark Harwood
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() meth

RE: Query about Query.ToString()

2010-02-17 Thread Goddard, Michael J.
k Erickson Sent: Wed 2/17/2010 1:55 PM To: java-user@lucene.apache.org Subject: Re: Query about Query.ToString() Well, Query *does* implement the Serializable interface, so that might work. WARNING: I haven't personally used the Serializable interface on Query, so I have no real clue whe

Re: Query about Query.ToString()

2010-02-17 Thread Jake Mannix
On Wed, Feb 17, 2010 at 10:55 AM, Erick Erickson wrote: > Well, Query *does* implement the Serializable interface, so that > might work. WARNING: I haven't personally used the Serializable > interface on Query, so I have no real clue whether it's applicable! > Query is serializable (lots of peopl

Re: Query about Query.ToString()

2010-02-17 Thread Erick Erickson
Well, Query *does* implement the Serializable interface, so that might work. WARNING: I haven't personally used the Serializable interface on Query, so I have no real clue whether it's applicable! Taking the results of query.toString() and pumping it back through the parser is not guaranteed to pr