Re: Order of fields in a search query.

2013-08-31 Thread Aloke Ghoshal
Hi Deepak, As Hoss explains it, there wouldn't be any effect of changing the order of individual search terms. In addition, you could look at the Scoring algo: http://lucene.apache.org/core/2_9_4/scoring.html#Algorithm, http://lucene.apache.org/core/2_9_4/api/core/org/apache/lucene/search/package

Re: SolrCloud Set up

2013-08-31 Thread Erick Erickson
bq: Though I am seeing some funkiness that I wasn't seeing with Solr & Zookeeper running together Then I suspect you've set something up inconsistently, _or_ you need to extend some timeouts because SolrCloud is being run with separate ZKs by quite a few people so I'd be surprised if it were anyth

Re: Change the score of a document based on the *value* of a multifield using dismax

2013-08-31 Thread Erick Erickson
I'm guessing that you'd be best served by changing your model a bit. It looks like you are somehow doing searches that center on the airport and arrange businesses of various types based on how far they are from the airport. But you're collecting all the businesses in one solr document. It would w

Re: Change the score of a document based on the *value* of a multifield using dismax

2013-08-31 Thread danielitos85
Thanks Erick, but think if I have an simple float value and not distance. I have a situation like this: - id: 1 - myText: ["iphone", "ipad", "macbook"] - myFieldFloat: [3.4,2.1,5.3] I want to set the value of myFieldFloat at his respective myText. I tried this: but it return a

Re: Change the score of a document based on the *value* of a multifield using dismax

2013-08-31 Thread Erick Erickson
Whoa! You've suddenly changed from asking about querying to DIH. I'll leave DIH to people who understand that way better than I do. As for the rest, you won't be able to boost by the values even after you do get them in a multiValued field, so I think you'll have problems as you try to carry this

Re: Change the score of a document based on the *value* of a multifield using dismax

2013-08-31 Thread danielitos85
:( -- View this message in context: http://lucene.472066.n3.nabble.com/Change-the-score-of-a-document-based-on-the-value-of-a-multifield-tp4087503p4087666.html Sent from the Solr - User mailing list archive at Nabble.com.

Hostname

2013-08-31 Thread William Bell
In the Solr 3 the console showed the name of the server. Can we get that added - it was very useful since we use a load balancer and we want to know which machine we are on So that we can see if the load balancer is working. http://DNSNAME:8983/solr/#/ -- Bill Bell billnb...@gmail.com

Re: Hostname

2013-08-31 Thread Shawn Heisey
On 8/31/2013 10:28 AM, William Bell wrote: > In the Solr 3 the console showed the name of the server. > > Can we get that added - it was very useful since we use a load balancer and > we want to know which machine we are on So that we can see if the load > balancer is working. > > http://DNSN

Re: Hostname

2013-08-31 Thread William Bell
Yeah. We use varnish and with Varnish 3.0.3 it is really easy ask varnish for the # of servers. That would be a really cool option: Varnish -- Server 1 -- Server 2 Could upload the default.vcl to get the backend configs (^backend) If you are on the server as varnish you can do commands to get

Re: Hostname

2013-08-31 Thread William Bell
ALso https://www.varnish-software.com/product/vac This supports REST calls On Sat, Aug 31, 2013 at 11:28 AM, William Bell wrote: > Yeah. We use varnish and with Varnish 3.0.3 it is really easy ask varnish > for the # of servers. > > That would be a really cool option: > > Varnish > -- Server