Re: term position in phrase query using queryparser

2009-03-02 Thread Matt Ronge
build your own Query and return it, but then you can't use phrase queries anymore... Either that or do your own parser... -- Matt Ronge mro...@mronge.com http://www.mronge.com - To unsubscribe, e-mail: java-user-unsubscr

Re: lucene index details

2009-02-22 Thread Matt Ronge
in the structure of the Lucene index, the best resource is here: http://lucene.apache.org/java/2_4_0/fileformats.html (for the current release) It lays out the structure in great detail, skim it over a bit, it will greatly help in understanding how Lucene works. -- Matt Ronge mro...@mronge.com http

Re: Near force in query server side?

2009-02-22 Thread Matt Ronge
suggest using either a phrase query with a slop, or try out the SpanQueries. Is so do I have to add anything to my index to let Lucene know about positions of the terms when it indexes? Nope, that information is there by default. -- Matt Ronge mro...@mronge.com http://www.mronge.com

Re: Pre-filtering for expensive query

2008-09-03 Thread Matt Ronge
On Aug 30, 2008, at 3:01 PM, Paul Elschot wrote: Op Saturday 30 August 2008 18:19:09 schreef Matt Ronge: On Aug 30, 2008, at 4:43 AM, Karl Wettin wrote: Can you tell us a bit more about what you custom query does? Perhaps you can build the candidate filter and reuse it over and over again

Re: Pre-filtering for expensive query

2008-09-03 Thread Matt Ronge
On Sep 3, 2008, at 4:09 PM, Paul Elschot wrote: Op Saturday 30 August 2008 18:22:50 schreef Matt Ronge: On Aug 30, 2008, at 6:13 AM, Paul Elschot wrote: Op Saturday 30 August 2008 03:34:01 schreef Matt Ronge: Hi all, I am working on implementing a new Query, Weight and Scorer

Re: Pre-filtering for expensive query

2008-08-30 Thread Matt Ronge
On Aug 30, 2008, at 6:13 AM, Paul Elschot wrote: Op Saturday 30 August 2008 03:34:01 schreef Matt Ronge: Hi all, I am working on implementing a new Query, Weight and Scorer that is expensive to run. I'd like to limit the number of documents I run this query on by first building a candidate

Re: Pre-filtering for expensive query

2008-08-30 Thread Matt Ronge
expensive query. Has anyone done any work into restricting the set of docs that a query operates on? Or should I just implement something myself in a custom scorer? Thanks in advance, -- Matt Ronge - To unsubscribe, e

Pre-filtering for expensive query

2008-08-29 Thread Matt Ronge
work into restricting the set of docs that a query operates on? Or should I just implement something myself in a custom scorer? Thanks in advance, -- Matt Ronge - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: distributed lucene progress

2008-05-30 Thread Matt Ronge
On May 21, 2008, at 3:19 PM, Otis Gospodnetic wrote: No, that's a separate project on SF, IIRC. I am also interested in distributed lucene. I took a look on Hadoop's wiki and found this: http://wiki.apache.org/hadoop/DistributedLucene?highlight=%28distributed%29 which leads to many

Re: Faceting with payloads

2008-02-08 Thread Matt Ronge
On Feb 8, 2008, at 11:17 AM, Karl Wettin wrote: 6 feb 2008 kl. 23.10 skrev Matt Ronge: I may index the token house maybe found in different places with different types. If the user query contains house, I want to report the number of instances of the token house of type A, type B and so

Faceting with payloads

2008-02-06 Thread Matt Ronge
Hi all, I'm using the new payloads feature to assign types to tokens as I index. The type is based on the surrounding text in the document, and I want to filter my searches based on this token type. For example, I may index the token house maybe found in different places with different