Re: Spell Check Handler

2007-08-10 Thread Pieter Berkel
On 11/08/07, climbingrose <[EMAIL PROTECTED]> wrote: > > The spellchecker handler doesn't seem to work with multi-word query. For > example, when I tried to spellcheck "Java developar", it returns nothing > while if I tried "developar", spellchecker correctly returns "developer". > I > followed the

Re: Spell Check Handler

2007-08-10 Thread climbingrose
OK, I just need to define 2 spellcheckers in solrconfig.xml for my purpose. On 8/11/07, climbingrose <[EMAIL PROTECTED]> wrote: > > After looking the SpellChecker code, I realised that it only supports > single-word. I made a very naive modification of SpellCheckerHandler to get > multi-word suppo

Re: Spell Check Handler

2007-08-10 Thread climbingrose
After looking the SpellChecker code, I realised that it only supports single-word. I made a very naive modification of SpellCheckerHandler to get multi-word support. Now the other problem that I have is how to have different fields in SpellChecker index. For example, since my query has two parts: "

Re: FunctionQuery and boosting documents using date arithmetic

2007-08-10 Thread Chris Hostetter
: Actually, just thinking about this a bit more, perhaps adding a function : call such as parseDate() might add too much overhead to the actual query, : perhaps it would be better to first convert the date to a timestamp at index : time and store it in a field type slong? This might be more effic

RE: Too many open files

2007-08-10 Thread Sundling, Paul
Good link, I added it to the wiki page where optimization is covered, http://wiki.apache.org/solr/SolrPerformanceFactors . Paul Sundling -Original Message- From: Stu Hood [mailto:[EMAIL PROTECTED] Sent: Thursday, August 09, 2007 9:23 AM To: solr-user@lucene.apache.org Subject: RE: Too m

Re: is snapshot/backup consistent (reliable) on the index server?

2007-08-10 Thread Mike Klaas
No. Hard links are alternative names for an inode: when lucene replaces a file, it is creating a new (underlying) inode/file, and the backup "link" points to the old one. Don't think of hard links as "links", but additional logical names for the same physical data. cheers, -Mike On 10-A

RE: is snapshot/backup consistent (reliable) on the index server?

2007-08-10 Thread Wu, Daniel
So, does it mean the backup could have documents marked as deleted because they are deleted from the main index? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yonik Seeley Sent: Friday, August 10, 2007 5:44 PM To: solr-user@lucene.apache.org Subject:

Re: is snapshot/backup consistent (reliable) on the index server?

2007-08-10 Thread Yonik Seeley
On 8/10/07, Wu, Daniel <[EMAIL PROTECTED]> wrote: > I have some concern with solr using hard link to perform snapshot and > backup on the indexing box. > > When referring to snapshot in contexts other than solr, it usually mean > some database state which can be revert to when necessary. Since sol

is snapshot/backup consistent (reliable) on the index server?

2007-08-10 Thread Wu, Daniel
Hi, I have some concern with solr using hard link to perform snapshot and backup on the indexing box. When referring to snapshot in contexts other than solr, it usually mean some database state which can be revert to when necessary. Since solr use hard link to create snapshot on the master ind

Re: what's the difference between lucene2.1 and solr1.2

2007-08-10 Thread Chris Hostetter
: i think it is same as lucene until sometime i read something from mail list. Solr doesn't allways use "official" releases of Lucene -- sometimes we (Solr committers) rev the underlying Lucene jar in Solr to a nightly build to take advantage of newer features that we think are useful provided w

RE: Updates from Multiple JVM

2007-08-10 Thread Chris Hostetter
: > Is the question whether or not you can run solr in two different servlet : > containers and index into the same data set? two instances of Solr (either in sevlert containers or embeded instances) should be able to use the same index simultenously under the same conditions as any two isntances

Re: Solr and XML format

2007-08-10 Thread Yonik Seeley
On 8/10/07, Jae Joo <[EMAIL PROTECTED]> wrote: > I would like to find out how to build the index for general format of XML > file which does not have tags. Solr doesn't really index XML... it's just used as a serialization format for Lucene documents. If you understand the layout of your XML, yo

RE: Solrsharp highlighting

2007-08-10 Thread Charlie Jackson
Also, are there any examples out there of how to use Solrsharp's faceting capabilities? Charlie Jackson 312-873-6537 [EMAIL PROTECTED] -Original Message- From: Charlie Jackson [mailto:[EMAIL PROTECTED] Sent: Friday, August 10, 2007 3:51 PM To:

Solrsharp highlighting

2007-08-10 Thread Charlie Jackson
Trying to use Solrsharp (which is a great tool, BTW) to get some results in a C# application. I see the HighlightFields method of the QueryBuilder object and I've set it to my highlight field, but how do I get at the results? I don't see anything in the SearchResults code that does anything with th

RE: Best use of wildcard searches

2007-08-10 Thread Lance Norskog
The Protégé project at Stanford has nice tools for editing knowledge bases, taxonomies, etc. http://protege.stanford.edu/ -Original Message- From: Jonathan Woods [mailto:[EMAIL PROTECTED] Sent: Thursday, August 09, 2007 10:45 PM To: solr-user@lucene.apache.org Subject: RE: Best use of

Solr and XML format

2007-08-10 Thread Jae Joo
I would like to find out how to build the index for general format of XML file which does not have tags. Do I have to update all my xml file to Solr specific XML which have … format? Or any way to build index? Thanks, Jae Joo

Re: Negating and grouping query terms

2007-08-10 Thread Yonik Seeley
This is a Lucene limitation that negative-only boolean queries do not match anything. Solr works around this limitation for the top level only. So when you do +foo (-bar) it won't match anything because the parens create a separate boolean query with only a single negative clause. +foo -bar wil

Re: Best use of wildcard searches

2007-08-10 Thread Matthew Runo
I would like to take a look at your pathAnalyzer code.. I got this more or less working, but I'd love to see another way to do it - your solution sounds much more robust than mine. Easier to search for specific paths, for sure. ++ | M

Negating and grouping query terms

2007-08-10 Thread Aaron Suggs
Hi all, I'm observing odd results when using parentheses to group two or more terms in a solr query, some of which are negated (by prefixing the term with '-' or 'NOT ') For example, in the current stable version of solr, I indexed the accompanying example docs: [EMAIL PROTECTED]:~/solr/example/e

Re: Spell Check Handler

2007-08-10 Thread climbingrose
The spellchecker handler doesn't seem to work with multi-word query. For example, when I tried to spellcheck "Java developar", it returns nothing while if I tried "developar", spellchecker correctly returns "developer". I followed the setup on the wiki. Regards, Cuong Hoang On 7/10/07, Charles H

Re: Best use of wildcard searches

2007-08-10 Thread Erik Hatcher
On Aug 9, 2007, at 4:49 PM, Yonik Seeley wrote: lo - these things can happen when you get too many levels of escaping needed. Hopefully we can improve the situation in the future to get rid of the query parser escaping for certain queries such as prefix and term. +1 :) this is something