Re: Weird operator precedence with default operator AND

2007-10-10 Thread Chris Hostetter
: As usual, thank you to the gruff but brilliant Mr Hostetter. Doh! ... sorry if i've been gruffer then usual ... i've been rotating my sleep schedule so my days start an hour earlier each day for the last 6 days. it's been throwing my psyche for a loop. -Hoss --

Re: Weird operator precedence with default operator AND

2007-10-10 Thread Mark Miller
As usual, thank you to the gruff but brilliant Mr Hostetter. - Mark Chris Hostetter wrote: : I have only taken passing glances at Solr, so I am afraid I cannot be of much : help. Certainly one of the Solr guys will be able to be of assistance though. the StandardRequestHandler in solr will acc

Re: Weird operator precedence with default operator AND

2007-10-10 Thread Chris Hostetter
: I have only taken passing glances at Solr, so I am afraid I cannot be of much : help. Certainly one of the Solr guys will be able to be of assistance though. the StandardRequestHandler in solr will accept anythign the lucene QueryParser will accept ... sublcassing StandardRequestHandler to us

Re: [ADMIN] - Spam problems?

2007-10-10 Thread Chris Hostetter
: Around Sept. 20 I started getting Japanese spam to this account. This is : a special account I only use for the Solr and Lucene user mailing : lists. Did anybody else get these, starting around 9/20? Note that many mailing list archives leave the sender emails in plain text (which results in

[ADMIN] - Spam problems?

2007-10-10 Thread Norskog, Lance
Hi- Around Sept. 20 I started getting Japanese spam to this account. This is a special account I only use for the Solr and Lucene user mailing lists. Did anybody else get these, starting around 9/20? Lance Norskog

Re: Scoring a single document from a corpus based on a given query

2007-10-10 Thread Yonik Seeley
On 10/10/07, Grant Ingersoll <[EMAIL PROTECTED]> wrote: > Have a look at the contrib/memory package delivered with Lucene. It > contains a MemoryIndex which is designed exactly for this scenario. That's a fast way to see if a single doc matches a query, but it won't give you the same score as if

Re: Scoring a single document from a corpus based on a given query

2007-10-10 Thread Grant Ingersoll
Have a look at the contrib/memory package delivered with Lucene. It contains a MemoryIndex which is designed exactly for this scenario. On Oct 10, 2007, at 12:44 PM, lucene_user wrote: I would like to score a single document from a corpus based on a given query. The formula score(q,d) is

MoreLikeThis and stopword stemming

2007-10-10 Thread Donna L Gresh
What is the appropriate way of achieving both stopwords and stemming of stopwords when the MoreLikeThis class is used? My analyzer (MoreLikeThis.setAnalyzer) uses the Snowball filter, and is initialized with a stopwords set: analyzer = new StandardAnalyzer(stopwords) { public Token

Re: Scoring a single document from a corpus based on a given query

2007-10-10 Thread Paul Elschot
On Wednesday 10 October 2007 18:44, lucene_user wrote: > I would like to score a single document from a corpus based on a given > query. The formula score(q,d) is basically what I am looking for. > > Pseudo Code of Something Close to what I am looking for: > indexReader.score(query, documentId); >

Re: Weird operator precedence with default operator AND

2007-10-10 Thread Mark Miller
I have only taken passing glances at Solr, so I am afraid I cannot be of much help. Certainly one of the Solr guys will be able to be of assistance though. Since Qsol generates Query objects, you just need to find out how to bypass sending solr a query String and instead give it a Query object

Scoring a single document from a corpus based on a given query

2007-10-10 Thread lucene_user
I would like to score a single document from a corpus based on a given query. The formula score(q,d) is basically what I am looking for. Pseudo Code of Something Close to what I am looking for: indexReader.score(query, documentId); The formula score(q,d) is used throughout the documentation to

Re: Custom Search algorithm integration

2007-10-10 Thread Grant Ingersoll
On Oct 10, 2007, at 9:51 AM, [EMAIL PROTECTED] wrote: Yes, image field is binary. However, image size is not more than 1KB. We would use a combination of text search to narrow down the results. But once we get the results, we would want to search all images (within the above resultset) wit

Re: Weird operator precedence with default operator AND

2007-10-10 Thread Martin Dietze
Mark, On Wed, October 10, 2007, Martin Dietze wrote: > > Qsol: myhardshadow.com/qsol (A query parser I wrote that has fully > > customizable precedence support - don't be fooled by the stale website...I > > am actually working on version 2 as i have time) > > That sounds promising, I will chec

Re: Custom Search algorithm integration

2007-10-10 Thread [EMAIL PROTECTED]
Yes, image field is binary. However, image size is not more than 1KB. We would use a combination of text search to narrow down the results. But once we get the results, we would want to search all images (within the above resultset) with the user given image file. Ideally, your 2nd approac

Re: Lucene in Action

2007-10-10 Thread Grant Ingersoll
The best place is the Lucene website, including the wiki and the javadocs. Is there something in particular you are interested in? -Grant On Oct 10, 2007, at 4:05 AM, Raghu Ram wrote: Is there any document or book that discusses lucene internal details On 10/10/07, Peter W. <[EMAIL

Re: Weird operator precedence with default operator AND

2007-10-10 Thread Martin Dietze
Mark, this reply was just in time :) On Wed, October 10, 2007, Mark Miller wrote: > Precedence QueryParser (I think its in Lucene contrib packages - I don't > believe its perfect but I have not tried it) I checked that one out, and while it improves things with default settings I found it to

Re: Weird operator precedence with default operator AND

2007-10-10 Thread Martin Dietze
On Tue, October 09, 2007, Daniel Naber wrote: > The operator precedence is known to be buggy. You need to use parenthesis, > e.g. (aa AND bb) OR (cc AND dd) This would be fine with me but unfortunately not for my users. More precisely, I need to analyze a query string from one search engine, fil

Re: IndexMergeTool - Close indexes before merge?

2007-10-10 Thread Michael McCandless
Yes, you should close the indices before adding them. Both of the addIndexes* methods that take Directory[] require that there are no writers changing the index in those directories. They do not acquire the write lock in those Directories, so it's up to your application to ensure no writer chang

Re: Weird operator precedence with default operator AND

2007-10-10 Thread Mark Miller
There is a lot on this topic if you search the archives. Things to check out: Precedence QueryParser (I think its in Lucene contrib packages - I don't believe its perfect but I have not tried it) Qsol: myhardshadow.com/qsol (A query parser I wrote that has fully customizable precedence suppo

IndexMergeTool - Close indexes before merge?

2007-10-10 Thread Patrick Kimber
Hi The IndexMergeTool (see url below) creates a new index, the "mergedIndex". Do the other indexes, "index1", "index2", etc, need to be closed before performing the merge? This is the same as asking if the indexes passed to IndexWriter.addIndexes need to be closed before they are added to the new

Re: Field rank?

2007-10-10 Thread Kyle Maxwell
> I have a question that I can't quite seem to find the answer to by > googling or searching the archives of this mailing list. The problem > is I would like to weight some fields more than others. Assume that I > have three fields: title, author, and default where title and author > contain there

Re: Field rank?

2007-10-10 Thread Doron Cohen
Hi Scott, Would indexing time field boosts work for you? http://lucene.apache.org/java/docs/scoring.html#Score%20Boosting Doron "Scott Phillips" wrote: > Hi everyone, > > I have a question that I can't quite seem to find the answer to by > googling or searching the archives of this mailing list

Re: Lucene in Action

2007-10-10 Thread Raghu Ram
Is there any document or book that discusses lucene internal details On 10/10/07, Peter W. <[EMAIL PROTECTED]> wrote: > > Cool! > > The quality of first LIA really shined even for > those familiar with Java but new to assertions > and unit tests. Can't wait to buy LIA2... > > Please accept th