Re: Implicit Router Configurations

2015-06-23 Thread Arnon Yogev
Thank you Erick, What is the recommended way to manually change clusterstate.json? Is there a java code \ script way of editing a file in ZK? Best, Arnon From: Erick Erickson To: solr-user@lucene.apache.org Date: 23/06/2015 09:09 PM Subject:Re: Implicit Router Configurations

Re: Same query, inconsistent result in SolrCloud

2015-06-23 Thread Jerome Yang
Dear Erick, Thank you, I fond it's the problem of my text segmentation setting. Anyway, thanks. Regards, Jerome 2015-06-21 0:43 GMT+08:00 Erick Erickson : > Just that this _shouldn't_ be going on at all. Either > 1> you've done something when setting up this collection that's > producing t

Re: Creating A User Interface On Top of Solr

2015-06-23 Thread Erick Erickson
First, the Velocity UI was never intended to be a user-facing application, if for no other reason than it has direct access to Solr. And I can delete all the docs in the collection, delete collections, create new collections and all manner of other really bad stuff. So almost _every_ application h

Creating A User Interface On Top of Solr

2015-06-23 Thread Paden
Hello, I'm trying to custom build my own Solr interface in Visual Studios instead of using/modifying the original Velocity interface. I'm mostly doing this as a learning exercise for building UI that's why I'm opting out of using it. The problem is I'm pretty new and not sure where to begin. Mo

Re: Implicit Router Configurations

2015-06-23 Thread Erick Erickson
Please raise a JIRA for this, I can see why this would occur. You can manually change the clusterstate.json file when this happens as a stop-gap, I'd have all the Solr instances down when doing this though. Best, Erick On Tue, Jun 23, 2015 at 8:19 AM, Arnon Yogev wrote: > We have a use case wh

Re: "More" facets or "Less" facets in the Velocity UI

2015-06-23 Thread Alessandro Benedetti
This is strictly a front end "development" . You need to modify the velocity template to provide that feature UI side . Solr side you configure your facet.limit ( on a per field basis if necessary). In the "browse" example it's in the appended params under the specific request handler. Cheers 2

Re: Upgrading SolrCloud 4.8 to 4.8.1

2015-06-23 Thread Vincenzo D'Amore
Thank you very much Shawn, very interesting. Is there any chance to find this behaviour explained in the wiki? On Tue, Jun 23, 2015 at 6:02 PM, Shawn Heisey wrote: > On 6/23/2015 9:37 AM, Vincenzo D'Amore wrote: > > I'm upgrading a SolrCluster from 4.8 to 4.8.1. > > Looking at collections config

Re: Upgrading SolrCloud 4.8 to 4.8.1

2015-06-23 Thread Shawn Heisey
On 6/23/2015 9:37 AM, Vincenzo D'Amore wrote: > I'm upgrading a SolrCluster from 4.8 to 4.8.1. > Looking at collections configuration there are few solrconfig.xml that have > > LUCENE_48 > > others have: > > 4.8 > > Now I'm updating everything to: > > 4.8.1 Changing your luceneMatchVersion is unne

Upgrading SolrCloud 4.8 to 4.8.1

2015-06-23 Thread Vincenzo D'Amore
Hi All, I'm upgrading a SolrCluster from 4.8 to 4.8.1. Looking at collections configuration there are few solrconfig.xml that have LUCENE_48 others have: 4.8 Now I'm updating everything to: 4.8.1 Given that after the change I have to reindex all the collections. In your experience, is there

"More" facets or "Less" facets in the Velocity UI

2015-06-23 Thread Sznajder ForMailingList
Hi Is there a way to add a link "More" (or "Less") under the list of facet's values, in aim to display more facets values? Thanks! Benjamin

Re: Solr returning weird results

2015-06-23 Thread Alessandro Benedetti
In this situations I would suggest you to use the DebugQuery=true. To simplify the understanding you can also use : splainer.io . Really nice tool to quickly identify why a document is there. Cheers 2015-06-23 15:37 GMT+01:00 Freakheart : > I am trying to set up Solr for my data, I have configur

Re: Solr returning weird results

2015-06-23 Thread Fadi Mohsen
Sent from my iPhone > On 23 Jun 2015, at 16:37, Freakheart wrote: > > I am trying to set up Solr for my data, I have configured all the things and > the search seems to be working fine but some times I am getting weird > results. > > For example if I am searching for a term 'vicryl ctx 2-0 70

Re: Nested objects and map in Solr

