Document search by file name using TREX

Hello,
We have implemented searching of documents using TREX. At the moment TREX finds all documents where search term is included BOTH in the file name (title) AND the content of the document. We need to limit the search results only to the documents where the search term is a part of the file name/title and NOT the content.
I know that searching for the term in the title and content is a standard functionality. Is there any way to limit searching for documents only to the title? Are there any parameters that I could place in the KM Document iView in the property 'query' that will limit searching to the file name?
We use SAP NW 7.0 SP18.
Best regards,
Beata

Hi Bobu,
I have followed the suggested solution with the predifined properties - "cm_displayname(/default)" - in a new Search option set and a new Search  Component set containing only two aliases: search_predefined_props and standard_search, but it seems that searching is using the standard_search alias anyway. If I remove it from the search component, I do not have a full-search field for entering the value.
BR
Beata

Similar Messages

  • How to rename the SharePoint Document Library existing file name using Web service

    Hi,
    How to rename the SharePoint Document Library existing file name using SharePoint Web service.
    Is it possible. How could i do it?
    Thanks & Regards
    Poomani Sankaran

    Hi,
    Lists.UpdateListItems Method
    would be helpful for your requirement.
    Here is a blog with code demo for your reference:
    http://blogs.msdn.com/b/knowledgecast/archive/2009/05/20/moss-using-the-list-web-service-to-rename-a-file.aspx
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Search in File Server using TREX

    Hello,
    We have TREX up and running. We wanted to integrated Files system search with it. This means we should have a place in where we put the document in file system and TREX should be able to index and get document from here.
    Note: Point promissed for correct answer.
    regards,
    Jaish

    Hi Jaish,
    Just chk out the link.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e1f93f5c-0301-0010-5c83-9681791f78ec
    Once have you done it, Create an index which include this file server as source for documentation.
    Warm Regards,
    Karan

  • Does anyone know how to use pages so you can export pdfs from the internet and automatically drag words from the document into the file name of the pdf (i.e., author, title of a scientific paper)

    Does anyone know how to use pages so you can export pdfs from the internet and automatically drag words from the document into the file name of the pdf (i.e., author, title of a scientific paper). For example, if I am downloading a paper by smith called "Surgery" that was published in 2002, it will automatically set the file name in the download to smith- surgery 2002. I have heard pages is smart enough to do this.
    thank you

    Pages can export only its own documents. They may be exported as PDF, MS Word, RTF or Text files.
    Pages can import (ie. Open a file as, or Insert a file into, a Pages document) documents in several formats, but won't rename the document as you describe. Documents that can be Opened (eg. Text, AppleWorks 6 WP, MS Word files) are converted to Pages documents, and retain their original names, with .pages replacing the original file extension. Files that can be Inserted (generally .jpg, .pdf and other image files) become part of the existing Pages file and lose their names.
    It may be possible, using AppleScript, to extract the text you want and to Save a Pages file using that text as the filename, but that would depend in part on being able to identify which text is wanted and which is not.
    How will the script determine where the author's name begins and where it ends?
    How will the script recognize the beginning and of the title, an decide how much of the title to use in the filename?
    How will the script recognize the year of publication?
    For papers published in a specific journal, with a strict format for placing each of these pieces on information, or containing the needed information as searchable meta data in the file, this might be possible. But it would require knowledge of the structure of these files, and would probably handle only papers published in a specific journal or set of journals.
    Outside my field of knowledge, but there are some talented scripters around here who might want to take a closer look.
    Best of luck.
    Regards,
    Barry

  • Word cannot open this document.  The document might be in use, the document might not be a valid Word document,  or the file name might contain invalid characters (for example,\ /).

    I recently upgraded to a new Macbook Air running Lion, from my 2007 white Macbook running Snow Leopard.  I had Office for Mac 2004 on the 2007, but had to upgrade to Office for Mac 2011 to be compatible with Lion on the Air.  Now when I try to open my documents on the Air that were saved under Office 2004 on the old computer, I get the following message: Word cannot open this document.  The document might be in use, the document might not be a valid Word document,  or the file name might contain invalid characters (for example,\ /).
    Any suggestions?  Thank you.

    Ha,ha,ha.....I figured it out.  But for anyone else who's having this problem, it seems that while Office 2004 allowed dates in this format: 00/00/00, Office 2011 doesn't like it at all.  I just changed the format in the document names to 00-00-00 and all is well.  Documents are opening beautifully! 

  • Sharepoint Workflow : how to get document full path + file name into variable?

    Hi,
    Anybody knows how to get document full path + file name into a variable in Sharepoint 2010 workflow?
    Example http://sp1:80/InvoiceQueue/Shared Documents/123.pdf
    I am using List Workflow which links to a document library.

    Hi SAMSUNG,
    According to your description, my understanding is that you want to get the full path of a document in a list workflow.
    You can set the variable to the Enconded Absolute URL of the document. The screenshot is my testing. In my testing (in the red area), when the title of a document was equal to the tile of the current item, set a variable to the Enconded Absolute URL of the
    document. I used ‘Log to history list’ to check the value of the variable in Workflow History .
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Where is Search by File Name in Mountain Lion?

    My spotlight searches in 10.6 used to allow me to search either by contents or file name.  Now, in 10.8, I seem to be able to search by contents only.  Is there a way to get search by file name back?  Some preference somewhere?

    Use the box in Finder. Put the cursor there, hit the space bar, and you will get a + sign on the right. Hit it and you can select to search by name on the left.

  • Batch document title from file name?

    Forgive the newb question on a fairly simple matter.
    I want to create File Info: Document Titles from file names, minus the extension, for about 400 images.
    Is this possible with Batch rename, if so what am I missing?
    Thanks,

    I am unclear how a batch rename will enter data into File Info: Document Title.
    I have never used them but you might look at metadata templates.  Several sites on web on how to set them up and what they will do for you.

  • Change the Finder search default to Find by Name (search by file name) rather than Find by Content

    I just discovered another way to set the finder Find option to default to "find by name" (search by file name). I'm using Mac OS X 10.8.5 Mountain Lion. I'm not sure if this works on other OS versions, but it probably does.
    Here's a step by step:
    #1: Open System Preferences
    #2: Click on "Keyboard"
    #3: Click on "Keyboard Shortcuts"
    #4: Click on "Application Shortcuts" (on my system this was the last item located on the left-hand side window)
    #5: Click the little "+" right below the right-hand side window
    #6: Click on the "Application" menu and choose "finder.app"
    #7: Click into the field "Menu Title:" and type "Find by Name..." (Type it exactly like that including the three dots. Don't type the quotes BTW.)
    #8: Click into the field "Keyboard Shortcut:" and press the command-key and F at the same time. It should look like this ⌘F
    #9: Close System Preferences
    That's it. Basically what you are doing is remapping the command-F key (⌘F) to "Find By Name".
    I tried to post this to other previous discussions asking this same question, but they were all locked.

    Apple doesn’t routinely monitor the discussions. These are mostly user to user discussions.
    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback

  • Package search by file name

    Hi there,
    I am wondering if there is a way to locate a particular package if I only know a name of some file it contains. The www.archlinux.org/packages seems to search only the short describtion and package name.
    This is quite stupid since it happens quite often that you work with some tutorial which wants you to run some utility and you do not have it. Or you want to run a program you just dowloaded sources from and compiled them and you need a library, but you have no idea what package it might be in.
    I know it is possible to look through installed packages by file name using 'pacman Qo /path/to/file'. However I would like to do the same for packages not yet installed. Moreover without having to specify the full path.
    For example I am looking for 'mkfs.vfat' utility to format my usb stick.
    I already found it to be part of dosfstools, but it was more a luck than any systematic search ...
    Thanks for answers.
    Vit

    tomk wrote:
    I read the whole thread, and it's all good, but I couldn't shake off the fact that the OP thinks it's "quite stupid" that this facility is not available. I strongly disagree, for the simple reason that it is very easy to find out which upstream application provides a particular file using generic search methods. Once you have that, it is also very easy to find the relevant Arch package using Arch search methods.
    vit.gottwald - if you think any aspect of what we're doing here is stupid, you can a) fix it and submit a patch, b) use your existing knowledge and/or skill to work around it (see above), or c) find an alternative distro with a lower stupidity level.
    Sorry for that. I didn't want to upset anyone. Actually arch seems to me to be the 'right' dristribution for me after trying redhat, suse, mandriva and *buntu at last. Please be a bit tolerant, I am not a native English speaker and somtimes my expressions are a bit clumsy. When I said stupid I was definitely not referring to pacman but to the process of looking for the right package I couldn't figure out. My apology and thanks to everyone's answer.
    Last edited by vit.gottwald (2008-03-20 20:43:15)

  • PLSQL sample for searching a file name in the server

    Hello All,
    what plsql package i need to use or any plsql sample code available for searching a file name in the server.
    For example If I provide any text "XX%", the plsql code should provide me the list of file names in a specific folder in server.
    If any one worked on this kind of requirement, please provide me the sample code.
    Thanks & Regards
    Aboothahir

    Hello,
    https://sourceforge.net/projects/oracle-jutils/
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:439619916584#1565062600346635117
    {message:id=4070746}
    Regards
    Marcus

  • If I have a pic in more than one album, does iPhoto make more than one copy of that pic?  When I search the file name on finder, it seems to be showing one copy of that file for every album it's in.

    If I have a pic in more than one album, does iPhoto make more than one copy of that pic?  When I search the file name on finder, it seems to be showing one copy of that file for every album it's in.

    No it doesn't. Albums simply reference the photos in the Library. A single shot can be in 100 albus and use no extra disk space at all.
    If you have the same shot in two Events then yes, the file is duplicated.
    When I search the file name on finder, it seems to be showing one copy of that file for every album it's in.
    The Finder doesn't really understand the iPhoto Library. It's quite possible for the iPhoto Library to contain many files with the same name. The Library also contains different versions of the same shot - thumbnail, originals and edited version. This is normal.
    Regards
    TD

  • Saving documents with similar file names

    When saving documents with similar file names, I used to be able to hit save as button and go to the file folder I wish to use. I could then click an existing file in the folder to draw in the name and then just modify it slightly to create the new name.
    In Reader DC I get an error saying this is a read only file an can not be saved.  I can save the file if I use a different file name but then I have to go in and rename the file. i.e. if I have a weakly report that I save, I may have the file name "Installerspayroll.we.04.25.15.pdf."
    I used to be able to click on the existing file name to bring it into the name box and then just change the date. The updated version is not allowing me to do that, creating more work.

    I thought you were referring to an admin account within the Adobe program. I am an admin on the machine I am signed into and using while having these problems
    Thank you for this opportunity to share our expertise,
    Michael Mallary
    Treasurer
    Mallary Carpet & Flooring, Inc.
    410-766-6992
    www.mallarycarpet.com<http://www.mallarycarpet.com>
    Earning your unsolicited referrals
    is our number one priority

  • Selection of Folder/File name using the same Fun.Module

    Please let me know if there is a function module which can fetch folder name/File name  from the directory path when f4 option of selection screen field is selected. Currently I am able to get the file name using FM F4_DXFILENAME_4_DYNP but the requirment is like I have to select either folder name or the file name depending on user selection.
    Note: Please let me know if there is a single Function module which can get folder name or the file name based on the user selection.i.e, if the user want to select a folder he can select or he can select files in the folder for processing

    Hi sridhar
    try this:
    PARAMETER : TXT_FILE(100).
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR TXT_FILE.
    PERFORM GETFILE.
    start-of-selection.
    PERFORM GETDATA.
    FORM GETDATA.
      DATA : FILENAME TYPE STRING.
      FILENAME = TXT_FILE.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME                      = FILENAME
         FILETYPE                       =  'ASC'
         HAS_FIELD_SEPARATOR           = 'X'
        HEADER_LENGTH                 = 0
        READ_BY_LINE                  = 'X'
        DAT_MODE                      = ' '
        CODEPAGE                      = ' '
        IGNORE_CERR                   = ABAP_TRUE
        REPLACEMENT                   = '#'
        CHECK_BOM                     = ' '
      IMPORTING
        FILELENGTH                    =
        HEADER                        =
        TABLES
          DATA_TAB                      = IT_UPLOAD
      EXCEPTIONS
        FILE_OPEN_ERROR               = 1
        FILE_READ_ERROR               = 2
        NO_BATCH                      = 3
        GUI_REFUSE_FILETRANSFER       = 4
        INVALID_TYPE                  = 5
        NO_AUTHORITY                  = 6
        UNKNOWN_ERROR                 = 7
        BAD_DATA_FORMAT               = 8
        HEADER_NOT_ALLOWED            = 9
        SEPARATOR_NOT_ALLOWED         = 10
        HEADER_TOO_LONG               = 11
        UNKNOWN_DP_ERROR              = 12
        ACCESS_DENIED                 = 13
        DP_OUT_OF_MEMORY              = 14
        DISK_FULL                     = 15
        DP_TIMEOUT                    = 16
        OTHERS                        = 17
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.
    FORM GETFILE.
      CALL FUNCTION 'WS_FILENAME_GET'
       EXPORTING
        DEF_FILENAME           = ' '
         DEF_PATH               = '.'
        MASK                   = ' '
        MODE                   = ' '
        TITLE                  = ' '
       IMPORTING
         FILENAME               = TXT_FILE
        RC                     =
      EXCEPTIONS
        INV_WINSYS             = 1
        NO_BATCH               = 2
        SELECTION_CANCEL       = 3
        SELECTION_ERROR        = 4
        OTHERS                 = 5
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.
    <b>This is a part of my BDC program its working for me u try n reply if it works for u.</b>
    regards
    vijay

  • How to find the File name using the FTP Adapter

    hi all,
    how to find the File name using the FTP Adapter with BPEL.
    Regards

    Found the solution for this.
    First In the mediator's routing rule use assign property $in.property.jca.file.FileName to $out.property.jca.file.FileName
    In the BPEL's receive activity go to the properties tab and get the property to a BPEL variable. That should do it.
    Thanks for the posts

Maybe you are looking for