Range queries with 'slong' field type do not retrieve correct results
---------------------------------------------------------------------
Key: SOLR-671
URL: https://issues.apache.org/jira/browse/SOLR-671
Project: Solr
Issue Type: Bug
Environment: SOLR-1.3-DEV
Schema:
<!-- Numeric field types that manipulate the value into
a string value that isn't human-readable in its internal form,
but with a lexicographic ordering the same as the numeric ordering,
so that range queries work correctly. -->
<fieldType name="sint" class="solr.SortableIntField" sortMissingLast="true"
omitNorms="true"/>
<fieldType name="slong" class="solr.SortableLongField"
sortMissingLast="true" omitNorms="true"/>
<fieldType name="sfloat" class="solr.SortableFloatField"
sortMissingLast="true" omitNorms="true"/>
<fieldType name="sdouble" class="solr.SortableDoubleField"
sortMissingLast="true" omitNorms="true"/>
<field name="timestamp" type="slong" indexed="true" stored="true"/>
Reporter: Fuad Efendi
Range queries always return all results (do not filter):
timestamp:[1019386401114 TO 1219386401114]
<lst name="debug">
<str name="rawquerystring">timestamp:[1019386401114 TO 1219386401114]</str>
<str name="querystring">timestamp:[1019386401114 TO 1219386401114]</str>
<str name="parsedquery">timestamp:[1019386401114 TO 1219386401114]</str>
<str name="parsedquery_toString">timestamp:[#8;#0;εごᅚ TO #8;#0;ѯ刯慚]</str>
...
<str name="QParser">OldLuceneQParser</str>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.