Re: Proposal for changing Lucene's backwards-compatibility policy

2009-10-27 Thread Luis Alves
Mark Miller wrote: Luis Alves wrote: Mark Miller wrote: Mark Miller wrote: Michael Busch wrote: Why will just saying once again "Hey, let's just release more often" work now if it hasn't in the last two years? Mich

Re: Proposal for changing Lucene's backwards-compatibility policy

2009-10-27 Thread Luis Alves
Mark Miller wrote: Mark Miller wrote: Michael Busch wrote: Why will just saying once again "Hey, let's just release more often" work now if it hasn't in the last two years? Mich I don't know that we need to release more often to take advantage of major numbers. 2.2 wa

Re: Proposal for changing Lucene's backwards-compatibility policy

2009-10-27 Thread Luis Alves
gabriele renzi wrote: On Fri, Oct 16, 2009 at 9:39 AM, Paul Elschot wrote: I'd prefer B), with a minimum period of about two months to the next release in case it removes deprecations. +1 for B) - To unsubscribe, e-m

Re: Question about the extends the query parser to support NumericField on Lucene 2.9.0

2009-10-27 Thread Luis Alves
Hi, The new queryparser, as the same restriction. Since +/- are operators for the lucene syntax, you need to escape them age:\-32 or use double quotes as suggested by Uwe. We have the idea to add queryparser extensions to the new queryparser in contrib in the near future, this would allow for u

Re: Can this regex be done?

2009-09-02 Thread Luis Alves
Why can't you use a OR? gotham OR gothic Is it possible to translate this sort of Perl regex into a lucene query: /goth(am|ic)/ Where the only results that would be returned would be gotham or gothic? Thanks, Mike - To unsub

Re: How do you Parse a query to convert numbers to strings

2009-08-04 Thread Luis Alves
Hi Paul, In 2.9, you can use the "new query parser" in contrib. You should look at: original.config.FieldBoostMapAttribute original.config.FieldBoostMapFCListener original.processors.BoostQueryNodeProcessor original.builders.BoostQueryNodeBuilder this code implements boost

Re: Query rewriting/optimization

2009-06-22 Thread Luis Alves
look at http://issues.apache.org/jira/browse/LUCENE-1567 (New flexible query parser) This new parser allows for internally rewrites/optimizes Query, and it is backward compatible. Preetham Kajekar wrote: Hi, I am wondering if Lucene internally rewrites/optimizes Query. I am programatically

Re: Lucene 2.9

2009-03-17 Thread Luis Alves
Mark Miller wrote: Hmmm - you can probably get qsol to do it: http://myhardshadow.com/qsol. I think you can setup any token to expand to anything with a regex matcher and use group capturing in the replacement (I don't fully remember though, been a while since I've used it). So you could do