Re: Configure solr on tomcat with different indexes

2008-01-03 Thread Laxmilal Menaria
I have tried with solr1.xml and add a solr/home in that, but after that its not showing any results, because its search by default in Tomcat\solr\data\index. LM On 1/4/08, Ryan McKinley <[EMAIL PROTECTED]> wrote: > > > http://wiki.apache.org/solr/SolrTomcat#head-024d7e11209030f1dbcac9974e55106aba

Re: Configure solr on tomcat with different indexes

2008-01-03 Thread Ryan McKinley
http://wiki.apache.org/solr/SolrTomcat#head-024d7e11209030f1dbcac9974e55106abae837ac using different values for solr home should give you new indexes for each. ryan Laxmilal Menaria wrote: Hello, I have configured solr with tomcat for multiple webapp. This configuration use common index, so n

Configure solr on tomcat with different indexes

2008-01-03 Thread Laxmilal Menaria
Hello, I have configured solr with tomcat for multiple webapp. This configuration use common index, so now I want to configure solr on different Indexes with tomcat, Please let me how it is possible. -- Thanks, Laxmilal menaria http://www.chambal.com/ http://www.minalyzer.com/ http://www.bucket

Re: Field collapsing

2008-01-03 Thread Ryan McKinley
excellent! Yes, there is interest. Doug Steigerwald wrote: I finally took more than 30 minutes to try and apply the patch and got it to (mostly) work. Will try to submit it tomorrow for review if there's interest. Doug Ryan McKinley wrote: I think the last patch is pre QueryComponent infr

Re: Field collapsing

2008-01-03 Thread Doug Steigerwald
I finally took more than 30 minutes to try and apply the patch and got it to (mostly) work. Will try to submit it tomorrow for review if there's interest. Doug Ryan McKinley wrote: I think the last patch is pre QueryComponent infrastructure it needs to be transformed into a QueryComponen

Re: Mixing adds, deletes and commit in the same message

2008-01-03 Thread Ryan McKinley
You can commit after a update command by adding a request parameter: /update?commit=true POST: your xml ... ryan Mike Klaas wrote: On 3-Jan-08, at 11:38 AM, Leonardo Santagada wrote: I tried to put some adds and deletes in the same request to solr but it didn't work, have I done something w

RE: Solr RPS is painfully low

2008-01-03 Thread Chris Hostetter
: I'm only requesting 20 rows, and I'm not specifically sorting by any field. Does solr : automatically induce sort by default, and if so, how do I disable it? default sorting is by score, which is cheap ... walter's question was mainly to verify that you are not sorting sice it is expensive (w

Re: Solr RPS is painfully low

2008-01-03 Thread Chris Hostetter
: fq=gender:f&fq=( friends:y )&fq= country:us&fq= age:(18 || 19 || 20 || : 21)&fq=photos:y that would be my suggestion based on waht i'm guessing your typical use cases are ... but it's really hard to infer patterns from only a single example URL. the queryResultCache isn't nearly as interesti

Re: Mixing adds, deletes and commit in the same message

2008-01-03 Thread Mike Klaas
On 3-Jan-08, at 11:38 AM, Leonardo Santagada wrote: I tried to put some adds and deletes in the same request to solr but it didn't work, have I done something wrong or this is really not suported? It isn't supported. -Mike

Mixing adds, deletes and commit in the same message

2008-01-03 Thread Leonardo Santagada
I tried to put some adds and deletes in the same request to solr but it didn't work, have I done something wrong or this is really not suported? This is one example: document one9a10b11c12d Test Document Thanks in advance

RE: Performance stats for indeces with over 10MM documents

2008-01-03 Thread Alex Benjamen
we currently use a relational system, and it doesn't perform. Also, even though a lot of our queries are structured, we do combine them with text search, so for instance, there could be an additional clause which is a free text search for a favorite TV show -- I had exactly

Re: Performance stats for indeces with over 10MM documents

2008-01-03 Thread Walter Underwood
I had exactly the same thought. That query is not an information retrieval (text search) query. It is data retrieval and would work great on a relational database. wunder On 1/2/08 9:53 PM, "John Stewart" <[EMAIL PROTECTED]> wrote: > Alex, > > Not to be a pain, but the response I had when looki

Re: Field collapsing

2008-01-03 Thread Ryan McKinley
I think the last patch is pre QueryComponent infrastructure it needs to be transformed into a QueryComponent to work. I don't think anyone has tackled that yet... ryan Doug Steigerwald wrote: Modifying the patch to apply. StandardRequestHandler and DisMaxRequestHandler were changed a l

Re: Field collapsing

2008-01-03 Thread Doug Steigerwald
Modifying the patch to apply. StandardRequestHandler and DisMaxRequestHandler were changed a lot in mid-November and I've been having a hard time figuring out where the changes should be reapplied. Doug Grant Ingersoll wrote: Hi Doug, Is the problem in applying the patch or getting it to wor

Re: Field collapsing

2008-01-03 Thread Grant Ingersoll
Hi Doug, Is the problem in applying the patch or getting it to work once it is applied? -Grant On Jan 3, 2008, at 8:52 AM, Doug Steigerwald wrote: Being able to collapse multiple documents into one result with Solr is a big deal for us here. Has anyone been able to get field collapsing

RE: Backup of a Solr index

2008-01-03 Thread Charlie Jackson
> But however one has first to shutdown the Solr server before copying the index folder? If you want to copy the hard files from the data/index directory, yes, you'll probably want to shut down the server first. You may be able to get away with leaving the server up but stopping any index/commi

Re: Backup of a Solr index

2008-01-03 Thread Jörg Kiegeland
Charlie Jackson wrote: Solr indexes are file-based, so there's no need to "dump" the index to a file. But however one has first to shutdown the Solr server before copying the index folder? In terms of how to create backups and move those backups to other servers, check out this page http://

Re: Leading WildCard in Query

2008-01-03 Thread Yonik Seeley
On Dec 12, 2007 6:51 AM, Michael Kimsal <[EMAIL PROTECTED]> wrote: > Please vote for SOLR-218. I'm not aware of any other way to accomplish the > leading wildcard functionality that would be convenient. SOLR-218 is not > asking that it be enabled by default, only that it be functionality that is

Re: correct escapes in csv-Update files

2008-01-03 Thread Yonik Seeley
CSV doesn't use backslash escaping. http://www.creativyst.com/Doc/Articles/CSV/CSV01.htm "This is text with a ""quoted"" string" -Yonik On Jan 2, 2008 8:21 AM, Michael Lackhoff <[EMAIL PROTECTED]> wrote: > I use UpdateCSV to feed my data into SOLR and it works very well. The > only thing I don't

Field collapsing

2008-01-03 Thread Doug Steigerwald
Being able to collapse multiple documents into one result with Solr is a big deal for us here. Has anyone been able to get field collapsing (http://issues.apache.org/jira/browse/SOLR-236) to patch to a recent checkout of Solr? I've been unsuccessful so far in trying to modify the latest patch t

Re: big perf-difference between solr-server vs. SOlrJ req.process(solrserver)

2008-01-03 Thread Geert-Jan Brits
Hi Otis, after some thought (I must have been sleeping or something) it seems that it is indeed possible to remove the 2000 product-variant fields from the index and store them in an external store. I was doubting this option before as I mistakingly thought that I would still need to have the 200

Re: SolrIndexWriter holding reference to deleted file?

2008-01-03 Thread amamare
I haven't been able to get a profiler at the server yet, but I thought I might show how my code works, because it's quite different from the example in the link you provided... public synchronized ResultItem[] search(String query) throws CorruptIndexException, IOException{ SolrIndexSearcher se