Re: MLT Java example for Solr 6.3

2016-12-27 Thread Ere Maijala
Just a note that field boosting with the MLT Query Parser is broken, and for SolrCloud the whole thing is practically unusable if you index stuff in English because CloudMLTQParser includes strings from field definitions (such as "stored" and "indexed") in the query. I'm still hoping someone

How to solve?

2016-12-27 Thread William Bell
We are entering entries into SOLR like the following, and we want to see if my pt matches any of these radiuses. 1. Red, pt=39,-107, radius=10km 2. Blue, pt=39,-108, radius=50km I want to run a SOLR select with a pt=39,-104 and see if it is within 10km of point 1, and 50km of point 2? Usually I

Re: How to make Solr FuzzyLookupFactory exactMatch case insensitive

2016-12-27 Thread diwakar bhardwaj
I did, that is returning exact matches first but only when I query with case matched elements. For example, mumbai's results would be different then Mumbai's. On Wed, Dec 28, 2016 at 2:32 AM, Susheel Kumar wrote: > Did you try exactMatchFirst param of FuzzyLookupFactory ?

Re: Easy way to preserve Solr Admin form input

2016-12-27 Thread Alexandre Rafalovitch
I think there may be a ticket for something similar. Or related to rerunning a same query/configuration on a new core. Worth having a quick look anyway. The challenge would be to write the infrastructure that will unpack those parameters back into the boxes. Because some go into raw query, some

Re: Uncaught exception java.lang.StackOverflowError in 6.3.0

2016-12-27 Thread Yago Riveiro
bq: "That is really a job for streaming, not simple faceting.” True, it’s the next step to improve our performance (right now we are using JSON facets), and 6.3.0 has a lot of useful tools to work with streaming expressions. Our last release before 6.3 was 5.3.1 and the streaming expressions

Re: Uncaught exception java.lang.StackOverflowError in 6.3.0

2016-12-27 Thread Toke Eskildsen
Yago Riveiro wrote: > One thing that I forget to mention is that my clients can aggregate > by any field in the schema with limit=-1, this is not a problem with > 99% of the fields, but 2 or 3 of them are URLs. URLs has very > high cardinality and one of the reasons to

Re: Easy way to preserve Solr Admin form input

2016-12-27 Thread Stefan Matheis
Sebastian, currently not - i'm sorry to say. We did it for the analysis screen but not for the query screen. Shouldn't be too hard to add this kind of persitence. Would you mind opening a ticket, so we can track the progress. Depending on your knowledge, you might be willing to give it a first

Re: How to make Solr FuzzyLookupFactory exactMatch case insensitive

2016-12-27 Thread Susheel Kumar
Did you try exactMatchFirst param of FuzzyLookupFactory ? See https://cwiki.apache.org/confluence/display/solr/Suggester Thanks, Susheel On Sun, Dec 25, 2016 at 6:52 PM, diwakar bhardwaj wrote: > Hi, > > I've implemented a solr suggester with FuzzyLookupFactory and

Re: Cloud Behavior when using numShards=1

2016-12-27 Thread Dave Seltzer
Thanks Erick, That's pretty much where I'd landed on the issue. To me Solr Cloud is clearly the preferable option here - especially when it comes to indexing and cluster management. I'll give "preferLocalShards" a try and see what happens. Many thanks for your in-depth analysis! -Dave Dave

Re: Easy way to preserve Solr Admin form input

2016-12-27 Thread Erik Hatcher
How's /browse fare for you? What params are you adjusting regularly? > On Dec 27, 2016, at 06:09, Sebastian Riemer wrote: > > Hi, > > is there an easy way to preserve the query data I input in SolrAdmin? > > E.g. when debugging a query, I often have the desire to reopen

Re: Easy way to preserve Solr Admin form input

2016-12-27 Thread Erick Erickson
Use curl and edit a file maybe? Or edit a file and copy/paste into the address bar? I often do this and combined with browser format tools for XML or JSON let's me get by. IOW, there's really nothing I know of that allows you to save/retrieve the contents of the admin UI form. It'd be a neat

Re: Cloud Behavior when using numShards=1

2016-12-27 Thread Erick Erickson
The form of the query doesn't enter into whether query is passed on to a different replica IIUC. preferLocalShards was created to keep this from happening though. There's discussion at https://issues.apache.org/jira/browse/SOLR-6832. BTW, "it's just a parameter". At root, the sugar methods

Re: Cloud Behavior when using numShards=1

2016-12-27 Thread Dave Seltzer
Hehe Good Tip :-) preferLocalShards may indeed be a good solution. I'll have to figure out how to pass that parameter using SolrNet. The queries are quite complex. We're sampling audio, calculating hashes and comparing them to known hashes. I'll paste an example below. Are nested queries more

Re: Cloud Behavior when using numShards=1

2016-12-27 Thread Dorian Hoxha
I think solr tries itself to load balance. Read this page https://cwiki.apache.org/confluence/display/solr/Distributed+Requests (preferLocalShards!) Also please write the query. tip: fill "send" address after completing email On Tue, Dec 27, 2016 at 4:31 PM, Dave Seltzer

Cloud Behavior when using numShards=1

2016-12-27 Thread Dave Seltzer
[Forgive the repeat here, I accidentally clicked send too early] Hi Everyone, I have a Solr index which is quite small (400,000 documents totaling 157 MB) with a query load which is quite large. I therefore want to spread the load across multiple Solr servers. To accomplish this I've created a

Cloud Behavior when using

2016-12-27 Thread Dave Seltzer
Hi Everyone, I have a Solr index which is quite small (400,000 documents totaling 157 MB) with a query load which is quite large. I therefore want to spread the load across multiple Solr servers. To accomplish this I've created a Solr Cloud cluster with two collections. The collections are

Easy way to preserve Solr Admin form input

2016-12-27 Thread Sebastian Riemer
Hi, is there an easy way to preserve the query data I input in SolrAdmin? E.g. when debugging a query, I often have the desire to reopen the current query in solrAdmin in a new browser tab to make slight adaptions to the query without losing the original query. What happens instead is the

Re: Uncaught exception java.lang.StackOverflowError in 6.3.0

2016-12-27 Thread Yago Riveiro
One thing that I forget to mention is that my clients can aggregate by any field in the schema with limit=-1, this is not a problem with 99% of the fields, but 2 or 3 of them are URLs. URLs has very high cardinality and one of the reasons to sharding collections is to lower the memory footprint