Re: Update solr schema.xml in real time for Solr 4.10.1

2015-03-14 Thread Nitin Solanki
Hi Zheng, As you said **there's no physical schema.xml** but I have. I am using sampletechproductsconfig configuration where I have found schema.xml. In that, I am managing my schema.xml and then I upload that it into zookeeper and reload the collection. On 3/14/15, Zheng Lin Edwin

Re: Update solr schema.xml in real time for Solr 4.10.1

2015-03-14 Thread Zheng Lin Edwin Yeo
Hi Nitin, What I experienced is when I create a new collection, there's no physical schema in that collection. But there is schema.xml in some of the example folder. You can create your own schema.xml in your own collection, but in order to use it, you have to change the schemaFactory class to Cla

Re: Update solr schema.xml in real time for Solr 4.10.1

2015-03-14 Thread Nitin Solanki
Ok.. Got Zheng... Thanks a Lot.. On Sat, Mar 14, 2015 at 1:02 PM, Zheng Lin Edwin Yeo wrote: > Hi Nitin, > > What I experienced is when I create a new collection, there's no physical > schema in that collection. But there is schema.xml in some of the example > folder. You can create your own sch

Solr How to sorting suggestions by sales

2015-03-14 Thread Xelion
We are trying to use solr on our website as a search engine , but we have a problem , we can not sort the suggestions by the number of sales. I tried the components facet, terms, FreeTextLookupFactory and the spellcheck component, but in none of the above components are able to get the results th

Re: Update solr schema.xml in real time for Solr 4.10.1

2015-03-14 Thread Shawn Heisey
On 3/14/2015 1:32 AM, Zheng Lin Edwin Yeo wrote: > What I experienced is when I create a new collection, there's no physical > schema in that collection. But there is schema.xml in some of the example > folder. You can create your own schema.xml in your own collection, but in > order to use it, you

Using the collections API to create a new collection

2015-03-14 Thread Mike Thomsen
We're running SolrCloud 4.5.0. It's just a standard version of SolrCloud deployed in Tomcat, not something like the Cloudera distribution (I note that because I can't seem to find solrctl and other things referenced in the Cloudera tutorials). I'm trying to create a new Solr collection like this:

Re: Whole RAM consumed while Indexing.

2015-03-14 Thread Erick Erickson
First, the soft commit interval is very short. Very, very, very, very short. 300ms is just short of insane unless it's a typo ;). Here's a long background: https://lucidworks.com/blog/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/ But the short form is that you're opening sear

Re: how to store _text field

2015-03-14 Thread Erick Erickson
Right, your schema.xml file will define, perhaps, some "dynamic fields". First insure that stored="true" is specified. If you change this, you have to re-index the docs. Second, insure that your "fl" parameter with the field is specified on the requests, something like q=*:*&fl=eoe_txt. Third, in

Re: Using the collections API to create a new collection

2015-03-14 Thread Erick Erickson
I bet you did not push the configuration to Zookeeper before creating the collection. If you look in your admin UI, the Cloud link and the "tree" version, you'll find a "configsets" directory that'll show you what you _have_ put in ZK, and I'll bet you find nothing like a config set (containing sc

Re: Using the collections API to create a new collection

2015-03-14 Thread Mike Thomsen
I looked in the tree view and I have only a node called "configs." Nothing called "configsets." That's a serious problem, right? So if I'm reading this correctly, I should be able to create a configset based on an existing collection and load it into zookeeper once I find the right location to put

Re: Using the collections API to create a new collection

2015-03-14 Thread Mike Thomsen
I added this to my solr.xml and restarted, but it didn't do anything even though the path is valid and /opt/configsets contains a folder called base with a conf folder and valid schema and solrconfig... ${configSetBaseDir:/opt/configsets} Any ideas? Is there a way to force an up

Re: Using the collections API to create a new collection

2015-03-14 Thread Anshum Gupta
Hi Mike, Here's what you want to do: 1. Create or use an existing config set. 2. Upload it to ZooKeeper ( https://cwiki.apache.org/confluence/display/solr/Command+Line+Utilities) 3. Use the config name when you create the collection. This would link the config set in zk with your collection. I th