Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11920

The official way of querying Solr from Java is a huge pain

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.3-milestone-2
    • Fix Version/s: None
    • Component/s: Search - Solr
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      It's super crappy: the current way is a giant hacking around the Query API where we use almost nothing as it's designed to. You have to go trough not typed and not fully documented binding hacks because Solr instance is not public... to end up as result with a Solr API that you have to cast in the first element of the result list

      IMO this make Solr close to unusable from a component.

      Just making SolrInstance (or a lighter version of SolrInstance) public would make thing much cleaner and easier to use in Java.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tmortagne Thomas Mortagne
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Date of First Response: