Scaling Solr - Suggestions !!

2012-04-28 Thread Sujatha Arun
Hello, *Background* :For each of our customers, we create 3 solr webapps with different search schema's,serving different search requirements and we have about 70 customers.So we have about 210 webapps curently . *Hardware*: Single Server , one JVM , Heap memory 19GB ,Total Ram :32GB , Permgen

Re: commit fail

2012-04-28 Thread mav.p...@holidaylettings.co.uk
Hi, This is what the thread dump looks like. Any ideas? Mav Java HotSpot(TM) 64-Bit Server VM20.1-b02Thread Count: current=19, peak=20, daemon=6'DestroyJavaVM' Id=26, RUNNABLE on lock=, total cpu time=198450.ms user time=196890.ms'Timer-2' Id=25, TIMED_WAITING on

question about NRT(soft commit) and Transaction Log in trunk

2012-04-28 Thread Li Li
hi I checked out the trunk and played with its new soft commit feature. it's cool. But I've got a few questions about it. By reading some introductory articles and wiki, and hasted code reading, my understand of it's implementation is: For normal commit(hard commit), we should flush all

Re: Scaling Solr - Suggestions !!

2012-04-28 Thread Michael Della Bitta
Just my opinion, but I'm not sure I see the value in deploying the cores to different webapps in a single container on a single machine to avoid a single point of failure... You still have a single point of failure at the process level down to the hardware, which when you think about it, is mostly

Re: commit fail

2012-04-28 Thread Yonik Seeley
On Sat, Apr 28, 2012 at 7:02 AM, mav.p...@holidaylettings.co.uk mav.p...@holidaylettings.co.uk wrote: Hi, This is what the thread dump looks like. Any ideas? Looks like the thread taking up CPU is in LukeRequestHandler 1062730578@qtp-1535043768-5' Id=16, RUNNABLE on lock=, total cpu

Re: change index/store at indexing time

2012-04-28 Thread Vazquez, Maria (STM)
I can call a script for the logic part but what I want to figure out is how to save the same field sometimes as stored and indexed, sometimes as stored not indexed, etc. From a transformer or a script I didn't see anything where I can modify that at indexing time. Thanks a lot, Maria On Apr

SolrJ core admin - can it share server objects with queries?

2012-04-28 Thread Shawn Heisey
I have a SolrJ application that uses the core admin as well as doing queries against each core. I have an object of my own design for each core that uses SolrJ directly. Two of my core objects (one for build and one for live) are used in an object that represents a shard, and multiple shard

Re: change index/store at indexing time

2012-04-28 Thread Jeevanandam
Maria, For your need please define unique pattern using dynamic field in schema.xml Please have a look http://wiki.apache.org/solr/SchemaXml#Dynamic_fields Hope that helps! -Jeevanandam Technology keeps you connected! On Apr 28, 2012, at 10:33 PM, Vazquez, Maria (STM)

Re: change index/store at indexing time

2012-04-28 Thread Vazquez, Maria (STM)
Thanks Jeevanandam. That still doesn't have the same behavior as Lucene since multiple fields with different names have to be created. What I want is this exactly (multi-value field) document.add(new Field(geoids, geoId, Field.Store.YES, Field.Index.NOT_ANALYZED_NO_NORMS)); document.add(new

Re: Weird query results with edismax and boolean operator +

2012-04-28 Thread Jan Høydahl
Hi, What is your qf parameter? Can you run the three queries with debugQuery=trueechoParams=all and attach parsed query and all params? It will probably explain what is happening. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Solr Training - www.solrtraining.com On

Re: CJKBigram filter questons: single character queries, bigrams created across sript/character types

2012-04-28 Thread Lance Norskog
This does not address the question. A single-ideogram query will not find ideograms in the middle of phrases. I have also found that phrase slop does not work with bigrams. At all. I created a separate field type with unigrams. The CJK fields use the StandardAnalyzer. I made a stack with just the

Re: change index/store at indexing time

2012-04-28 Thread Jeevanandam
Maria, thanks for detailed explanation. as per schema.xml; stored or indexed should be defined at design-time. Per my understanding defining at runtime is not feasible. BTW, you can have multiValued=true attribute for dynamic fields too. - Jeevanandam On 29-04-2012 2:06 am, Vazquez, Maria