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 [EMAIL PROTECTED]  2005-04-17 16:45 -------
> I just see that there's another problem: the exception also occurs when
> you have a field, but it isn't indexed. I think that's a common case
> and these cases should not be silently ignored. 

While this condition would be possible to check for, it would lead to some of
the same inconsistencies and problems as trying to ban sorting on a field that
doesn't exist.

Lucene doesn't restrict every field with the same name to be of the same type. 
Field "foo" may be indexed for some documents and not indexed for others.  So we
are back in the same situation of not knowing if the query is a bug, or if it's
just that no documents with "foo" indexed currently exist in the index, but may
in the future or may have in the past.

Since Lucene is a search engine rather than a search server, we should strive to
keep it as flexible as possible to enable that many more applications to be
built on top of it. 

Once this bug is fixed, I think FieldCacheImpl.java should have only one
RuntimeException remaining.



-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to