Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. COThanks alot for your answer, it makes more sense to boost the distance, but I really want to understand that syntax, is there any documentation for boost syntax and the function calculating the distance. I updated the question with the working query syntax, without dismax though yet. If there is any improvements I can make please tell me, thank you so much for your time and efforts
      singulars
    2. COYour updated query uses the 'boost' param correctly but you didn't specify the defType=edismax (edismax looks for the boost param, nothing else). And I noticed a trailing ",states:"CA"" on your 'fq' which is wrong as the comma shouldn't be there, maybe you means 'OR' ? I posted a link to the Solr 4 spatial page on Solr's wiki. I should add an example depicting boosting. You might want to read my book or look at other information (e.g. the wiki) on dismax/edismax.
      singulars
    3. COYou are right, I've ommited the , replaced with AND and enabled dismax query parser, but the confusion comes here, in the docs, it is written that the qf parameter defines specific fields to return which is the same as fl parameter but with the ability to boost in query time, I've tried to use qf parameter but it doesn't work with degdist:query($getDist). I'm not sure which to use fl or qf, or both fl for fields and qf to boost some fields? also there is boost parameter that you specified, Can it handle multiple boosts? Shall I use it or use qf for boosting fields?
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload