Thank you all for helping and updating the doc. As always, it is greatly
appreciated.
Steve
On Thu, Jun 4, 2015 at 1:53 PM, Chris Hostetter
wrote:
>
> : What about at query time? If I index my Boolean and it has one of the
> : variations of "t", "T" or "1", what should my query be to get a hi
: What about at query time? If I index my Boolean and it has one of the
: variations of "t", "T" or "1", what should my query be to get a hit on
: "true"? q=MyBoolField: ? What should the value of be when I
: want to check if the field has a "true" and when I need to check if it has
: a "false
: I took a quick look at the code and it _looks_ like any string
: starting with "t", "T" or "1" is evaluated as true and everything else
: as false.
correct and documented...
https://cwiki.apache.org/confluence/display/solr/Field+Types+Included+with+Solr
: sortMissingLast determines sort order
Have you tried it? Really, it should take you 2 minutes to add a doc and see.
I'd guess it follows the same rules.
Best,
Erick
On Thu, Jun 4, 2015 at 5:29 AM, Steven White wrote:
> Thanks Erick.
>
> What about at query time? If I index my Boolean and it has one of the
> variations of "t", "T"
Thanks Erick.
What about at query time? If I index my Boolean and it has one of the
variations of "t", "T" or "1", what should my query be to get a hit on
"true"? q=MyBoolField: ? What should the value of be when I
want to check if the field has a "true" and when I need to check if it has
a "f
I took a quick look at the code and it _looks_ like any string
starting with "t", "T" or "1" is evaluated as true and everything else
as false.
sortMissingLast determines sort order if you're sorting on this field
and the document doesn't have a value. Should the be sorted after or
before docs tha