data directory under solr

2008-07-23 Thread dudes dudes
Hi all, I have changed the data directory from /solr/data to /var/solr/data ...The directory is created once I start solr from tomcat. However; I'm a bit confused once it comes to indexing data to /var/solr/data/index. NB: I'm using the post script (post.sh) that is provided by solr itself.

Re: Out of memory on Solr sorting

2008-07-23 Thread Norberto Meijome
On Tue, 22 Jul 2008 20:19:49 + sundar shankar <[EMAIL PROTECTED]> wrote: > Thanks for the explanation mark. The reason I had it as 512 max was cos > earlier the data file was just about 30 megs and it increased to this much > for of the usage of EdgeNGramFactoryFilter for 2 fields. Thats gre

Re: data directory under solr

2008-07-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
The url remains same irrespective of the data directory On Wed, Jul 23, 2008 at 12:34 PM, dudes dudes <[EMAIL PROTECTED]> wrote: > > Hi all, > > I have changed the data directory from /solr/data to /var/solr/data ...The > directory is created once I start solr from tomcat. However; > I'm a bit c

RE: data directory under solr

2008-07-23 Thread dudes dudes
Noble, thanks very much,,, just tested it and works fine :) ak > Date: Wed, 23 Jul 2008 12:48:52 +0530 > From: [EMAIL PROTECTED] > To: solr-user@lucene.apache.org > Subject: Re: data directory under solr > > The url remains same irrespective of the data

Re: Vote on a new solr logo

2008-07-23 Thread Shalin Shekhar Mangar
54 votes and counting! Let's give it one more day and close it tomorrow (July 24, 2008) Preliminary results may bias the poll :) On Wed, Jul 23, 2008 at 5:03 AM, Chris Harris <[EMAIL PROTECTED]> wrote: > How about releasing the preliminary results so we can see if a run-off > is in order! > > On

RE: Out of memory on Solr sorting

2008-07-23 Thread Daniel Alheiros
Hi I haven't read the whole thread so I will take my chances here. I've been fighting recently to keep my Solr instances stable because they were frequently crashing with OutOfMemoryErrors. I'm using Solr 1.2 and when it happens there is a bug that makes the index locked unless you restart Solr..

Re: spellchecker problems (bugs)

2008-07-23 Thread Jonathan Lee
I ran into a similar issue and found that I am able to get around it by: 1. Similar to what https://issues.apache.org/jira/browse/SOLR-622 will do, issue a spellcheck.reload=true command on the firstSearcher event to read any existing index off disk. Here are the relevant parts of my solrconfig.xm

spell-checker and faceting

2008-07-23 Thread dudes dudes
Hi, I'm trying to couple spell-checking mechanism with faceting in one url statement.. I can get the spell check right, but the facet doesn't work when it's combined with spell-checker... http://localhost:8080/solr/spellCheckCompRH?q=smath&spellcheck.q=smath&spellcheck=true&spellcheck.build

Re: spellchecker problems (bugs)

2008-07-23 Thread Geoffrey Young
2. I believe there is a bug in IndexBased- and FileBasedSpellChecker.java where the analyzer variable is only set on the build command. Therefore, when the index is reloaded, but not built after starting solr, issuing a query with the spellcheck.q parameter will cause a NullPointerException to b

Re: spell-checker and faceting

2008-07-23 Thread Geoffrey Young
dudes dudes wrote: Hi, I'm trying to couple spell-checking mechanism with faceting in one url statement.. I can get the spell check right, but the facet doesn't work when it's combined with spell-checker... http://localhost:8080/solr/spellCheckCompRH?q=smath&spellcheck.q=smath&spellcheck=tr

Re: spellchecker problems (bugs)

2008-07-23 Thread Jonathan Lee
I don't see the patch attached to my original email either -- does solr-user not allow attachments? This is ugly, but here's the patch inline: Index: src/test/org/apache/solr/spelling/FileBasedSpellCheckerTest.java === --- src/test/o

Re: spellchecker problems (bugs)

2008-07-23 Thread Geoffrey Young
Jonathan Lee wrote: I don't see the patch attached to my original email either -- does solr-user not allow attachments? This is ugly, but here's the patch inline: issue created in jira: https://issues.apache.org/jira/browse/SOLR-648 --Geoff

performance implications on using lots of values in fq

2008-07-23 Thread briand
I have documents in SOLR such that each document contains one to many points (latitude and longitudes). Currently we store the multiple points for a given document in the db and query the db to find all of the document ids around a given point first. Once we have the list of ids, we populate t

Adding the Lucene org.apache.lucene.analysis.compound.HyphenationCompoundWordTokenFilter to solr for german compound words

2008-07-23 Thread Barry Harding
Hi can anybody point me in the right direction in how I go about adding the org.apache.lucene.analysis.compound.HyphenationCompoundWordTokenFilter Token filter to the solr schema.xml. I need to be able to break German compound words, and from what I have read this Token filter would seem

Re: Adding the Lucene org.apache.lucene.analysis.compound.HyphenationCompoundWordTokenFilter to solr for german compound words

2008-07-23 Thread Grant Ingersoll
See http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters Essentially, you need to create a TokenFilterFactory that wraps it. Please feel free to donate it, too, if you can. -Grant On Jul 23, 2008, at 2:42 PM, Barry Harding wrote: Hi can anybody point me in the right direction in how

Re: Adding the Lucene org.apache.lucene.analysis.compound.HyphenationCompoundWordTokenFilter to solr for german compound words

2008-07-23 Thread Chris Hostetter
FYI: In general we try to make sure that whenever posible we have a Factory for any TokenFilter or Tkenizer that ships with Lucene-Core or the Lucene Analysis contrib ... we have a stub-analysis-factory-maker.pl script that automates this in most cases, and requires a small amount of coding fo

changing fileds name

2008-07-23 Thread anshuljohri
Hi, I need to change the filed names in schema.xml eg. default names are id,sku,name,text etc. But i want to use my own name instead of these names. Lets say i use title, desc, sub, cat respectively. Than where i have to put my changes. I see that these default names are used in solrconfig.xml al

RE: Out of memory on Solr sorting

2008-07-23 Thread sundar shankar
Hi Daniel, I am afraid that didnt solve my problem. I was guessing my problem was that I have too much of data and too little memory allocated for that. I happened to read in couple of the posts which mentioned that I need VM that is close to the size of my data(folder). I have lik