Proximity Searches behavior

2004-06-09 Thread gaudinat
What does exactly happen with three words or more when we do a proximity search? such as: "lucene jakarta best"~10 Is each word can be at a distance of 10 of each others, or is there an other behaviour? By the way, I would like to know if someone use this lucene feature regularly? For my par

Re: Proximity Searches behavior

2004-06-09 Thread Erik Hatcher
On Jun 9, 2004, at 4:26 AM, gaudinat wrote: What does exactly happen with three words or more when we do a proximity search? such as: "lucene jakarta best"~10 Is each word can be at a distance of 10 of each others, or is there an other behaviour? The total number of "hops" to put the words in o

Re: Another way to handle large numeric range queries

2004-06-09 Thread Erik Hatcher
On Jun 8, 2004, at 10:55 PM, Don Gilbert wrote: Find this as part of the 'LuceGene' package for searching genome and bioinformatics databases at http://www.gmod.org/lucegene/ with lucene related source code in cvs here: Nice stuff! http://cvs.sourceforge.net/viewcvs.py/gmod/lucegene/src/org/eugenes

Re: Proximity Searches behavior

2004-06-09 Thread Erik Hatcher
On Jun 9, 2004, at 4:26 AM, gaudinat wrote: What does exactly happen with three words or more when we do a proximity search? such as: "lucene jakarta best"~10 Is each word can be at a distance of 10 of each others, or is there an other behaviour? The total number of "hops" to put the words in o

Re: Proximity Searches behavior

2004-06-09 Thread Terry Steichen
This poses a couple of additional questions: 1) If you set the default slop factor in QueryProcessor to something greater than 1, can you also use wildcards? (I ask that question because, to my understanding, you can't combine the explicit proximity query syntax with wildcards. That is, somethin

Re: Proximity Searches behavior

2004-06-09 Thread Erik Hatcher
On Jun 9, 2004, at 8:53 AM, Terry Steichen wrote: 1) If you set the default slop factor in QueryProcessor to something greater than 1, can you also use wildcards? (I ask that question because, to my understanding, you can't combine the explicit proximity query syntax with wildcards. That is, s

Re: Proximity Searches behavior

2004-06-09 Thread Erik Hatcher
On Jun 9, 2004, at 8:53 AM, Terry Steichen wrote: 3) Is there a plan for adding QueryParser support for the SpanQuery family? Another important facet to Terry's question here is what syntax to use to express all various types of queries? I suspect that Google stats show us that most folks query

Re: Proximity Searches behavior

2004-06-09 Thread David Spencer
Erik Hatcher wrote: On Jun 9, 2004, at 8:53 AM, Terry Steichen wrote: 3) Is there a plan for adding QueryParser support for the SpanQuery family? Another important facet to Terry's question here is what syntax to use to express all various types of queries? I suspect that Google stats And other

phrase query not working in boolean clause

2004-06-09 Thread Michael Duval
Hello, I'm using lucene 1.4 rc2 and I've come across a problem using exact phrase queries as part of a composite query. A little background on the problem: We have two fields in the index: title: Field.Text (tokenized) journal: Field.Keyword When doing an exact phrase query on the title th

Re: Another way to handle large numeric range queries

2004-06-09 Thread Don Gilbert
Erik, Thanks for the comments. > I'm particularly interested in the XPath stuff I saw in LGQueryParser. * xpathFieldParse 'xpath' parser: param allfields[], with query or field[] possibly having wild-card notation: *.start annotation.*.text allowing '/' and '.' field sepa

Re: Proximity Searches behavior

2004-06-09 Thread Erik Hatcher
On Jun 9, 2004, at 12:21 PM, David Spencer wrote: show us that most folks query with 1 - 3 words and do not use the any of the advanced features. But with automagic query expansion these things might be done behind the scenes. Nutch, for one, expands simple queries to check against multiple fi

Re: phrase query not working in boolean clause

