Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-8422

Cannot escape double quotes in Lucene searches

    Details

    • Type: Information
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Affects Version/s: 3.3.2
    • Fix Version/s: None
    • Component/s: Alfresco Explorer
    • Labels:
      None
    • Bug Priority:
      Category 3
    • ACT Numbers:

      15024-22137

      Description

      I am wondering if you could give me a patch regarding the Jira#ETWOTWO-1138 since I can see the following description in the Jira#ETWOTWO-1138, which is saying Michael Shavnev seems fixed the problem and emailed the patch to you, but it has not been attached in the Jira yet.

      ===<http://issues.alfresco.com/jira/browse/ETWOTWO-1138>====================
      [ Permalink | « Hide ]
      Michael Shavnev added a comment - 15-Oct-08 09:35 AM
      We have fixed a it by change the 'QUOTED' token in QueryParser.jj. We used a JavaCC Version 3.2 to generate appropriate parser files. Patch has been emailed to Gav.
      ====================================================================

      Actually I am handling the ticket#15024-22137. What the customer wants to do is the following lucene indexing search, but they both does not work.
      +PATH:"/app:company_home/cm:apptest/*" AND +@cm\:name:"Helmut \"B"
      +PATH:"/app:company_home/cm:apptest/*" AND +@cm\:name:"Helmut "B"
      +PATH:"/app:company_home/cm:apptest/*" AND +@cm\:name:Helmut "B

      I want to know if Michael's patch can solve this or not,(The Jira status is open) I checked a source code for QueryParse.jj on the latest Alfresco version, which showing as follows, I am wondering whether or not this is the same as Michael Shavnev's modified one.

      <QUOTED: "\"" (~["\""] | "\\\"")+ "\"">

      Best Regards,
      Kazu

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedbugs Closed Bugs
                  Reporter:
                  kkono Kazuyuki Kono
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel