[
https://issues.apache.org/jira/browse/LUCENE-916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502416
]
Ben Dotte commented on LUCENE-916:
----------------------------------
We're in the same boat as Daan, our searching/sorting code is also abstracted
away and does not know the types. But we could also include the types without
much difficulty.. based on Yonik's statement and the recommendation by Compass,
I would say that is probably the best route for us.
On the other hand, if Lucene is going to support automatic sorting, I think it
should be supported regardless of whether an individual IndexSearcher is being
used vs. a MultiSearcher.
> It is not possible to sort with sorttype auto on a field that does not exist
> ----------------------------------------------------------------------------
>
> Key: LUCENE-916
> URL: https://issues.apache.org/jira/browse/LUCENE-916
> Project: Lucene - Java
> Issue Type: Bug
> Components: Search
> Affects Versions: 1.9, 2.0.0, 2.0.1, 2.1, 2.2
> Reporter: Daan de Wit
> Attachments: TestMultiSearcherAutoSort.java
>
>
> When sorting with type auto on a field that does not exist, a
> RuntimeException is thrown from FieldCacheImpl.java line 346. This is
> especially a problem when using MultiSearcher. This issue is related to:
> http://issues.apache.org/jira/browse/LUCENE-374
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]