RE: Using wildcard at the start of teh token

2006-09-15 Thread Lee_Gary
I believe Lucene's QueryParser doesn't allow you to specify a leading wildcard. However, the WildcardQuery class does allow leading wildcard queries, such as "*technology". This is probably the easiest way to get around this. You do have other options that can specify a wildcard search, such as

RE: best way to get specific results

2006-09-18 Thread Lee_Gary
Thanks for the info on this. Since I should use the search function that returns TopDocs, I was wondering what was the proper way to create a Weight object to pass into the search function. There are 2 functions in the Query class that I see: createWeight and weight, which both return a Weight ob

RE: best way to get specific results

2006-09-18 Thread Lee_Gary
Thanks, I definitely missed this. Makes it a lot more simpler to use... Appreciate your help Chris. Gary -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Monday, September 18, 2006 08:26 AM To: java-user@lucene.apache.org Subject: RE: best way to get specific re

RE: wildcards in quoted phrases?

2006-09-25 Thread Lee_Gary
I encountered this issue before and was led to use SpanQueries for wildcards within phrases. Take a look at the SpanQuery family of classes. SpanQueries can give you the ability to specify a wildcarded term within a phrase since you can nest different SpanQueries within a SpanQuery. One of these is

RE: An arguable bug in Lucene 1.9.1

2007-02-05 Thread Lee_Gary
I am seeing this issue as well with the exact same stack trace using spanQueries. Does anyone know if this has been fixed for versions after 1.9.1? Thanks Gary -Original Message- From: Erick Erickson [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 07:23 AM To: java-user@lucene.apa

number of objects indexed

2006-02-03 Thread Lee_Gary
Hi all, Im just wondering if anyone has done any scalability tests with Lucene. Has anyone been able to index up to the 10 million mark in terms of number of objects indexed in a single index? An estimate of how many objects you have indexed is appreciated. Thanks!! Gary

wildcards in phrase searches

2006-05-10 Thread Lee_Gary
Is it possible to have wildcards in a phrase search? For example, if my object is indexed with a phrase "benchmark properties", is there a way to specify a phrase search that uses wildcards, such as "benchmar* properties" or "benchmark pro*"? I have tried using WildcardQuery, but it doesnt seem to

RE: wildcards in phrase searches

2006-05-10 Thread Lee_Gary
Thanks for your reply. Is there any sample code that would demonstrate how to use these classes properly to get the desired effect of what im looking for? Thanks -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 11:00 AM To: java-user@lucene.a

RE: wildcards in phrase searches

2006-05-11 Thread Lee_Gary
Thanks Erik, I was able to get a solution working for me using the classes you outlined below. -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 12:11 PM To: java-user@lucene.apache.org Subject: Re: wildcards in phrase searches On May 10, 20

RE: best way to get specific results

2006-09-14 Thread Lee_Gary
Hi, I have the same situation where Im interested in returning a subset of results from the whole set, such as results 500 to 550. However, I have already implemented a Filter that will return the results I want without additional query processing needed (i.e. no need to use the IndexSearcher.sear