Re: Pagination ...

2007-12-26 Thread Mike Richmond
You might want to take a look at Solr (http://lucene.apache.org/solr/). You could either use Solr directly, or see how they implement paging. --Mike On Dec 26, 2007 12:12 PM, Zhou Qi <[EMAIL PROTECTED]> wrote: > Using the search function for pagination will carry out unnecessary index > searc

Re: use of lucene app..

2006-06-20 Thread Mike Richmond
Hello Bruce, is there a way to set lucene so that it only parses/crawls through a given portion of a website... Lucene does not crawl anything on its own. It is simply a search engine library. All indexing and crawling must be done by an application that you create. also, when lucene retu

Query For Top Values

2006-06-15 Thread Mike Richmond
Hello All, Can anyone recommend a solution to get the top values of a field from the results of a query? For example, If I have a field named "from" is there a way to get the top occuring values in that field after I filter the results based on a query? Note: Luke has a great tool that enumerat

Re: PHP and Lucene integration

2006-06-06 Thread Mike Richmond
I am also working on interfacing Lucene with PHP. Here are a couple options that I have found useful: Call Java directly from PHP: http://php-java-bridge.sourceforge.net/ Solr - Interacts w/ Lucene via XML requests http://incubator.apache.org/solr/index.html There is mention of a PHP interface

Re: Get index name from a hit

2006-05-31 Thread Mike Richmond
ed to keep track of which indexes correspond to which indices. Check the archives for the answer too, sorry for the short reply. Erik On May 26, 2006, at 2:32 PM, Mike Richmond wrote: > When using a MultiSearcher Is there anyway to get the name of the > index that a hit came from

Get index name from a hit

2006-05-26 Thread Mike Richmond
When using a MultiSearcher Is there anyway to get the name of the index that a hit came from? One way would be to add the index name as a field to each document, but I am hoping to avoid this. Thanks, Mike - To unsubscribe, e

Re: sorting issues

2006-05-26 Thread Mike Richmond
I'm running into similar sort issues when I try to sort my results on a date field that was created using the DateTools class as follows: DateTools.dateToString(dateObj, DateTools.Resolution.SECOND); I am then storing this in a stored, untokenized field named "date". When I sort the results by d

Re: indexing in lucene 1.9.1

2006-05-22 Thread Mike Richmond
Hello Harini, When you are finished indexing the documents are you running the optimize() method on the IndexWriter before closing it? This should reduce the number of segments and make searching faster. Just a thought. --Mike On 5/22/06, Harini Raghavan <[EMAIL PROTECTED]> wrote: Hi All,

Re: Theoretical Lucene Performance

2006-05-17 Thread Mike Richmond
Hello Andreas, This may also be a good reference for you: http://lucene.apache.org/java/docs/fileformats.html --Mike On 5/16/06, Andreas Harth <[EMAIL PROTECTED]> wrote: Hello, I'd like to learn a bit more about the index organization of Lucene (ideally without sifting through source code).

Re: Lucene query question

2006-05-10 Thread Mike Richmond
Hi Erick, I appreciate the help. I am using the "StandardAnalyzer" for both the query and for indexing. --Mike On 5/10/06, Erick Erickson <[EMAIL PROTECTED]> wrote: I'll take a quick stab at it. What analyzer are you using with the query? In the search page of Luke, near the upper right ther

Re: Lucene query question

2006-05-10 Thread Mike Richmond
n idea what's happening with your test field. Otis - Original Message From: Mike Richmond <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Tuesday, May 9, 2006 10:18:29 PM Subject: Lucene query question I am new to Lucene, but the behavior that I am seeing does not s

Lucene query question

2006-05-09 Thread Mike Richmond
I am new to Lucene, but the behavior that I am seeing does not seem to make sense to me. I am using the latest version of Lucene (1.9.1) and executing the following code below which creates an index with a single document and only one field (named "test") with a value of "[EMAIL PROTECTED]". If