Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

How long does it take an item to be ready for semantic search?

310000JKQV gravatar image
Question by doitdoitdoit  (1) | May 30, 2015 at 08:43 AM watsonconcept-insights

I added a few simple documents using curl like this:

curl -D - -X PUT -u [username]:[password] -u '{"label":"IBM News","parts":[{"name":"excerpt","data":"IBM announced today a new cognitive system..."}]}' 'https://gateway.watsonplatform.net/concept-insights-beta/api/v1/corpus/[my user name]/mike/ibmnews'


Then got a success response:

HTTP/1.1 201 Created


Im unable to use any of the searchable api on my corpus, everything comes back as:

{"error":"empty"}


When I check status of the document using GET /v1/searchable/{user}/{corpus}/{documentid}, I get:

{"stage":"annotate","status":"queued","timestamp":"2015-05-30T13:32:09.155Z"}

The same for documents I added yesterday. How long does it take for them to become ready?


Another thing is if I try to see how this document is related to a wiki concept using GET /v1/searchable/{user}/{corpus}/{documentid}, the stage changes to the following:

{"stage":"compute","status":"error","timestamp":"2015-05-30T13:28:31.229Z","lasterror":"empty"}


I'm guessing this might be because it is not yet annotated with concepts? If this is the case, is the document still in progress of being annotated? Or is this result permanent and the document has to be updated? How long until it becomes searchable? Is this supposed to be a long process or am I doing something wrong? Or should just accept this as a beta thing...

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

1 reply

  • Sort: 
270006EH5V gravatar image

Answer by Luis A. Lastras (761) | Jun 01, 2015 at 07:57 AM

doitdoitdoit:

Thanks for the question!

The time to annotation (which is the first stage of our system) and the time to being "searchable" are both a function of the load in the beta system.

The GET command that you are trying which returns with an error status though means that the searchable did go through the machinery of undergoing annotations and indexing but somehow this concluded with an error. This sometimes happen when the JSON of the searchable itself was not constructed properly - our error messages are not as rich as they should be.

I do not know for a fact though that this is the case for your searchable. We would be very happy to work with you to track down what is happening with your submission. Let us know if you want to follow through with the offer.

Comment

People who like this

  0   Show 1   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
310000JKQV gravatar image doitdoitdoit (1)   Jun 02, 2015 at 06:44 AM 0
Share

Thanks! I'd appreciate any help. I'm really interested in this service and would like to know more about it.

It did end up going through (3 days since entering it). Other requests took anywhere from 2 hours to a day.

Follow this question

41 people are following this question.

Answers

Answers & comments

Related questions

Probable bug in concept graph: Romance_(love) 0 Answers

invalid ids parameter error when calling conceptual search with curl 1 Answer

cannot provision Concept Insights 1 Answer

Using SUM operator in Discovery query language 1 Answer

How do I use get_related_concepts in Python? 2 Answers

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges