Question: How do I search more than one parametric index with VParametric java API?
Verity K2 Troubleshooting FAQAnswer: To search more than one parametric index, all the parametric indexes must be created using the same parametric outline XML. Below is a snippet of code to load all the parametric index for search. String[] myArray = {"piAlias1","piAlias2",...,"piAliasN"}; RemoteContext ctx = new RemoteContext(); ctx.setServerSpec("localhost:9900"); VParametricSearch para = new VParametricSearch(ctx); for (int i=0;i<myArray.length;i++) { PI piObj=para.openPI(myArrary[i); para.
Related QuestionsQuestion: How do you specify the internet query parser or any parser in the VParametric API?
Verity K2 Troubleshooting FAQAnswer: To change the default query parser from simple to any valid query parser, make a call to the GenericQuery class, as follows: import com.verity.search.query.GenericQuery; ... GenericQuery q = new GenericQuery(paraquery); q.setParserString("Internet_Basic"); // use the Internet Query Parser VResultSet pr = ParaDocSearcher.search(q);
Related QuestionsQuestion: Why do I get a -14 error message when creating my parametric index?
Verity K2 Troubleshooting FAQIf a username or password is used to create the collection, depending on the gateway, you will need to create the parametric index specifying the username and password credentials to authenticate to the gateway using the -credential switch. mkpi -piPath pi_name -outline path/outline -collpath path/odbcgw_coll -credential user:username -credential password:password The username and password is the same login information used to create the collection.
Related QuestionsQuestion: How can I run mkpi to update my parametric index as a scheduled cron job?
Verity K2 Troubleshooting FAQAnswer: When trying to run mkpi as a scheduled cron job to update a parametric index, the cron log shows the following error: mkpi - Verity, Inc. Version 5.5.0 (_ssol26, Jun 16 2004) Creating new pi: "/opt/verity/data/pis/mypi" from outline file: "/opt/verity/data/pis/outline.
Related QuestionsQuestion: How do I change the date format returned from a parametric search?
Verity K2 Troubleshooting FAQunder the appendix title, "Supported Date Formats", and "Date Import Format Strings" section. The How do you specify the internet query parser or any parser in the VParametric API? Component/Plugin: K2 Parametric
Related QuestionsQuestion: How can I return the last 7 days in a Parametric search?
Verity K2 Troubleshooting FAQAnswer: To return the last 7 days from today's date in a parametric search, the date bucket definition must be rebuilt everyday. The caveat is that the PI must be brought offline and online for the new changes to be picked up and cannot be done automatically.
Related QuestionsQuestion: How can I get Passage Based Summaries with my Parametric Search?
Verity K2 Troubleshooting FAQAnswer: There is an undocumented addition to the AdbstractDocument's getField()method. For PBSummaries, add the getValue() method of the getField("vdkpbsummaries"), like this: ParaDocumentSearcher searcher = (ParaDocumentSearcher) para.getDocumentSearcher(); VParaResultSet results = (VParaResultSet) searcher.search(useQuery); AbstractDocument[] docs = results.fetch(base+1,range); for(int j=0;j<docs.length();j++) System.out.println("\nPBS: " + docs[j].getField("VDKPBSUMMARY").getValue());
Related QuestionsWhat is the Google SOAP Search API?
Google SOAP Search APIThe SOAP Search API was created for developers and researchers interested in using Google Search as a resource in their applications. Depending on your application, the AJAX Search API may be a better choice for you instead. It tends to be better suited for search-based web applications and supports additional features like Video, News, Maps, and Blog search results.
Related QuestionsWhat is the EJB 3.0 Java Persistence API (JPA)?
Frequently Asked QuestionsThe Enterprise JavaBeans (EJB) 3.0 specification includes an additional persistence specification called the Java Persistence API (JPA). It is an API for creating, removing and querying across lightweight Java objects and can be used both within a compliant EJB 3.0 Container and a standard Java SE 5 environment.
Related QuestionsThe Java API Q: When is hashCode() used?
Code Style: Java API frequently asked questions (FAQ)The hashCode() method is used in hash-based data stores to get a "nearly unique" identifier for each object. The hash code is used to speed up the search process, so should have a high probability of being different from any other instance. It is possible for two hash codes to be the same, so the equals method is used to make an exact match.
Related QuestionsJava SQL API Q: What is the driver manager?
Code Style: JDBC frequently asked questions (FAQ)The DriverManager class is a core part of the java.sql package for Java database connectivity, it provides a registry of JDBC drivers that are loaded and available for use, and methods to get database connections using those drivers. The JDBC specification requires implementations of the java.sql.Driver interface to register themselves with the DriverManager method registerDriver(Driver) when their class is loaded through the Class.forName(String) method.
Related QuestionsQuestion: Why do I get a NullPointerException error when trying to submit a job with the Java API?
Verity K2 Troubleshooting FAQWhen submitting a job to the indexer through the java API, you must add specifyIdxJobInfoArguments.jobProp.startArray or a NullPointerException error is returned. For example:
Related QuestionsQuestion: How do I detach a collection from K2 using the Java Api's?
Verity K2 Troubleshooting FAQindex to null in the collection list and save it, as in the following example: .setCollectionList(serverIndexLocation, null); .setCollectionListChange(true);
Related QuestionsQuestion 2: Where can I find information on the Java development API?
SELECTservices | 6174 - MicroStation Geographics v7 FAQAnswer: HTML document files are available in \Bentley\Program\GeoGraphics\jmdl\geo\dgn. Information on the delivered compiled JMDL examples is located in the index.html file from the \Bentley\Program\GeoGraphics\jmdl\examples\geo\dgn directory.
Related QuestionsQuestion: How can I index and search for the Euro sign?
Verity K2 Troubleshooting FAQThe Unicode assignment of the Euro symbol is 20AC. The symbol has been added to the following codepages at position '0x80' in: When using a MS DOS based locale (like 850) you cannot index the Euro sign since the internal 8859/1252 to 850 mapping does not include the Euro sign. When using a Windows codepage based locale, implementing a style.lex which will pick up the 0x80 value for the Euro sign being part of a word should be enough. The following change to style.
Related QuestionsWhat functionality comes with the Google SOAP Search API?
Google SOAP Search APIDevelopers can issue search requests to Google's index of billions of web pages and receive results as structured data, access information in the Google cache, and check the spelling of words.
Related QuestionsHow do I get access to the Google SOAP Search API service?
Google SOAP Search APIWe are no longer issuing new API keys for the SOAP Search API. (Developers with existing SOAP Search API keys will not be affected.) Depending on your application, the AJAX Search API may be a better choice for you instead. It tends to be better suited for search-based web applications and supports additional features like Video, News, Maps, and Blog search results.
Related QuestionsHow is the Google SOAP Search API implemented?
Google SOAP Search APIGoogle SOAP Search API is implemented as a web service. The service supports several SOAP methods; these are described in an accompanying WSDL file that can be imported into your favorite web services programming environment. Alternately, you can use our custom Java library to call the service.
Related QuestionsI can't find a device on your IC Parametric Search. Why not?
EEM - Electronic Engineer's Master OnlineSome parts--and categories of parts--may be currently unavailable while our IC database is being restructured. If you would like to request that a part be added to the site, please e-mail us the part number, type of device, and manufacturer information, and we will do our best to add it to our database.
Related QuestionsQuestion: How do I set the proxy settings when using the K2 Spider Com/Java Object API?
Verity K2 Troubleshooting FAQThe NetSetting class controls all aspects of network settings related to web crawling/indexing, including the proxy settings. The options related to proxy setting are: hostName, portNum, userName, password, and noProxyArray. The retry, password, and delay options are also used in conjunction with the Proxy server. See the NetSetting class in the VIndex Javadoc.
Related QuestionsWho is Parametric?
Overlay ManagementParametric is a Seattle-based investment firm specializing in managing structured equity portfolios. They are widely recognized for their pioneering research in the field of tax-efficient investing. They are the leading overlay portfolio manager in the industry, managing more portfolios and assets than any other independent overlay portfolio management firm.
Related QuestionsWhat is the Java Media Framework API (JMF)?
JMF FAQThe Java Media Framework API (JMF) specifies a simple, unified architecture to synchronize and control audio, video and other time-based data within Java applications and applets. For the purposes of this FAQ, "JMF" or "JMF API" refers to both the specification (as generated from javadoc) and the reference implementations that Sun provides with the specification. The JMF 1.0 API specifies playback behavior and was developed by Sun Microsystems, Inc., Silicon Graphics Inc., and Intel Corporation.
Related QuestionsJava Server Pages API Q: Can I forward multiple requests to a single JSP?
Code Style: Java Server Pages frequently asked questions (FA...The implicit page variable is simply a "this" reference to the JSP instance that is being invoked by the servlet container. This is an object provided by the container that fulfils the JspPage interface, and normally the HttpJspPage interface too. These interfaces are similar to the Servlet and HttpServlet interfaces and implement JSP lifecycle methods jspInit, jspDestroy and _jspService(HttpServletRequest, HttpServletResponse).
Related QuestionsWhat is Jargon (Java API)?
FAQ - SRBJARGON is a pure Java API for developing SRB (or other) datagrid interfaces. The API currently handles file I/O for local and SRB file systems and is easily extensible to other file systems. File handling with JARGON closely matches file handling in Sun's java.io API, a familiar API to most java programmers.
Related QuestionsDo you have an API for Macintosh? Would Java work?
FAQUnfortunately, we do not support the Macintosh platform. In theory, however, the Java API should work.
Related QuestionsHow does the Google SOAP Search API service work?
Google SOAP Search APIDevelopers write software programs that connect remotely to the Google SOAP Search API service. Communication is performed via SOAP, an XML-based mechanism for exchanging typed information.
Related QuestionsCan I develop commercial applications using the Google SOAP Search API?
Google SOAP Search APINo, the API's Terms and Conditions specifically state that you cannot create a commercial service using the Google SOAP Search API service.
Related QuestionsCan I use the source code distributed in the Google SOAP Search API developer's kit?
Google SOAP Search APIThe developer's kit includes some example Google client Java code, a .NET programming example, and a WSDL file you can use to generate code if your environment supports it. The developer's kit contains some third-party libraries; your use of these libraries is subject to their terms and conditions. Google has included the licenses for these libraries in the developer's kit download package.
Related QuestionsCan I invoke the Google SOAP Search API from Office XP applications (e.g., Excel)?
Google SOAP Search APICurrently, Office XP's SOAP implementation only supports simple SOAP types. The Google SOAP Search API service uses complex return types and therefore does not work with Office XP.
Related Questions