Re: Solrcloud: 1 server, 1 configset, multiple collections, multiple schemas

2015-12-07 Thread bengates
F*ck. I switched from normal Solr to SolrCloud, thanks to the feature that allow to create cores (collections) on-the-fly with the API, without having to tell Solr where to find a schema.xml / a solrconfig.xml and let it create them itself from a pre-defined configset. If I understand well, there

Re: Solrcloud: 1 server, 1 configset, multiple collections, multiple schemas

2015-12-05 Thread bengates
I understand. How to do this via the API? -- View this message in context: http://lucene.472066.n3.nabble.com/Solrcloud-1-server-1-configset-multiple-collections-multiple-schemas-tp4243584p4243737.html Sent from the Solr - User mailing list archive at Nabble.com.

Solrcloud: 1 server, 1 configset, multiple collections, multiple schemas

2015-12-04 Thread bengates
Hello, I'm having usage issues with *Solrcloud*. What I want to do: - Manage a solr server *only with the API* (create / reload / delete collections, create / replace / delete fields, etc). - A new collection should* start with pre-defined default fields, fieldTypes and copyFields* (let's say, fi

Re: Multiple boost queries on a specific field

2015-08-03 Thread bengates
Hello Chris, This totally does the trick. I drastically improved relevancy. Thank you much for your advices ! - Ben -- View this message in context: http://lucene.472066.n3.nabble.com/Multiple-boost-queries-on-a-specific-field-tp4217678p4220396.html Sent from the Solr - User mailing list arch

Re: Multiple boost queries on a specific field

2015-07-17 Thread bengates
Hello, I'm using q.alt because q=*:* provides 0 result, since it is not compatible with the Dismax parser. The "real terms" is irrelevant here, since I want to boost some documents, either on the whole collection, either after defining some filter queries. My queries have nothing to deal with a fu

Multiple boost queries on a specific field

2015-07-16 Thread bengates
Hello, I'm trying to use the boost queries for the 1st time and I need some help. Let's assume my documents have a /provider /field, which is populated by a string, i.e. A, B, C, D, E. I'd like to assign weight to providers. A is /^2.0/, B is /^1.5/ and the others are 1.0. So, if I run the follo

Re: Bad contentType for search handler :text/xml; charset=UTF-8

2015-04-22 Thread bengates
Looks like Solarium hardcodes a default header "Content-Type: text/xml; charset=utf-8" if none provided. Removing it solves the problem. It seems that Solr 5.1 doesn't support this content-type. -- View this message in context: http://lucene.472066.n3.nabble.com/Bad-contentType-for-search-hand

Re: Bad contentType for search handler :text/xml; charset=UTF-8

2015-04-22 Thread bengates
Hello, I've got the same issue after an upgrade from Solr 5.0 to 5.1, even on GET requests. Actually i'm using PHP Solarium library to perform my requests. This is the error the library gets now, on a search handler. The request is transported with cUrl. What's weird is when I copy/paste the Url

Re: Log numfound, qtime, ...

2015-03-04 Thread bengates
Hello everyone, I'll check this ASAP. Thanks for all your answers ! Ben -- View this message in context: http://lucene.472066.n3.nabble.com/Log-numfound-qtime-tp4189561p4191129.html Sent from the Solr - User mailing list archive at Nabble.com.

Log numfound, qtime, ...

2015-02-27 Thread bengates
Hello everyone, Here's my need : I'd like to log Solr Responses so as to achieve some business statistics. I'd like to report, as a daily/weekly/yearly/whateverly basis, the following KPIs : - Most popular requests (hits) - Average numfound for each request - Average response time for each request

[Resolved] Exception writing document to the index; possible analysis error.

2014-12-18 Thread bengates
Ok, sorry but the issue was located between my keyboard and my chair. The field "_collection_id" is required in the schema and not filled in my update request. As the exception didn't warn me about any required field, I didn't look at this. Thanks anyway, Ben -- View this message in context:

Re: Exception writing document to the index; possible analysis error.

2014-12-18 Thread bengates
Hello, Thanks for your reply. That's what I understand when I look at the exception. However, if you look at my XML update command, there's no empty string anywhere. That's why I don't understand why this exception is raised. Thanks, Ben -- View this message in context: http://lucene.472066.

Exception writing document to the index; possible analysis error.

2014-12-17 Thread bengates
Hello everyone, I'm losing my hair trying to add a simple document on a freshly installed Solr core. I'm running Solr 4.10.2 on jetty with the start.jar. I have the following (managed) schema and my core has been reloaded : Consider my core have 0 document. Now I'm trying to add a document via

Issues with multicore management

2014-03-04 Thread bengates
Hello, I'm having issues with multicore management. What I want to do : *1st point :* Create new cores on the fly without restarting the Solr instance *2nd point :* Have these new cores registered in case of restarting Solr instance So, I tried *config A* : /solr.xml/ : Then I duplicated the

Field Value depending on another field value

2013-10-28 Thread bengates
Hello, I'm pretty new to Solr, and I have a question about best practice. I want to handle a Solr collection with products that are available in different shops. For several reasons, the price of a product may be the same or vary, depending the shop's location. What I don't know how to handle co

Re: Update field properties via Schema Rest API ?

2013-09-28 Thread bengates
Haha, Thanks for your reply, that's what I'll do then. Unfortunately I can speak Java as well as I can speak ancient Chinese in Sign Language... ^^ -- View this message in context: http://lucene.472066.n3.nabble.com/Update-field-properties-via-Schema-Rest-API-tp4087907p4092507.html Sent from

Re: Update field properties via Schema Rest API ?

2013-09-28 Thread bengates
By the way, Is there a place where we can post our feature requests on Solr ? Besides this one, it would be great to be able to tell Solr in the schema.xml, that the default value of a field, is the value of another field, instead of a static value. Best, Ben -- View this message in context:

Re: Update field properties via Schema Rest API ?

2013-09-03 Thread bengates
Hello Erick, Thank you for your reply. Unfortunately, yes it is. I work with a company that has a catalog with many new attributes every day, and sometimes the existing ones change. For instance, one attribute may live with the unit for months (e.g. screen_size ="32 cm") and one day my provider

Re: Update field properties via Schema Rest API ?

2013-09-03 Thread bengates
Hello, Thanks for your quick reply. This is what I feared. Do you know if this is planned for Solr 4.5 or Solr 5.0 ? I didn't see anything about it in the roadmap. Thank you, Ben -- View this message in context: http://lucene.472066.n3.nabble.com/Update-field-properties-via-Schema-Rest-API-

Update field properties via Schema Rest API ?

2013-09-03 Thread bengates
Hello, I'm pretty new to Solr, as a PHP developer. I'm still reading the tutorials for getting started with Solr, adding and indexing data. I'm still using the example/start.jar, as I still didn't succeed to config a true (production-ready) Solr instance. But doesn't matter. As I can't deal with