Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1099

FieldAnalysisRequestHandler

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3
    • 1.4
    • Schema and Analysis
    • None

    Description

      The FieldAnalysisRequestHandler provides the analysis functionality of the web admin page as a service. This handler accepts a filetype/fieldname parameter and a value and as a response returns a breakdown of the analysis process. It is also possible to send a query value which will use the configured query analyzer as well as a showmatch parameter which will then mark every matched token as a match.

      If this handler is added to the code base, I also recommend to rename the current AnalysisRequestHandler to DocumentAnalysisRequestHandler and have them both inherit from one AnalysisRequestHandlerBase class which provides the common functionality of the analysis breakdown and its translation to named lists. This will also enhance the current AnalysisRequestHandler which right now is fairly simplistic.

      Attachments

        1. AnalisysRequestHandler_refactored.patch
          76 kB
          Uri Boness
        2. analysis_request_handlers_incl_solrj.patch
          138 kB
          Uri Boness
        3. AnalysisRequestHandler_refactored1.patch
          77 kB
          Uri Boness
        4. FieldAnalysisRequestHandler_incl_test.patch
          39 kB
          Uri Boness
        5. SOLR-1099.patch
          6 kB
          Shalin Shekhar Mangar
        6. SOLR-1099.patch
          135 kB
          Shalin Shekhar Mangar
        7. SOLR-1099.patch
          137 kB
          Shalin Shekhar Mangar
        8. SOLR-1099-ordered-TokenizerChain.patch
          1 kB
          Koji Sekiguchi

        Issue Links

          Activity

            People

              koji Koji Sekiguchi
              uboness Uri Boness
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: