Relevance ranking, how?

Hi,
I am newbi in Oracle Text and I need help.
Is there any one who can tell me how to use the Relevance Ranking in Oracle Text?
best regards
Nasser

You can use the static module in the rel rank or if you wish to stratify to boost certain records to appear at the top of your search results then you can use this approach with your current rel rank search interface. This is an example using the wine demo with cross field matching enabled on the search interface All
In order for the query * portion to respect you current rel rank you will need to construct a Ntx query like so and not use Ns.
&Ntx=mode+matchallpartial+rel+stratify(collection()/record[P_WineID="89955"],collection()/record[P_WineID="73036"],*),All

Similar Messages

  • Relevance Ranking Documenation

    Anyone know where I can find information detailing how TREX assigns relevance to documents?

    Hi Eric
    Even though there is no detailed information on how TREX assigns relevance to documents, you could take a look at this thread: TREX Algorithms For Relevance Ranking of Results
    I believe that could enlighten you a bit.
    Kind regards,
    Martin

  • Regarding relevancy ranking

    This is regarding relevancy ranking. During migration from 2.1.1 to 11 the relevancy of products are different though the configuration is same.
    So I am trying to find which ranking module is affecting this. While testing this, I am seeing strange behavior.
    One v11.0, I see that NUMFIELDS module is giving two different relrank scores for a record in two different but similar queries.
    In one query, I am allowing relrank modules to be chosen as it is configured in recsearch_config.xml and in other query I am specifying Nrr parameter, with same relrank modules.
    Here are the log lines from Dgraph log
    Query without Nrr
        Nty=1&Ntx=mode+matchall&Ntk=primary&Nx=whyrank&N=0&Ntt=book%20tape
    Query with Nrr
    Nrr=nterms,maxfield,numfields&Nrk=primary&Nrt=book%20tape&N=0&Ntk=primary&Ntt=book%20tape&Nty=1&Ntx=mode+matchall&Nx=whyrank
    Result for the Query without Nrr
    DGraph.WhyRank:
    [ { "nterms" : { "evaluationTime" : "0.001220703125", "stratumRank" : "100", "stratumDesc" : "Matched 2 of 2 terms" }}, { "maxfield" : { "evaluationTime" : "0.001220703125", "stratumRank" : "26", "stratumDesc" : "field match", "rankedField" : "p_name_pr" }}, { "numfields" : { "evaluationTime" : "0.001220703125", "stratumRank" : "1", "stratumDesc" : "Matched 1 of 54 fields", "fieldsMatched" : ["p_highsm_stmt"] }} ]
    DGraph.WhyDidItMatch:
    p_highsm_stmt: Was Gaylord® Bookcraft® 6 mil Paper Write-On Book Tape
    Result for the Query with Nrr
    DGraph.WhyRank:
    [ { "nterms" : { "evaluationTime" : "0.001708984375", "stratumRank" : "100", "stratumDesc" : "Matched 2 of 2 terms" }}, { "maxfield" : { "evaluationTime" : "0.001708984375", "stratumRank" : "26", "stratumDesc" : "field match", "rankedField" : "p_name_pr" }}, { "numfields" : { "evaluationTime" : "0.00244140625", "stratumRank" : "4", "stratumDesc" : "Matched 4 of 54 fields", "fieldsMatched" : ["Category", "p_highsm_stmt", "p_mfg_sku_pr", "p_name_pr"] }} ]
    DGraph.WhyDidItMatch:
    p_highsm_stmt: Was Gaylord® Bookcraft® 6 mil Paper Write-On Book Tape
    You can see that it says 4 fields matched in one results and 1 field matched in another results.
    Cross field is enabled for the search interface.
    Does anybody know what's happening here. I would like to get the results as they come in "With Nrr" query for "Without Nrr" case too.

    Hello!
       We replaced --stat-brel with the following URL parameters to enable "whyrank" properties on the results (you can see them in a JSP reference app automatically when enabled):
       Why Rank is enabled per-query by using the existing Dx parameter (Dx=whyrank), or the new Nx parameter (Nx=whyrank) in the URL.
       Results are returned in a new Dgraph.WhyRank property.
       They provide a little bit more info than the old --stat-brel flag.

  • Configuring relevance ranking evaluator 2.1.2 to MDEX engine 6.4.0

    Hi CAN some body explain me why is this occuring when i am trying to configure relevance ranking evaluator to my current endeca work bench
    Unable to query the MDEX Engine.
    Specified MDEX Engine is:
    Host: localhost
    Port 15000
    MDEX Engine query failed: make sure that an MDEX Engine is listening on the configured host and port. Verify that you're using the appropriate API version for your Endeca installation. The jar files in WEB-INF/lib should match those of the MDEX Engine version.
    If you would like to connect to a different MDEX Engine, click the "Change MDEX Engine" button above.

    Hi Praveen,
    Follow below steps to configure:
    1. Copy rel rank evaluator in
    <Endeca>/PlatformServices/6.1.3/tools/server/webapps (You can keep it any where on disk but provide correct path in relrankEvaluator.xml)
    2. Update path in relrankEvaluator.xml accordingly.
    3. Copy relrankEvaluator.xml to
    <Endeca>/PlatformServices/workspace/conf/Standalone/localhost (you can copy this to <Endeca>/ToolsAndFrameworks/3.1.2/server/workspace/conf/Standalone/localhost mostly preferred approach)
    4. Copy updated endeca libs from jspref application to relrankEvaluator lib dir
    5. Restart platform services (or EndecaToolsService if you have copied/configured relrankEvaluator.xml with TF)
    6. Try to access the URL,
    http://<host name>:8888/relrankEvaluator/index.jsp (or http://<host name>:8006/relrankEvaluator/index.jsp if configured with TF)
    If issue still persist click on change MDEX engine, enter <host name>, <port> and click ok on config box. This should work
    HTH
    -Pravin

  • IFCORE-1565: The Dgraph could fail when using a relevance ranking strategy.

    Hi,
    I just saw the release notes for Endeca 6.2.2 and read this bug:
    IFCORE-1565: The Dgraph could fail when using a relevance ranking strategy.
    Is there someone who could provide some more information on this bug? What is it and when does it occur? Reading the word 'could' would suggest a kind of unpredictability?
    Thanks,
    Maarten

    The known trigger for the bug was doing relrank on a query that contained multiple text searches.

  • Relevance Ranking Module

    Is the Relevance Ranking Evaluator Module in Workbench available for Oracle Tools Framework 3.1?

    Hi. Yes, it's available as a Workbench Extension and is still a separate package (for now). The previous version works with 3.1, so it's still:
    Oracle Endeca Relrank evaluator 2.1.2 for Generic Platform

  • Not very relevant, but how do I replace my old router with a new one?

    Recently I got a new router and I don't really know how to install it. When I first moved into my house, the guys from COX (my local internet service provider) had to come in, plug in the modem and router, go outside to the electrical box, flick some switches in there, and finally got my router working.
    I'm afraid that if I unplug the wires connected to my old router and plug it into my new router, I might reset everything and the COX guys have to come again and all that.
    So how do I replace the router without causing chaos?

    By reading the user manual that came w/your router, contacting the manufacturer and/or visit their customer support/troubleshooting website. 

  • "you must first sign in to iTunes Connect and sign the relevant contracts": how?

    I'm trying to get my iBook (made in iBooks Author) up on the iTunes store and am stuck.
    I now have an iTunes Connect account into which I can sign in.  When I try to use iTunes producer, and enter my login info (which works on the browser), it tells me
    "There is a problem with your login information. To use this application, you must first sign in to iTunes Connect and sign the relevant contracts."
    I'm not sure what a "relevant contract" would be.  I look at "Contracts, Tax, and Banking" at iTunes Connect, and there is one entry with Contract Type "Book". However, I can't request it (that is grayed out), and the "Legal Entity" pull down does not show me (as found in the "Manage Users"), but only shows "select".
    I therefore can't seem to find a way to do anything to allow me to login with my book via Producer to get it "produced."
    Does anyone know what is going on? 
    The FAQ is a blank page, the "Contact us with questions" asks you to pull down a topic and has no topics there! Very clumsy path to publishing (comparing to CreateSpace, for example). After the ease of iBooks Author it's like hitting a brick wall at 100 mph.

    OK, I saw the link for the help video at the bottom - it helped.  I have to add a new entity.  I was fooled thinking I would already be there and that the entry was me, but it is apparently a general placeholder into which numerous entities can go.  For me this was not obvious at all, and I only figured that out by watching the video (which was not easy to spot!).
    I'll go through the process now and hopefully no more confusions.

  • I have extra tracks of the same song,plus extra albums showing of the same album in their relevant lists how can i remove the extra ones safely?.

    Please advise, i have somehow downloaded some extra tracks  of the same songs, plus their relavant albums showing in songs/albums lists on my ipod nano 7th gen,how can i remove the unwanted extra songs/albums  safely. Please note i am a newcomer to using a ipod nano/uploading,downloading music.

    Hi Myketyke,
    Welcome to the Support Communities!
    Since you are syncing your iPod nano to your computer, the best option is to remove the duplicates from the iTunes library on your computer.  Then resync your device.  The article below will show you how:
    How to find and remove duplicate items in your iTunes library
    http://support.apple.com/kb/ht2905
    Cheers,
    - Judy

  • OT but relevant - Just how many images do you have?

    These are my own opinions and I'm just interested in other peoples thoughts......
    I frequently see posts on this and other forums where people are stating that they have tens of thounds of images. I think the highest I saw recently was over 40,000. (My basic assumption is that these are not Pros)
    Its got me wondering about whether the Digital Camera age has also resulted in a culture of Quantity versus Quality that we see in so many other aspects of life.
    I've been interested in Digital Photography for 10 years and I'm still not over the 5000 mark. Maybe this is because I grew up on film and couldn't afford to waste materials and time. Over 95% of what I shoot I consider worth keeping and processing.
    I'm not saying there's anything wrong with having as many images as people want but consider the amount of overhead these bring. Megabytes of disk storage, hours spent Reviewing, Organising and Processing. Back to my perhaps contentious statement - how many of these are worth keeping or taking in the first place?
    As they say on Exam Papers - Discuss? :-)
    Colin

    I read a statement from Ansel Adams that went something like, "Twelve significant photos in a year is plenty." I suppose if you are striving for masterpieces that would be true. But personally, I like the economy of digital photography.
    Last summer a bunch of us from my family took a trip to Alaska. Between all of us we had five digital cameras. And they were all used extensively on the trip. At one point we had an opportunity to take a flight over Mount McKinley. All the batteries were dead except for those in one camera, and we only had one card available because we hadn't taken the time to download images for a while. Luckily, the one camera captured some beautiful shots from the flight. They weren't all perfect, and probably none of them would be considered masterpieces. But at least we have a memory of the trip. When we got home and consolidated all of our pictures we 10 CDs full of images. From all of those images we chose about 60 to create a small album to be printed by mypublisher.com. But we have all gone back to those disks to get other pictures for other purposes. We have been glad that we had them.
    What boggles my mind is when I read comments that someone has several external hard drives containing their digital images. After I have gone through a bunch of pictures and chosen the best ones and discarded the bad ones, and then have printed the few that I want prints of, I find that I seldom go back and look at them again. So I am archiving on DVD and then deleting them from my hard drives. I know, there is a controversy over the longevity of such a practice. But I plan on routinely making new copies of each DVD and an effort to preserve the images. So far, I have not had any problems.
    I have been doing a lot of experimental photography lately. I have been playing around with HDR (High Dynamic Range) which requires several images that are the same except taken at different exposures. And that can fill up a card in a hurry. With experimental photography I think one has to evaluate which, if any, of these images will ever be used again, and then have the discipline to erase all the ones that will never again be needed or looked at. There are very few images that any of us have that are worth agonizing about if they are lost. A picture is just that, a picture. If you have some that you absolutely cannot do without, come up with a storage system that works for you. But keeping every photograph taken is really a waste of disk space, in my opinion.

  • How to mark a table as transport relevant

    Hi Guru's,
    I just have seen that our CO-PA characteristic derivation table is open for maintenance in Productive system. But this is customizing and should be transport relevant.
    Can you please explain how to mark this as transport relevant and how to close this maintenance in productive system?
    Thanks

    I know about the documentation i mean about the method
    itself.
    is putting @deprecated at the documentation will
    generate a warrning message if u did not use
    -deprecation as a parameter while compilingThat is how to do it! You will only get a warning if you make use of a deprecated method. Why would you want to deprecate a method, and then carry on using it in your own code? You need to change the usages to whatever you have implemented to replace the missing required functionality.

  • Maxfield relevance algorithm ranking dimensions higher than properties

    We are using MaxField as one of the relevance algorithm in our search interfaces and observed that dimensions with low rank is matched first than compared to property of higher rank.
    Records that match with dimensions are ranked in the results though their "relevance_rank" is lower than property. But the endeca documentation explains that records will be ranked based on "relevance rank" and doesnt treat dimension and property with differnce.
    Here's the example
    +<SEARCH_INTERFACE CROSS_FIELD_BOUNDARY="ALWAYS" CROSS_FIELD_RELEVANCE_RANK="0" DEFAULT_RELRANK_STRATEGY="All" NAME="All">+
    +     <MEMBER_NAME RELEVANCE_RANK="77">D_Type</MEMBER_NAME>+
    +     ....+
    +     ...+
    +     <MEMBER_NAME RELEVANCE_RANK="50">P_Type</MEMBER_NAME>+
    +     .....+
    +     .....+
    +     <MEMBER_NAME RELEVANCE_RANK="64">D_Category</MEMBER_NAME>+
    +     ......+
    +     ......+
    +     <MEMBER_NAME RELEVANCE_RANK="1">P_Name</MEMBER_NAME>+
    +</SEARCH_INTERFACE >+
    The records that match for D_category are given higher rank, though it matches for the property "P_Name".
    Need some validattion here, if our understanding is correct.
    -M

    Muthu,
    Still records matching D_Category where retrieved first compared to P_Name. Currenlty have modified this search interface to include only "MaxFiled". Are you setting the Relevancy Rank module via a URL query
    EXAMPLE
    controller.jsp??N=0&Ntk=P_Desc&Ntt=sonoma&Nrk=All&Nrt=pear&Nrr=field&Nrm=matchall
    Or via a relrank_strategies.xml. If the later have a look at your ./{APP_DIR}/data/forge_output/ directory and verify if the {app_prefix}.recsearch_config.xml contains the order you expected. If ./{APP_DIR}/data/forge_output/ does -not- include your changes, you may be using the Forge Configuration Manager (FCM), the hyEnd integration with hybris, or another customization that updates ./{APP_DIR}/data/processing and is overriding your changes.
    In the example of the hyEnd integration, if the changes -can- be found in ./{APP_DIR}/data/complete_index_config you can copy your changes after ConfigurationGeneratorForge has run but before Forge runs
    EXAMPLE
    <script id="BaselineUpdate">
    <bean-shell-script>
    <![CDATA[
              // Generate instance configuration
             ConfigurationGeneratorForge.archiveLogDir();
             ConfigurationGeneratorForge.run();
              cp("/app/dir/apps/MuthuTest/data/complete_index_config/recsearch_config.xml.xml","/app/dir/apps/MuthuTest/data/processing/MuthuTest.recsearch_config.xml");
             // archive logs and run ITL
             Forge.archiveLogDir();
             Forge.run();
             Dgidx.archiveLogDir();
             Dgidx.run();
             ]]>
    </bean-shell-script>
    </script>
    Thanks,
    -=Dalyn Bell
    Oracle Software Support

  • Rel Rank Not Working with Boost & Bury Catridge

    Hi everybody,
    I am facing problem on record boost and bury,
    The individual records that are selected for boost or bury. It is my understanding that, while we can boost or bury certain target records,
    the unselected records would still be ranked according to the Rel Rank strategy, unless a sort property was engaged (Price, Width, etc.).
    The cartridge does have drop-downs for Sorts and Relevance Ranking, both of which I switch to default,but the ranking of the unselected records still seems incorrect.
    I have set Relevance Ranking using EQL,
    String relStrategy = "static(P_ImageValid,descending),nterms,maxfield,glom,static(P_VendorInventory,descending),static(P_Popularity,descending)";
    ERecRank relRank = new ERecRank("Site_Search", relStrategy, "matchall");
    query.setNavRelRankERecRank(relRank);
    I am using PBX-0.6.
    Can any one help me out, how can i get result in Relevance Ranking order.
    Any help is appreciated.
    Thanks,
    Sunil

    Sunil
    You need to use the stratify as part of the rel rank strategy. Here is an example using the pbx example wine app with crossfield match turned on in the search interface 'All' . This is just the parameters but it shows you how to construct the rel rank with bury and boost.
    In order for the query * portion to respect you current rel rank strategy as defined in the 'All' search interface you will need to construct a Ntx query like so and not use Ns.
    &Ntx=mode+matchallpartial+rel+stratify(collection()/record[P_WineID="89955"],collection()/record[P_WineID="73036"],*),All
    Hope this helps
    Terry

  • My microsoft office programs (Home and Business 2013) all desplay error message at startup stating " non-commercial use, not licenced product". How do I fix this?

    Hi,
    Whenever I start any of my microsoft programs I get an error message stating "non-commercial use, not licenced product" and I cannot do anything in the programs. I havve the Home and Business 2013 version.
    My husband bought the office programs for his and my computer and so they are both registered to his name however my email is the login, I dont know if this is relevant.
    How do I fix this?

    Hi,
    Based on your description, several possibilities come to my mind.
    1. You mentioned your husband bought the Office Suite for you, did he purchase one product key or two? We need to confirm if the product key can be installed on multiple machines, if a product key can be only installed once and he installed it
    on his computer first, you should purchase a new product key to activate your Office.
    Since the policy differs in different areas, to confirm how many machines the product key can be installed on, let your husband ask the retailer or contact the local customer service to get the answer:
    http://support2.microsoft.com/gp/customer-service-phone-numbers/en-us
    2. Please confirm your Office version. Based on the message "non-commercial use", I found this kb:
    http://support.microsoft.com/kb/937676/
    But it's for Office Home and Student instead of Office Home and Business, we can perform the steps below to find the Microsoft Software License Terms:
    1. Start and Office program.
    2. On the File (Backstage) tab, click Account.
    3. Click About (Product name: Word, Excel etc..), in the window that opens, click
    View the Microsift Software License Terms link.
    3. If your Office is a trial version or the product key is not for the version that you are using, consider to uninstall it first, and install the appropriate version. You can probably get the installation media from your husband.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to club the downpayment and periodic billing scenario in Sales Order

    Hi experts,
    Could you please let me know how to club the downpayment and periodic billing scenario in Sales Order.
    Requirement is :  If you have 10 lacs total amount and out of that 50% should be the downpayment and rest of the amount should be distributed among three equated  instalments for 2 months each (periodic billing). This should work with one line item in sales order. Pls provide relevant inputs how to work out this scenario.
    Your help would be appreciable.
    regards....Diwakaran

    Hi Yang,
    Workflow is the best approach for any issue related to business objects.
    Since you want call FM BAPI_SALESORDER_CHANGE, it will change SO. It means everytime any SO is changed there will an event being triggered.
    object type: BUS2032
    event: Changed
    simple solution:
    1. Please create object type (SWO1) and its super type should be BUS2032.
    2. Add your own method and attach your custom FM which actually updates the qty & PR)
    3. Create Task (PFTC_INS)
    in basic data:
    - provide object type which you have created
    - provide method which you have added
    goto triggering events tab
    - Choose Object Category as BOR object type
    - provide object type (better give BUS2032)
    - provide event as CHANGED
    Please have look into very nice video blog which helps you to create your workflow.
    blog: [Creating your first SAP Business Workflow]
    Regards,
    Sukhbold Altanbat.

Maybe you are looking for