Re: Query to count matching terms and disable 'coord' multiplication

2015-10-07 Thread Alessandro Benedetti
Hi, related 1 you should take a look to all the similarity implementation, maybe there's some good fit there for your use case ! Another interesting reading could be : http://opensourceconnections.com/blog/2014/01/20/build-your-own-custom-lucene-query-and-scorer/ fro Doug. I remember i saw that ki

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 doc1

RE: how can i disable coord?

2013-11-04 Thread Markus Jelsma
message- > From:jihyun suh > Sent: Monday 4th November 2013 6:14 > To: solr-user@lucene.apache.org > Subject: how can i disable coord? > > I want to disable coord in bq. > But eventhough I set the coordFactor=false just like > .../select?q=...&coordFactor=false, it&

how can i disable coord?

2013-11-03 Thread jihyun suh
I want to disable coord in bq. But eventhough I set the coordFactor=false just like .../select?q=...&coordFactor=false, it's not working... How can I disable coord? -- View this message in context: http://lucene.472066.n3.nabble.com/how-can-i-disable-coord-tp4099121.html Sent from

Re: Disable coord

2009-11-23 Thread Chris Hostetter
: Thanks for your reply. Nested boolean queries is a valid concern. I also : realized that isCoordDisabled needs to be considered in : BooleanQuery.hashCode so that a query with coord=false will have a different : cache key in Solr. Hmmm... you're right, BooleanQuery.hashCode doesn't consider d

Re: Disable coord

2009-11-18 Thread Guangwei Yuan
I want to disable coord for certain queries. For example, if I pass a > URL > : parameter like "disableCoord" to Solr, the BooleanQuery generated will > have > : coord disabled. If it's not currently supported, what would be a good > way > : to implement it? > &

Re: Disable coord

2009-11-12 Thread Chris Hostetter
: I want to disable coord for certain queries. For example, if I pass a URL : parameter like "disableCoord" to Solr, the BooleanQuery generated will have : coord disabled. If it's not currently supported, what would be a good way : to implement it? in order to have something lik