Re: Query modifier

2010-03-30 Thread Jason Rutherglen
;  Author: https://www.packtpub.com/solr-1-4-enterprise-search-server/book > > - >  Author: https://www.packtpub.com/solr-1-4-enterprise-search-server/book > -- > View this message in context: > http://n3.nabble.com/Query-modifier-tp567265p686285.html > Sent from the Lu

Re: Query modifier

2010-03-30 Thread David Smiley (@MITRE.org)
/book -- View this message in context: http://n3.nabble.com/Query-modifier-tp567265p686285.html Sent from the Lucene - Java Developer mailing list archive at Nabble.com. - To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.or

Re: Query modifier

2010-03-30 Thread David Smiley (@MITRE.org)
JIRA issue... ~ David Smiley Author: https://www.packtpub.com/solr-1-4-enterprise-search-server/book - Author: https://www.packtpub.com/solr-1-4-enterprise-search-server/book -- View this message in context: http://n3.nabble.com/Query-modifier-tp567265p686135.html Sent from the Lucene -

Re: Query modifier

2005-12-19 Thread Erik Hatcher
Chris and Paul - thanks to you both for replying on this. Paul - I keep forgetting about the goodies hidden in the Surround parser. I'll take another look at them soon. Chris - I think your code would be good to see as a contribution candidate for the contrib area. QueryFilter definitely

Re: Query modifier

2005-12-17 Thread Chris Lamprecht
One other note -- I remember now, when I was developing this code, I first looked at Nutch's query processing code, but I think Nutch assumed the queries were always flat to begin with. So I took Nutch's "query filter" approach, but made it work with nested queries that aren't always flat. -chris

Re: Query modifier

2005-12-17 Thread Chris Lamprecht
Hi Erik, I ran into the same thing in my work so I created a query utility class and an interface called QueryFilter (I know this is a bad name) that is really more of a visitor pattern callback thing. Most of my methods are convenience methods built on top of this interface and a few classes tha

Re: Query modifier

2005-12-16 Thread Paul Elschot
On Friday 16 December 2005 11:42, Erik Hatcher wrote: > In my latest project, I've written code to walk a general Query and > do three different manipulations of it: 1) Convert it to a SpanQuery > 2) Change a specified field to another field for each nested Query 3) > Rotate (Span)RegexQuery

Query modifier

2005-12-16 Thread Erik Hatcher
In my latest project, I've written code to walk a general Query and do three different manipulations of it: 1) Convert it to a SpanQuery 2) Change a specified field to another field for each nested Query 3) Rotate (Span)RegexQuery terms. I have a lot of duplication of this recursive Query p