2015-06-23 Thread Amadeo Asco
I found the answer to my problems: 1. If you have sub-objects add "content_type": , to the parent object, e.g. { “name_s” : ”mine”, "content_type": “surnames”, values { “surname1” : “first”, “s

Solr returning weird results

2015-06-23 Thread Freakheart
I am trying to set up Solr for my data, I have configured all the things and the search seems to be working fine but some times I am getting weird results. For example if I am searching for a term 'vicryl ctx 2-0 70' in the results I have 1. VICRYL VIOLETT GEFL | 2-0 | 1 x CTX PLUS | 1 x 70 | - |

Re: Costume searchHandlers in a multi core envirment

2015-06-23 Thread Alessandro Benedetti
Let's start from this : "I have a search handler I wrote that runs a sub query so that the main query I send to the SearchHandler is extended." What is the problem you are searching to solve ? Why a classic filter query or re-ranking query is not ok for you ? Can you give us some indication of tha

Re: Index time field boost with solrj?

2015-06-23 Thread Shawn Heisey
On 6/23/2015 4:42 AM, Karl Kildén wrote: > Hello! Can I boost fields at index time with the solrj client? If not what > do you recommend? Feels like it would be expensive to always do it at query > time? Yes. On the SolrInputDocument class, there are addField and setField variants that include a

Re: copyField based on value of another field

2015-06-23 Thread Alessandro Benedetti
You should work at the UpdateProcessor level : https://wiki.apache.org/solr/UpdateRequestProcessor#Implementing_a_conditional_copyField This should give you some hint. Cheers 2015-06-23 13:45 GMT+01:00 Alistair Young : > Hi folks, > > is it possible to copyField only if another field has a cer

Re: Question regarding getting back results from middle of word

2015-06-23 Thread Alessandro Benedetti
It sounds the classic XY problem , can you explain us a little bit better your problem ? Why you have such strange field content, how do you produce it ? Can this be solved with an analysis ad hoc for your language ? It sounds to me as a tokenization problem, and you are not going to solve it usin

Costume searchHandlers in a multi core envirment

2015-06-23 Thread 1234go1
Hi, I have a search handler I wrote that runs a sub query so that the main query I send to the SearchHandler is extended. This was working very nice till I changed my env to a be multi sharded. Now my searcher is always opened to the same core and not to the core that the shard asks for. For exampl

copyField based on value of another field

2015-06-23 Thread Alistair Young
Hi folks, is it possible to copyField only if another field has a certain value? e.g. copyField 'dc.subject' to 'image_suggestions' only if rdf http://www.nsdl.org/ontologies/relationships#isInImageBank is true thanks, Alistair -- mov eax,1 mov ebx,0 int 80h

Implicit Router Configurations

2015-06-23 Thread Arnon Yogev
We have a use case where documents are indexed in shards according to a specific field (shard per user), and the number of shards is unknown when creating the collection. For that purpose we use the implicit router and define router.field=user. >From what we've seen, the only way to define an im

Re: Solr Exact match boost Reduce the results

2015-06-23 Thread JACK
Hi Alessandro Benedetti, Can you check what happens to the below given product_name , just check its score "product_name":"LAPTOP BATTERY DELL Inspiron 6400 1501 E1505 RD859 UD267 XU937" How is this product comes , ? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Ex

Question regarding getting back results from middle of word

2015-06-23 Thread Karl Kildén
Hello! if I have a field like "onetwothreefour" I want users to find that document with a query for "two". This seems to work when I use I got that one off google. The problem is I really want a search for "one" to be regarded as a better hit but seems the fragments cr

Re: Understanding the MoreLikeThis Handler

2015-06-23 Thread Alessandro Benedetti
You are welcome ;) 2015-06-23 9:27 GMT+01:00 Sreekant Sreedharan : > This has been resolved. The issue was indeed the mlt.mintf value. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Understanding-the-MoreLikeThis-Handler-tp4213279p4213399.html > Sent from the Solr

Re: Solr Exact match boost Reduce the results

2015-06-23 Thread Alessandro Benedetti
Hi Jack, 2015-06-23 6:27 GMT+01:00 JACK : > Hi Alessandro Benedetti, > > I have changed the query like this. > > > /select?q=("dell+laptop"~13+OR+"dell+laptop")&df=product_name&defType=edismax&qf=product_name^0.001+dummy_product_name^2&fl=product_name&wt=json&indent=true&debug=true > Pardon

Index time field boost with solrj?

2015-06-23 Thread Karl Kildén
Hello! Can I boost fields at index time with the solrj client? If not what do you recommend? Feels like it would be expensive to always do it at query time? Cheers

Re: Understanding the MoreLikeThis Handler

2015-06-23 Thread Sreekant Sreedharan
This has been resolved. The issue was indeed the mlt.mintf value. -- View this message in context: http://lucene.472066.n3.nabble.com/Understanding-the-MoreLikeThis-Handler-tp4213279p4213399.html Sent from the Solr - User mailing list archive at Nabble.com.