新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

Is there a way to do an "exact" search?

回答済み
新規投稿

コメント

4件のコメント

  • Murtza

     You can run an exact match search programatically by putting your query in quotes. Please keep in mind that you have to escape the quotes with backslashes. 

     

    Below is an example using our Ruby SDK. This same functionality is possible with our Python and Node SDKs.

     

     

    require 'boxr'
    
    client = Boxr::Client.new('DEVELOPER_TOKEN')
    search_query = "\" text to find \""
    search_results = client.search(query=search_query)
    puts search_results

     

    0
    コメントアクション Permalink
  • SalsaShark42

    Thank you--seems to work fine!  It would be useful if this was included in the API documentation.

    0
    コメントアクション Permalink
  • Hazeeta

    But how do I search for one exact word using the regular search box in the web interface? If I search for 'limitation' in the search bar I get 120 pages of documents with all kinds of things highlighted as the term 'Limit', 'Limited', etc. Not helpful at all if I cann't remove or control the 'fuzzuness'  of the search...

    0
    コメントアクション Permalink
  • monte1

    Look below the search box. You can limit your results based on dates, owner, files size,metadata, folder and others options.

     

    0
    コメントアクション Permalink

サインインしてコメントを残してください。