Details

    • Type: Wish Wish
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.6.1
    • Fix Version/s: None
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Hi,

      Is there a way to change a Term's value (Term.text()) before Lucene actually perform the search on the Document holding this Term ?

      I need this preprocessing because the value is encrypted when written in the index. I although need to do fuzzy search and/or approximate search when searching on this Term.

      How can I achieve this purpose ?

      Best regards.

        Activity

        Thibault Houel created issue -
        Thibault Houel made changes -
        Field Original Value New Value
        Description Hi,

        Is there a way to change a Term's value (Term.text()) before Lucene actually perform the search on the Document holding this Term ?

        I need this preprocessing because the value is encrypted when written in the index. I although need to do fuzzy search and/or approximate search when searching on this Term.

        Best regards.
        Hi,

        Is there a way to change a Term's value (Term.text()) before Lucene actually perform the search on the Document holding this Term ?

        I need this preprocessing because the value is encrypted when written in the index. I although need to do fuzzy search and/or approximate search when searching on this Term.

        How can I achieve this purpose ?

        Best regards.
        Hide
        Adrien Grand added a comment -

        Hi Thibault,

        This transformation should be done in client code. If you are using the Lucene query parser, this can be done by overriding the QueryParser.get*Query methods. This kind of question should be asked on the user list (http://lucene.apache.org/core/discussion.html#java-user-list-java-userlucene) before filling a JIRA issue.

        Show
        Adrien Grand added a comment - Hi Thibault, This transformation should be done in client code. If you are using the Lucene query parser, this can be done by overriding the QueryParser.get*Query methods. This kind of question should be asked on the user list ( http://lucene.apache.org/core/discussion.html#java-user-list-java-userlucene ) before filling a JIRA issue.
        Adrien Grand made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Won't Fix [ 2 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Thibault Houel
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development