Intermedia Text Search criteria

We have a index which contains data in the format 'PG/A/1/2001' where 'A' can be any letter between 'a' and 'Z'. When we search the index using the contains statement we get strange results from the characters 'A' and 'S' only.
i.e if I use contains(wordindex,'PG/A/1/2001',0) > 0 I get 'PG/B', 'PB/C', 'PC/D' etc. If I use contains(wordindex,'PG/B/1/2001',0) > 0 I only get back 'PG/B'.
Does anyone know if oracle 8.1.7 is using 'PG' or '/' as special characters in some way, there is no mention of this in the manual and using {} round the statement make no difference.

You are probably using the default English or American stoplist, on which "A" and "S" are stopwords.
(why S? consider the word Garrett's). A stopword in a query acts like a %, so a query for
PG/A means "PG" followed by any word. This is why it hits PG/A, PG/B, etc.
if your data is this kind of code instead of really english, then you should create your index with the
empty stoplist:
create index ... parameters ('stoplist ctxsys.empty_stoplist')

Similar Messages

  • Intermedia text search error for file system

    I would like to search a text from a file. store in the file system. I have done the following procedures but when i create i get error.
    BEGIN
    CTX_DDL.CREATE_PREFERENCE('search_docroot_pref','FILE_DATASTORE');
    CTX_DDL.SET_ATTRIBUTE('search_docroot_pref','path','c:/temp/abc');
    END;
    Now when i create INDEX with following syntex
    CREATE INDEX mysearch_ind ON mytable(mycolumn) INDEXTYPE IS
    CTXSYS.context parameters('datastore search_docroot_pref');
    I get the following errors.
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: interMedia Text error:
    DRG-50704: Net8 listener is not running or cannot start external procedures
    ORA-28575: unable to open RPC connection to external procedure agent
    ORA-06512: at "CTXSYS.DRUE", line 126
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 54
    ORA-06512: at line 1
    Can any body tell me where i am wrong.
    Thanks,

    Hi
    I was aslo facing same problem.My net8 connection and listner is aslo ok. but getting same errors.
    Raju

  • InterMedia Text Search results

    We have interMedia Text enabled on our 3.0.9.8.2 install and, for Search Results, I need to understand how the percentage score is calculated and, if results have the same score, how the order is determined. Is it possible to reorder the results because it appears to be random? Can anyone point me to the relevant documentation?

    So Stephen, if I understand correctly, you have URL items, where the URL references the content in the IFS repository. This means that these items are being indexed by the WWSBR_URL_CTX_INDX. It'd be interesting to see if the results are returned as you would expect them to be using this index alone. This will tell you if there is a problem with Intermedia Text or if the problem lies with the way that Portal is using Intermedia Text and combining the scores from the multiple indexes.
    Try running a SQL query like
    select i.title, score(10) scr from wwv_things i, wwsbr_url$ u
    where i.id=u.object_id
    and contains (u.absolute_url,'${oracle}',10) > 0
    order by scr desc
    This will match your search term against only text which was indexed by the URL index and returns the display name of the corresponding item. Here I've searched for the term 'oracle'; change this to whatever you were using in your testcase. Note also that the $ implies the stem operator which is used by default in Portal.
    If this query doesn't return you the scores that you were expecting then the problem is to do with the way that Intermedia Text is indexing your PDF documents. If it does return what you'd expect then we need to look more closely at what Portal is doing with the scores.

  • InterMedia Text Search

    I see interMedia Search is searching only on Content Areas.
    What can I do to make it search in Portal Pages instead?
    We do not use Content Areas. We are using HTML Portlets in
    Portal Pages to publish content.

    Intermedia search is done in the backend and its upto you how you display the in the Web, whether it be a portal or any other application. The main issue is thatyou have to bulid index on the column of the table where you are storing the information. You have to query the database to get the results and display accordingly in the portal.
    Regarding the Dates you again have to limit your sql query between certain dates that should be present in your database.
    It all depends on how you display the search results in the client side. Normally you return a primary key of the table where you have indexed the column for search and referencing the primary key you can get the information of the corresponding row and also the other rows in other table if the primary key has any references to other tables.]
    I don't know how you are displaying the results in the portal. Are you using any framework such as the portlet of WebLogic Presonaliztion server?
    Thanks

  • Intermedia text search in XML document stored as CLOB

    Suppose i store an XML document as clob
    and i index it based on the tags ie
    if i have the followind table
    create table biodata (
    resume_id number primary key,
    content clob default empty_clob(),
    applicant_id number references
    applicants(id));
    and i stores various resumes in the clob (content column ) as xml document ie
    <experience_in_months> 22 </experience_in_months>
    Now if i want all the resume_id that that have experiences_in_months >= 10
    what would be the query that would fetch me this result?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by voron:
    We are storing data in XML format in an Oracle database (via CLOB). I can retrieve search results using the 'within' phrase, but am finding it hard to order them. Is there a utility or command I can use?<HR></BLOCKQUOTE>
    Maybe you should write a stored procedure (function )
    that extracts the section from your clob
    that should be sorted. Then use this function
    in the ORDER clause of your select statement.
    Andreas
    null

  • Intermedia text search poor performance

    We have a serious problem with our application running on Oracle 8i (8.1.5) with intermediaText. After analyzing the datatables the execution-plans are ok and a query (contains query combined with relational query) returns after 5 seconds.
    When we insert a few records (about 5) the same query becomes extremly slow (returns after 10-30 minutes). The optimizer does not use the domain-index anymore and initiates a full table scan (200000 rows of long textdata). When the table is analyzed again the execution-plan is ok.
    The relational part of the query selects on a number-value (timestamp) and we think the cause of this problem could be, that the values of the inserted rows are higher than the max-value at analyze-time.
    The oracle-support in Germany could not help us. Does anybody know, how the problem can be resolved, or does anybody have the same problem? We must find a solution because our customers cannot analyze the tables 24 hours a day (performance).

    I suggest upgrading to Oracle 8.1.6.
    Intermedia in previous releases seems to
    be very buggy.
    You said Oracle support could not help -
    why are we paying for support ??
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by multicom:
    We have a serious problem with our application running on Oracle 8i (8.1.5) with intermediaText. After analyzing the datatables the execution-plans are ok and a query (contains query combined with relational query) returns after 5 seconds.
    When we insert a few records (about 5) the same query becomes extremly slow (returns after 10-30 minutes). The optimizer does not use the domain-index anymore and initiates a full table scan (200000 rows of long textdata). When the table is analyzed again the execution-plan is ok.
    The relational part of the query selects on a number-value (timestamp) and we think the cause of this problem could be, that the values of the inserted rows are higher than the max-value at analyze-time.
    The oracle-support in Germany could not help us. Does anybody know, how the problem can be resolved, or does anybody have the same problem? We must find a solution because our customers cannot analyze the tables 24 hours a day (performance).<HR></BLOCKQUOTE>
    null

  • Bug: Text Search is not working for Excel spreadsheets

    Hi,
    We have published several Excel, Word and PowerPoint file items to our portal application content area.
    However, The intermedia text search is not returning the excel files - it is working on other file formats though!
    I have even tried directly issueing select from sqlplus. eg.,:
    select name,filename from wwv_document$ where name like '%.XLS'
    AND CONTAINS(BLOB_CONTENT,'network')>0;
    Result>> No rows selected.
    We are using Portal3.0.9 and 8.1.7 DB.
    Thanks in advance!
    Ram

    Firstly, are you syncronizing your indexes. Newly added content is not searchable until the indexes have been synced. See the Portal configuration guide for how to do this.
    Are your Excel files being indexed successfull? After indexing, are there any entries for the WWSBR_DOC_CTX_INDX in the ctx_user_index_errors view. You should be able to join via the rowid to the wwdoc_document$ table to see which docs are failing if any are.

  • How fast text search field in Oracle without using Intermedia?

    How fast text search field in Oracle without using Intermedia? Thank you, Paul.

    yes,it is overriden in VOImpl
    public void executeQuery()
            setQuery((new StringBuilder()).append(selectStmt).append(" order by ").append(getOrderByClause()).toString());
            OAApplicationModuleImpl oaapplicationmoduleimpl = (OAApplicationModuleImpl)getApplicationModule();
            OAApplicationModuleImpl _tmp = oaapplicationmoduleimpl;
            if(oaapplicationmoduleimpl.isLoggingEnabled(1))
                OAApplicationModuleImpl _tmp1 = oaapplicationmoduleimpl;
                oaapplicationmoduleimpl.writeDiagnostics((new StringBuilder()).append(getClass().getName()).append(".executeQuery").toString(), (new StringBuilder()).append(" Query:").append(getQuery()).toString(), 1);
            super.executeQuery();
    But I have extended VO and substituted the VO . In the substituted VOImpl, instead of executeQuery(),I have written
    public void customExecuteQuery()
              setQuery((new StringBuilder()).append(selectStmt).append(" order by ").append(getOrderByClause()).toString());
              executeQuery();
    Will this work,or do I need to do any changes?
    Thanks,

  • How do I use XSLT & XML is stored in InterMedia Text.....

    I use interMedia Text to store XML document. How do I use the XSLT Processor API to transform the data which is searched by XML SQL Utility??
    //***Source Code
    public Document xmlquery(String tabName,String xslfilename)
    Document xmlDocToReturn = null;
    String xmlString;
    try
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    //initiate a JDBC connection
    // initialize the OracleXMLQuery
    OracleXMLQuery qry = new OracleXMLQuery(conn,"select XML_TEXT from bookstore where contains (xml_text,'John WITHIN authorsec')>0");
    // structure the generated XML document
    qry.setMaxRows(2);
    // set the maximum number of rows to be returned
    // get the XML document in string format
    xmlString = qry.getXMLString();
    // print out the XML document
    System.out.println(" OUTPUT IS:\n"+xmlString);
    // get the XML document in string format
    xmlDocToReturn = qry.getXMLDOM();
    conn.close();
    catch (SQLException e) {
    return xmlDocToReturn;
    xml = (XMLDocument)query.xmlquery(args[1],args[0]);
    // Instantiate the stylesheet
    XSLStylesheet xsl = new XSLStylesheet(xsldoc, xslURL);
    XSLProcessor processor = new XSLProcessor();
    // Display any warnings that may occur
    processor.showWarnings(true);
    processor.setErrorStream(System.err);
    // Process XSL
    DocumentFragment result = processor.processXSL(xsl, xml);
    Thank you.
    null

    Your problem here is that when you store an XML document in a CLOB and search it using intermedia, when you do a query like:
    SELECT xml_text
    FROM bookstore
    WHERE CONTAINS(xml_text,'John WITHIN authorsec')>0
    The output from the XML SQL Utility using getXMLDOM() looks like this:<ROWSET>
    <ROW>
    <XML_TEXT><![CDATA[
    <bookstuff>
    <authorsec>
    <name>Steve</name>
    </authorsec>
    etc.
    </bookstuff>
    ]]>
    </XML_TEXT>
    </ROW>
    </ROWSET>with the document as a single text value (it's actually just a text node, not a CDATA node) but the above illustrates conceptually that the whole XML document is one big text node.
    To transform this you'll need to parse that XML text into an XML document in memory by passing constructing a StringReader() on the text value and parsing that reader.
    null

  • Unable to create Table Bean advanced search criteria

    Hi,
    I want to create new search criteria for advanced search region. The reason being new search criteria i tried to add by personalization it didnt worked may be guessing construction mode is autocustomization mode. Somewhere i have seen if resultsbased it will work. Can someone confirm on this??
    I'm trying to create new bean for search criteria at the specified location under <oa:table akRegionCode="EAM_AD_ASSET_RESULTS_TABLE" but unable to do so:
    Here is the part of the page
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!-- dbdrv: exec java oracle/jrad/tools/xml/importer XMLImporter.class java &phase=dat+24 checkfile(120.15.12000000.2=120.18)(115.26=120.1):~PROD:~PATH:~FILE &fullpath_~PROD_~PATH_~FILE -username &un_apps -password &pw_apps -dbconnection &jdbc_db_addr -userId "1" -rootPackage /oracle/apps/~PROD -rootdir &fullpath_~PROD_mds_directory -->
    <page xmlns="http://xmlns.oracle.com/jrad" xmlns:ui="http://xmlns.oracle.com/uix/ui" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:user="http://xmlns.oracle.com/jrad/user" file-version="$Header: EAM_AD_ADVSEARCH_PAGE.xml 120.18.12010000.3 2009/02/11 09:21:55 smrsharm ship $" version="10.1.3_1147" xml:lang="en-US" xmlns:jrad="http://xmlns.oracle.com/jrad">
    <content>
    <oa:pageLayout id="EAM_AD_ADVSEARCH_PAGE" akRegionCode="EAM_AD_ADVSEARCH_PAGE" regionName="Asset Search" amDefName="oracle.apps.eam.asset.server.AdvSearchAM" controllerClass="oracle.apps.eam.asset.webui.AdvSearchPageCO" appMenu="EAM_MAIN_SS" amStateRequired="false" helpTarget="EAM_AD_ADVSEARCH_PAGE">
    <ui:corporateBranding>
    <oa:image id="corporateBranding" source="/OA_MEDIA/FNDSSCORP.gif" shortDesc="Oracle"/>
    </ui:corporateBranding>
    <ui:productBranding>
    <oa:image id="productBranding" source="/OA_MEDIA/EAMBRAND.gif" shortDesc="Asset Management"/>
    </ui:productBranding>
    <ui:contents>
    <oa:query id="EamAssetQueryRegion" mode="autoCustomizationCriteria" dispSimple="true" dispCustomized="true" dispAdvanced="true" defaultPanel="customized" controllerClass="oracle.apps.eam.asset.webui.AdvSearchSearchCO" simpleSearchPanelButtonLabel="Simple Search" viewConfPanelButtonLabel="Views" advSearchPanelButtonLabel="Advanced Search" customizePanelTitle="Views" saveSearchButtonText="Save Search">
    <oa:simpleSearchPanel>
    <oa:defaultSingleColumn id="AssetSimpleSearchRegion" headerDisabled="false" text="Simple Search">
    <ui:contents>
    <oa:messageTextInput readOnly="false" columns="25" prompt="Asset Number" rows="1" secret="false" maximumLength="30" shortDesc="Asset Serial Number" id="EamAssetNumber" promptTranslationExpansion="100%" user:akAttributeCode="EAM_ASSET_NUMBER" user:akAttributeApplicationId="426" required="no" selectiveSearchCriteria="true"/>
    <oa:messageLovInput externalListOfValues="/oracle/apps/eam/lov/webui/EAM_ASSET_CATEGORY_LOV" readOnly="false" columns="25" prompt="Category" rows="1" secret="false" id="EamAssetCategory" promptTranslationExpansion="100%" user:akAttributeCode="EAM_ASSET_CATEGORY" user:akAttributeApplicationId="426" selectiveSearchCriteria="true" shortDesc="Category">
    <lovMappings>
    <lovMap criteriaFrom="EamAssetCategory" lovItem="EamAssetCategory" id="lovMap1"/>
    <lovMap resultTo="EamAssetCategory" lovItem="EamAssetCategory" id="lovMap2"/>
    <lovMap id="lovMap39" lovItem="EamAssetCategoryId" resultTo="EamAssetCategoryId"/>
    </lovMappings>
    </oa:messageLovInput>
    <oa:messageChoice readOnly="false" prompt="Asset Route" pickListViewDef="oracle.apps.eam.asset.server.PicklistYesNoVO" pickListDispAttr="Meaning" pickListValAttr="LookupCode" id="EamNetworkAsset" promptTranslationExpansion="100%" user:akAttributeCode="EAM_NETWORK_ASSET" user:akAttributeApplicationId="426" shortDesc="Asset Route" allowBlankValue="false" defaultValue="N"/>
    <oa:formValue id="EamAssetCategoryId" dataType="NUMBER"/>
    </ui:contents>
    </oa:defaultSingleColumn>
    </oa:simpleSearchPanel>
    <oa:simpleSearchMappings>
    <oa:queryCriteriaMap id="AssetNumberMapSS" criteriaItem="EamAssetNumber" resultsItem="AssetNumber1"/>
    <oa:queryCriteriaMap id="AssetCategoryMapSS" criteriaItem="EamAssetCategory" resultsItem="AssetCategory1"/>
    <oa:queryCriteriaMap id="AssetRouteMapSS" criteriaItem="EamNetworkAsset" resultsItem="AssetRoute"/>
    <oa:queryCriteriaMap id="AssetCategoryIdMapSS" criteriaItem="EamAssetCategoryId" resultsItem="AssetCategoryId"/>
    </oa:simpleSearchMappings>
    <ui:contents>
    <oa:tableLayout akRegionCode="EAM_AD_ADVSEARCH_RESULTS" regionName="Results" controllerClass="oracle.apps.eam.asset.webui.AssetResultsCO" addChildren="true" id="EamResultsNr" user:akAttributeCode="EAM_RESULTS_NR" user:akAttributeApplicationId="426">
    <ui:contents>
    <oa:tableLayout id="ResultsTableLayout2" width="100%" rendered="true">
    <ui:contents>
    <oa:rowLayout id="RowLayoutRegion2">
    <ui:contents>
    <oa:cellFormat id="CellFormatRegion2">
    <ui:contents>
    <oa:switcher id="MappedTableRegion">
    <ui:case name="ShowTable" id="ShowTable">
    <oa:table akRegionCode="EAM_AD_ASSET_RESULTS_TABLE" regionName="Asset Search" blockSize="25" standalone="true" height="1" id="MappedTable" user:akAttributeCode="EAM_RESULTS_NR" user:akAttributeApplicationId="426" width="100%" rendered="true" userCustomizable="true" shortDesc="Mapped Table">
    <ui:contents>
    <oa:messageStyledText id="AssetNumber1" viewName="AdvSearchVO" viewAttr="InstanceNumber" shortDesc="Serial Number" prompt="Asset Number"/>
    <oa:messageStyledText id="AssetDescription1" viewName="AdvSearchVO" viewAttr="DescriptiveText" shortDesc="Asset Description" prompt="Asset Description"/>
    <oa:messageStyledText id="AssetCategory1" viewName="AdvSearchVO" viewAttr="AssetCategory" shortDesc="Asset Category" prompt="Asset Category"/>
    I tried several ways :
    OAPageLayoutBean pageLayout = oapagecontext.getPageLayoutBean();
    OAQueryBean query=(OAQueryBean)pageLayout.findChildRecursive("EamAssetQueryRegion");
    OATableBean oawebbeantb = (OATableBean)query.findChildRecursive("EAM_AD_ASSET_RESULTS_TABLE");
    OAMessageLovInputBean ccidbean = (OAMessageLovInputBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext, OAWebBeanConstants.LOV_TEXT, null, "xxValidation");
    if (oawebbeantb==null){                    
    throw new OAException("Error this is a test!", OAException.ERROR);
    oawebbeantb.addIndexedChild(ccidbean); --here it getting null
    OR
    OATableBean oawebbeantb = (OATableBean)oawebbean.findIndexedChildRecursive("EAM_AD_ASSET_RESULTS_TABLE");
    OAMessageLovInputBean ccidbean = (OAMessageLovInputBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext, OAWebBeanConstants.LOV_TEXT, null, "xxValidation");
    oawebbeantb.addIndexedChild(ccidbean); --here it getting null
    Please someone help me on this..
    thanks,
    mallik

    1) Search panel textinput item should be search allowed true and prompt is need. no other property need to set.
    HERE YOU DONT WANT TO SET VIEW INSTANCE AND ATTRIBUTE SINCE WE ARE DOING FOR EXTENDED VO ITEM AS SEARCH ITEM.THAT'S OK. I TRIED WITH YOUR COMMENTS FOR TEXTINPUT ITEM TOO.
    Comment--
    textinput item created is a simple item without any VO instance , etc.
    There is no question of extended VO item, its a simple textinput item.
    value in this field is going to compare with the values in result table.
    2) Search mapping, only search item id and result item id need to set.
    I'M DOING HERE MAPPING FOR ABOVE SEARCH ITEM ID AND RESULT ITEM ID
    Comment-- Perfect !!
    3) Item created in table , after you extended Vo, view instance and attribute needs to set.
    WHERE DO YOU WANT THIS TO BE SET?? CAN YOU ELABORATE THIS MORE PLEASE.MAY BE I'M MISSING HERE SOMETHING.
    Comment-- you must have created message styled text item in adv table bean, assign VO instance and attribute to it, right?
    4) One more thing Parag, do i need to include where clause for extended VO item in view object??
    for ex:
    where attribute(this is extended vo item)=:4
    Comment-- No need. this will be handled by point#2 above, i.e. criteria and result items.
    --Parag Narkhede                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Software Updates, multiple SAME search criteria ?

    Hi
    Does anyone know if you can have multiple SAME Software Update Search search criteria? 
    For example if I add the same search criteria twice I will get the OR and not
    AND criteria that I want. How would I go about doing that?

    Same question as the original poster. What I'm trying to do is setup a search to work like this:
    Bulletin ID contains "MS"
    AND Expired No
    AND Title does not contain "Itanium"
    AND Title does not contain "IA64"
    Using the default "OR" ends up showing both of the criteria that I am trying to filter out
    Can you just add multiple lines of text with some sort of delimiter on the filter line?  I've tried ,  and ; but neither work

  • When can oracle support full text search for Simplified Chinese?

    When I create index using the create index clause,the following errors appears
    "ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: interMedia Text error:
    DRG-11440: operation not supported for the SIMPLIFIED CHINESE language"
    Maybe I have to use like to query words...
    Did somebody encounter the same problem and have a good solutions?I am expecting your help!
    null

    Hi,
    Full-text search capabilities is not currently not supported and Unfortunately, we do not have a timeline as to when it will be available.
    You can post a feedback on the below link.
    http://feedback.azure.com/forums/217321-sql-database
    Regards,
    Mekh.

  • Has anyone else noticed that iBooks search does not find all information that should be located for a specific search criteria?

    I am converting a novel to ePub format.  I am currently in the process of adding "end notes" to the book.  Each will have a flag embedded at the proper spot in the various chapters that is coded as "[See End Note xx]" where xx is a one or two digit number.  Each of the flags has those words surrounded by the HTML that links the flag to the proper end note at the back of the book.
    To verify that I have indeed inserted correctly each end note, I copy the book's epub file from my desktop PC to the iPad.  I then do a search in iBooks to locate each occurance of "[See End Note" or just "End Note".  I should see each of these flags listed.  Last night it would list all of them except "[See End Note 28]"!   If I did a search for "28", it would appear.
    I then copied just the flag itself ("[See End Note 28]") without the associated linkage HTML to the back of the document, and placed the copy just in front of the paragraph that contains it. Neither of the two flags were found.
    I then duplicated just the flags for end notes 27 and 29 which the search function had located.  I placed the copies surrounding the copied flag for 29.  The result was as follows in the text of the book:
    [See End Note 27]
    [See End Note 28]
    [See End Note 29]
    Although 27 and 29 were still being shown in their normal places, none of the above three inserted (test) flags was displayed by the search!
    It seemed that the iBooks search goes through part of the book, but cannot take the whole book in one piece.  It then continues, but leaves a gap that is not scanned per the search criteria.  To test that theory, I removed the entire text of several chapters that did not contain any end notes.  I then loaded this modified copy of the book into the iPad.  When I ran a search using "End Note", all of the flags (including the special test flags) were displayed.  The list included the "missing" "[See End Note 28]" that cannot be found if the all of the chapters have their text!
    I shall be calling Apple in a few minutes to again attempt to get the apparent "bug" (aka design or coding flaw) removed such that it does not
    impact the ability of the iPad to be a useful tool.

    Not all movie studio signed up to the agreement with Apple to allow redownloading of movies, only those that did will have their movies available in the purchased section of iTunes.

  • Full-text search containstable AND logical operator performance problem

    I have the following clause in my SQL statement:
    CONTAINSTABLE(subject_ifts, SearchText, '"smith*" AND "n*"', LANGUAGE 1033)
    It takes approximately 60 seconds to return 840 rows from a total of 4 millions rows in the searched table. If the search condition is changed to '"smith*"' it returns 840 rows in less than 1 second (ie. all rows containing the text "smith"
    also contain the text "n"). It seems that the search for "n*" takes a long time to return rows as almost all 4 million rows contain this text. (Note: The search criteria is passed as a parameter into a stored procedure at runtime based
    on the search criteria input by the user in the UI).
    Is there any way to make SQL Server perform its search for the text "n*" just on the resultset of the 840 rows returns from the "smith*" search?  Theoretically this should return rows a lot quicker basing the search on 840 rows
    rather than 4 million. However, I cannot seem to implement this effectively. I have tried using CTEs and JOIN to no avail. Any help greatly appreciated.
    Graham Goodwin Email: [email protected]

    Hello,
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    Thank you for your understanding and support.
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click
    here.
    Fanny Liu
    TechNet Community Support

  • Using intermedia text

    Hello,
    I'm working on a website at the moment which is cgi based and has an Oracle 8i backend.
    On this website users can upload word documents etc into an knowledge base. These documents are physically held on the file system
    What I want to do is to upload the documents to an Oracle table and then use intermedia text to search on these documents. I would like to avail of intermedia Themes & Gists and the "ranking" system it uses. In other words I would like the search to return something similar to the search results you find in Oracle Portal.
    Any information on how to incorporate oracle intermedia into an existing cgi based website would be much appreciated.
    thank you.
    aidan

    Hi,
    For documentation see here on technet: products -> Oracle Text.
    You don't have to load the documents into the database when they are already in the filesystem.
    You can create a table with an entry for each filename.
    Here is a sample script for FILE_DATASTORE with INSO FILTER (for filtering word and other documents).
    =========================================================
    -- Sample INSO Filter and FileDatastore
    drop table datastores;
    create table datastores(id number primary key, docs varchar2(2000));
    insert into datastores values(1,'whitepaper.pdf');
    commit;
    -- Create Preferences
    exec CTX_DDL.drop_preference('MY_LEXER');
    exec CTX_DDL.create_preference('MY_LEXER','BASIC_LEXER');
    exec CTX_DDL.set_attribute('MY_LEXER','BASE_LETTER','YES');
    exec CTX_DDL.set_attribute('MY_LEXER','MIXED_CASE', 'NO');
    exec CTX_DDL.set_attribute('MY_LEXER','INDEX_THEMES','NO');
    exec CTX_DDL.set_attribute('MY_LEXER','INDEX_TEXT', 'YES');
    exec ctx_ddl.drop_section_group ('MY_SECTION');
    exec ctx_ddl.create_section_group ('MY_SECTION','NULL_SECTION_GROUP');
    exec ctx_ddl.drop_preference('COMMON_DIR');
    exec ctx_ddl.create_preference('COMMON_DIR','FILE_DATASTORE');
    exec ctx_ddl.set_attribute('COMMON_DIR','PATH','/tmp/pdf');
    exec Ctx_Ddl.Drop_Preference ('inso_filter_pref');
    exec Ctx_Ddl.Create_Preference ('INSO_FILTER_PREF', 'INSO_FILTER');
    -- Create Text Index
    -- drop index datastores_text;
    exec ctx_output.start_log('index.log');
    create index datastores_text on datastores (docs)
    indextype is ctxsys.context
    parameters ('datastore COMMON_DIR
    filter INSO_FILTER_PREF
    lexer MY_LEXER
    section group MY_SECTION
    memory 50M');
    exec ctx_output.end_log;
    select count(*) from dr$datastores_text$i;
    select token_text from dr$datastores_text$i;

Maybe you are looking for

  • How to mark a line in between the colums of the section

    i have 3 columns in the section in pivot table i want like 1st column 2nd column 3rd column is this is possible in pivot table...... colud any body please help me in this

  • Online fraud, can somebody help me?

    I have doing something stupid on webcam and he/she asking money from me  what should i do now? Here is the conversataion not sure what to do right now [2014-05-05, 11:08:38 PM] jenny ming: haha you **bleep** [2014-05-05, 11:08:56 PM] jenny ming: did

  • Supported iViews in Web Page Composer

    Dear SDNites, We are planning to Web Page Composer at one of the client implementations. I wanted to know, is there any definite list of iviews supported with Web Page Composer. I tried to drop URL iView and WebDynpro iview but could not get them wor

  • Downloading OSX Mountain Lion

    The more often I call Apple in Japan, the more confusion I get: 1. When I told them, my Mac Pro is not connected to the Internet, I was told, when I use my MBP (which is connected to the Internet) to download OSX M L, I can choose the location where

  • Cannot add package named WFSQLiteTests

    I've been experiencing this problem since LR5 was released and worked with Support to try to identify the cause  —but the debug tool adobe gave me didn't show what was happening during startup. This time, I disabled all of my plugins, exited and rest