NPE when executing clustering query search

2016-03-22 Thread Tim Hearn
Hi everyone, I am trying to execute a clustering query to my single-core master-slave solr setup and it is returning a NullPointerException. I checked the line in the source code where it is being thrown, and it looks like the null object is some sort of 'filt' object, which doesn't make sense.

Geospatial search question - document with multiple locations

2015-12-24 Thread Tim Hearn
Hi everyone, Suppose I have the following fields in my schema: And I index multiple latlon coordinates to a document. Then I do a geofilt search against my index. When I do that geofilt search, will ALL locations associated with that document have to be within the 'circle' produced by

Re: mlt and document boost

2015-12-24 Thread Tim Hearn
One workaround is to use the 'important terms' feature to grab the query generated by the MLT handler, then parse that list into your own solr query to use through a standard search handler. That way, you can get the same results as if you used the MLT handler, and you can also use filter

Query to count matching terms and disable 'coord' multiplication

2015-10-06 Thread Tim Hearn
Hello everyone, I have two questions 1) Is there a way to query solr to rank results based purely on the amount of terms in the query which are contained in the document? Example: doc1: 'foo bar poo car foo' q1: 'foo, car, two, start' score(doc1, q1) = 2 (since both foo and car both occur in

NPE with faceting query on MoreLikeThis handler

2015-05-18 Thread Tim Hearn
Hi everyone, Recently I upgraded to solr 5.1.0. When trying to generate facets using the more like this handler, I now get a a NullPointerException. I never got this exception while using Solr 4.10.0 Details are below: Stack Trace: at

NPE when Faceting with MoreLikeThis handler in Solr 5.1.0

2015-05-15 Thread Tim Hearn
Hi everyone, Recently I upgraded to solr 5.1.0. When trying to generate facets using the more like this handler, I now get a a NullPointerException. I never got this exception while using Solr 4.10.0 Details are below: Stack Trace: at

NPE when Faceting with MoreLikeThis handler in Solr 5.1.0

2015-05-14 Thread Tim Hearn
Hi everyone, Recently I upgraded to solr 5.1.0. When trying to generate facets using the more like this handler, I now get a a NullPointerException. I never got this exception while using Solr 4.10.0 Details are below: Stack Trace: at

Hit Highlighting and More Like This

2015-01-30 Thread Tim Hearn
Hi all, I'm fairly new to Solr. It seems like it should be possible to enable the hit highlighting feature and more like this feature at the same time, with the key words from the MLT query being the terms highlighted. Is this possible? I am trying right now to do this, but I am not having any

LUCENE-2899 patch will not compile

2014-12-12 Thread Tim Hearn
After I applied the LUCENE-2899.patch file to lucene-solr 4.10.2 release I tried to run an ant compile persuant to the following directions under 'instillation' : https://wiki.apache.org/solr/OpenNLP And I received the following error indicating a dependency is missing - how do I find that

Minimum Term Matching in More Like This Queries

2014-11-07 Thread Tim Hearn
Hi! I'm fairly new to Solr. Is there a feature which enforces minimum term matching for MLT Queries? More precisely, that is, a document will match the MLT query if and only if at least x terms in the query are found in the document, with x defined by the user. I could not find such a feature

Cannot use Phrase Queries in eDisMax and filtering

2014-11-03 Thread Tim Hearn
I am writing a search bar application with Solr which I'd like to have the following two features: phrase matching for user queries - results which match user phrase are boosted. Field faceting based on 'tags' field. When I execute this query: q=steve jobs fq=storeid:527bd613e4b0564cc755460a

Re: Cannot use Phrase Queries in eDisMax and filtering

2014-11-03 Thread Tim Hearn
That was a typo in the email I did not actually send the query with a start param of 50. I sent it with a start param of 0, I just verified. Sorry for the mistake. On Mon, Nov 3, 2014 at 1:41 PM, Ramzi Alqrainy ramzi.alqra...@gmail.com wrote: The results are different, because you need to set

Re: Cannot use Phrase Queries in eDisMax and filtering

2014-11-03 Thread Tim Hearn
It is of type string. On Mon, Nov 3, 2014 at 2:29 PM, Ramzi Alqrainy ramzi.alqra...@gmail.com wrote: I tried to produce your case in my machine with below queries, but everything worked fine with me. I just want to ask you a question what is the field type of tag field ? q=bmw fl=score,*