2004-06-09 Thread Erik Hatcher
On Jun 9, 2004, at 12:25 PM, Michael Duval wrote: When doing an exact phrase query on the title the expected results are returned: +(title:"Mass Asymmetry") after tokenizing/filtering: +title:"mass asymmetri" returns 20 Hits example hit: "Mass asymmetry, equation of state, and nuc

Re: Another way to handle large numeric range queries

2004-06-09 Thread Claude Devarenne
Hi, Very nice, thank you! I finally got around writing a filter to handle date ranges in MMDD format and it seems to work fine. I basically adapted the DateFilter code for my purposes. I was wondering if someone could quickly review the code and tell me if I am missing something. Tha

remove from mailing list

2004-06-09 Thread Nguyen, Tri (NIH/NLM/LHC)
sorry, but i forgot how to get removed from the mailing list? help. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Syntax for query parsers

2004-06-09 Thread Paul Elschot
On Wednesday 09 June 2004 15:39, Erik Hatcher wrote: > On Jun 9, 2004, at 8:53 AM, Terry Steichen wrote: > > 3) Is there a plan for adding QueryParser support for the SpanQuery > > family? > > Another important facet to Terry's question here is what syntax to use > to express all various types of q

Re: remove from mailing list

2004-06-09 Thread Martin van den Bemt
You created your own answer by sending a mail to this list.. Look at the mail footer.. Mvgr, Martin On Wed, 2004-06-09 at 20:29, Nguyen, Tri (NIH/NLM/LHC) wrote: > sorry, but i forgot how to get removed from the mailing list? > > help. > > --

extensible query parser - Re: Proximity Searches behavior

2004-06-09 Thread David Spencer
Erik Hatcher wrote: On Jun 9, 2004, at 12:21 PM, David Spencer wrote: show us that most folks query with 1 - 3 words and do not use the any of the advanced features. But with automagic query expansion these things might be done behind the scenes. Nutch, for one, expands simple queries to check

building a search query

2004-06-09 Thread Ben Pryor
I am working on a UI to allow a user to build a search query. The user creates individual "clauses", each of which is basically a simple search query. The user selects boolean operators (AND, OR, NOT), to connect these clauses. When the user is finished constructing the search, there will be N clau

Wildcards and complete words

2004-06-09 Thread MMcGowan
Hi, I noticed that if I append a * to the words, create, created, creating, creates, etc. then the search does not return the expected document. But if I use creat* then the search does return the expected document. I would like to be able to use the complete words and append a wildcard to the

Re: building a search query

2004-06-09 Thread Jeff Wong
Well, I can offer you advice on 2 fronts: 1) I recommend against using the QueryParser unless you have nothing to add to the users input. In my situation, I was generating Lucene query object using the query parser. It was kind of cumbersome because I was doing things like joining some terms wi

Re: Wildcards and complete words

2004-06-09 Thread Otis Gospodnetic
I believe I covered this in a Lucene FAQ entry at jGuru. Otis --- [EMAIL PROTECTED] wrote: > Hi, > > I noticed that if I append a * to the words, create, created, > creating, > creates, etc. then the search does not return the expected document. > But > if I use creat* then the search does retu

Re: phrase query not working in boolean clause

2004-06-09 Thread Incze Lajos
On Wed, Jun 09, 2004 at 01:41:55PM -0400, Erik Hatcher wrote: > On Jun 9, 2004, at 12:25 PM, Michael Duval wrote: > >When doing an exact phrase query on the title the expected results are > >returned: > > > > +(title:"Mass Asymmetry") > > after tokenizing/filtering: +title:"mass asymmetri"

Devnagari Search?

2004-06-09 Thread Satish Kagathare
Any one have built lucene for Devnagari UNICODE search? PLZ help me wht kind of changes i have to do in lucene. Also if any one have built StandardTokenizer,Analyzer,Stemmer,Indexer ,queryParser for Hindi & Marathi Plz let me know. Thanks, Satish. -