Hello Stefano,
Thank you for elevating your concern/interest in the topic of the Fedora-4.0-release-term plans for internal-admin search. As you know, the project is putting full focus on tightening the codebase for the pending production release. That effort includes establishing a feature-base that will be stable as we move into the future. It will be much less painful for the Fedora user community to drop dependence on a feature now than after the production release has gone out.
One of the transformative capabilities that Fedora4 is bringing to the community is its native, intuitive, standards-based Linked Data interaction model. The issue of internal-admin search has come to a head because in the process of the team polishing the Linked Data interaction, it has become clear that there are consequences of the fact that there is no one-to-one mapping of RDF types and backend JCR property types. The result of this fact is that the internal-admin search capabilities (which rely on backend JCR indexing) would require Significant and Ugly software gymnastics to work at even a moderately functional level.
Given,
1) the unmaintainability and limited functionality of such an implementation,
2) the fact that existing (and Fedora-integrated) tooling already does a good job of search/indexing (Solr, triplestores),
3) that robust support for RDF interactions as a feature likely trumps internal-admin search,
4) the dearth of documented internal-admin-search-related use cases [1], and
5) the performance benefits of disabling JCR indexing,
it is a hard argument to make for internal-admin search remaining in the 4.0 feature set.
Getting back to the two issues your raise,
re:1) It sounds like the fundamental issue is a need for a quick (milliseconds? seconds?) update of a query-able index for a UI that is working directly against your Fedora. This is a reasonable use case, but one that does not necessarily imply a synchronous internal-admin search. I would be very interested in the actual user/usability requirements for such an interaction, and push on indexing/messaging models that support those requirements.
re:2) The question of authorization is one that the entire community has, and will continue to face. From the beginning, we have intentionally termed the internal-admin search capability exactly that to make clear that it was designed for internal, administrative users. Among other notions, embedded in that name is the implication that authorization is not a characteristic of the feature. That said, many Fedora users and Fedora-based frameworks have addressed the issue of authorization policies over external indexes which live as Fedora resources. Given the exact situation that you raise, we as a community, and myself personally, have a vested interest in ensuring that valid solutions exist.
In summary, there is a tension between Linked Data support and the internal-admin search feature. Given the developer resources, the timeline, the community use cases and feature priorities, indications would favor leaving internal-admin search out of the initial 4.0 production release.
I hear your position, Stefano, and sympathize with it. There are solutions to the issues you raise, and they will come collectively from the community. It is not clear that an expanded internal search is a good fit.
However, despite the strong technical and project-level arguments for favoring Linked Data over internal-admin-search, this is the time to raise your opinion/concerns as we approach this immediate juncture of removing or not removing internal-admin-search from the Fedora 4.0 production release.
Regards,
Andrew