lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34477] - You cannot sort on fields that don't exist
Date Tue, 19 Apr 2005 00:57:00 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34477>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34477





------- Additional Comments From yseeley@gmail.com  2005-04-19 02:57 -------
> This is difficult to debug without warnings

I think these types of checks should be done in a separate place (or at least be
optional somehow).  There are many other potential problems than sorting on a
field that doesn't exist... but all developers shouldn't have to pay the price
in overhead or lack of flexibility.

How about a checkQuery() or a debugQuery() that could check for things like:
  - searching on a non-indexed field
  - sorting on a non-indexed field
  - documents that have multiple terms for the sort field
  - documents matching a query that have no term for the sort field


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message