Query based taxonomy from scratch gives NoSuchMethodError...

I'm trying to create a query based taxonomy following the instuctions specified in the help docs: KM Platform -> Admin Guide -> Content Mgmt -> Taxonomies and Classification -> Creating a QBT -> from scratch. I created an index on a newly created (hence empty) folder in the 'documents' repository. So, essentially, the data source points to that folder. Also, I selected 'TREX Classification' on the 'Service' drop-down while creating the index. I left the crwler profile as blank. Then I went on to create a new 'Query Based Taxonomy'. I was able to create it alright, but as soon as I click on it to add folder and the such, I get this error:
java.lang.NoSuchMethodError
     at com.sapportals.wcm.repository.manager.taxonomy.TaxonomyNamespaceManager.getDocumentTaxRMRids(TaxonomyNamespaceManager.java:1876)
     at com.sapportals.wcm.repository.manager.taxonomy.TaxonomyNamespaceManager.getTaxonomyClassResources(TaxonomyNamespaceManager.java:1831)
     at com.sapportals.wcm.repository.manager.taxonomy.TaxonomyNamespaceManager.addChildDocuments(TaxonomyNamespaceManager.java:1942)
     at com.sapportals.wcm.repository.manager.taxonomy.TaxonomyNamespaceManager.getChildren(TaxonomyNamespaceManager.java:368)
     at com.sapportals.wcm.repository.CollectionImpl.internalGetChildren(CollectionImpl.java:966)
     at com.sapportals.wcm.repository.CollectionImpl.getChildren(CollectionImpl.java:179)
Any help in solving this is highly apprecaited.
We run EP6 SP2.
I did NOT create a 'crawler profile' for this set up.
thanks,
Biju.

Hi Biju,
re. your NW'04 SP stack 4 migration intention:
NW'04 is still in ramp-up (SP stack 4 is the current shipment bundle of it) so at the current point in time, only participating ramp-up customers can use it.
A migration from EP6.0 SP2 to NW'04 will be possible (but not during the ramp-up phase).
From a Knowledge Management & Collaboration perspective, we will port most of the NW'04 SP stack 4 functions to EP6.0 SP2 as well. These functions will be shipped as EP6.0 SP2 Patch 5 (planned shipment date beginning of Q4 / 2004) so for mid-term, you can also plan to stay on EP6.0 SP2 if you have no other pressing reasons for going to NW'04 (e.g. enhanced Web AS functions).
This feature porting from NW -> EP6.0 SP2 is an 'only-once' action, however, and NetWeaver will be the release for new features in the future.
Regards,
Joerg

Similar Messages

  • Query Based Taxonomy - Dynamic Creation of a Query Problem

    Hi,
    I'm trying to create new category nodes in a taxonomy and to assing them queries. I know how to do this, but I encountered a strange behavior. Here is the situation:
    I have a string property DocumentType. When manualy creating a query, it looks like:
    DocumentType CONTAINS "Some string"
    But when I do the same using code I get:
    DocumentType IS "Some string"
    And as a result of this, the taxanomy is not working properly.
    Here is the code:
         indexService =
         (IIndexService) ResourceFactory
         .getInstance()
         .getServiceFactory()
         .getService(
         IServiceTypesConst.INDEX_SERVICE);
         //        This kind of classification index offers functionality working with query based taxonomies
         qbcIndex = (IQBClassificationIndex) indexService.getIndex(indexId);
         //        Get a query folder - a query folder is a representation of a query based taxonomies category
         queryFolder = qbcIndex.getQueryFolder(RID.getRID(folder));
         //        List of IQueryEntry objects for the query folder
         queryEntryList = queryFolder.getQuery(context);
         //        Cast the IQBClassificationIndex into a ISearchIndex object
         searchIndex = (ISearchIndex) qbcIndex;
         queryEntry = searchIndex.getNewQueryEntry();
         queryEntry.setRowType(IQueryEntry.ROW_TYPE_ATTRIBUTE);
         queryEntry.setPropertyName(propertyName);
         queryEntry.setPropertyOperator(IQueryEntry.PROPERTY_OPERATOR_EQUAL);
         queryEntry.setValue(propertyValue);
         queryEntry.setTermAction(IQueryEntry.TERM_ACTION_EXACT);
         queryEntryList.add(queryEntry);
         //        Set the query for the query folder
         queryFolder.setQuery(queryEntryList, context);
         qbcIndex.updateCategoryContents("Document_Types", false, context);
    Can somebody tell me what am I doing wrong please. Isn't it because of IQueryEntry.PROPERTY_OPERATOR_EQUAL? Is there any substring operator?
    Thanks a lot.

    Hi, Robert
      In this moment, I have a problem with Query Based Taxonomy, maybe could you help me. I insert the query in to the taxonomy from code, but when i use the method
      qbcIndex.updateCategoryContents("/taxonomies/borrame5/Prueba2", false, context);
      I got the next exception:
    #1.5#0014C210F3D1002A000001200000565B000431CC93AD5979#1180654627543#System.err#sap.com/irj#System.err#dummy01#10241#####SAPEngine_Application_Thread[impl:3]_17##0#0#Error##Plain###     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)#
    #1.5#0014C210F3D100310000012B0000565B000431CCC47166AB#1180655445698#System.err#sap.com/irj#System.err#dummy01#10241#####SAPEngine_Application_Thread[impl:3]_18##0#0#Error##Plain###com.sapportals.wcm.service.indexmanagement.IndexNotReadyException: Some documents are not included in this update because indexing has not been finished yet.#
    #1.5#0014C210F3D100310000012C0000565B000431CCC4717417#1180655445701#System.err#sap.com/irj#System.err#dummy01#10241#####SAPEngine_Application_Thread[impl:3]_18##0#0#Error##Plain###     at com.sapportals.wcm.service.indexmanagement.retrieval.trex.AbstractTrexIndex.updateCategoryContents(AbstractTrexIndex.java:2493)#
      I have doubt what parameters i need to pass to the method updateCategoryContents,
      Let me give some information:
    taxonomy:
       /taxonomies/borrame5/Prueba2
    repository:
       /documents/Portal_KOF/KM/Pruebas1/Pruebas Versionamiento
    classification and search index:
       borrame5
       I can't classify automatically, when i insert the query from code. When I manually insert the query from the portal, automatic classification run perfectly.
    Thanks
    Greetings
    JARO.

  • Error while creating Query based taxonomy.

    Hi,
    I have created an index and trying to build a query based taxonomy though
    Taxonomy Query Builder in content management. Earlier I have created
    another index but after that I have deleted it but still while trying to build a query based
    taxonomy it is giving an error that earlier index doesn't exist and not diaplaying the new
    index and taxonomy that I have created. Taxonomy Trainer is working fine.
    Please suggest to resolve this problem.
    Thanks,
    Deepika

    Hi,
    did u created the taxonomy in the new index are you imported.
    Generally once you delete an index and you try to create an index with the same name wil give error. This may be because of the cache problem.  Try to restart the server. Hope that may help you.
    Raghu

  • Documents in Query-based Taxonomy are not Autoindexing

    Hello experts!
    I am on EP6.14 with Trex 6.  I have a repository with a query-based taxonomy on it and is also part of a regular search index.  I have autoclassification on. 
    On each document I have a couple of properties that are used to match documents in queries in my taxonomy.  On the initial set-up and load, everything worked great.  Documents went right where they were supposed to.  But sometime after we released this to the business, the documents no longer automatically index.  If I change a document property or set up a new one, it finds the category but leaves them as "suggested."  You then have to go in and accept those suggestions to get the document to the right taxonomy.  In short, it acts as if autoclassification is off.  I have noticed that the Classification index does not submit a new document if I change a property but the search index does.  Not sure if that is applicable but I would think both should do that since it is a change.
    I did some research and found that synchronization issues or new folders could cause this problem but I have synchronized with no success.  Also, state management is not on for the repository.
    Is there any reason why autoclassification would stop on its own?  What can I do to get it back on?
    Thanks-
    J
    Many points given for helpful answers!

    Hi Frederick-
    Thanks for your response-
    We have a single CM DB repository.  There is a search only index at the root folder and classification index on a folder below the root.  Normally, we don't overlap but we wanted only the folders in the lower folder to be part of the taxonomy.  I suppose we could just rule out the other documents by not having them match any queries but this way it was guaranteed. 
    THe search and classifications are working (aren't throwing errors) but like I said, I would think that both would have to push the document through the queue.  But I'm only seeing the search index do that.   Now if I go and accept the recommended categories, then it goes into the queue for the Classification index.
    J

  • Query-based taxonomy doesn't work

    Hi,
    I created a query-based taxonomy in the index of a folder. Then in Content Management - Classification I set the Category and query of the taxonomy. However, documents that meet the query cannot be classified into that category - they are still in Documents to Classify. It's the same with example-based taxonomy.
    Am I missing something?
    Thanks,
    Ray

    Hi Ray,
       To work with this kind of taxonomy you must do:
    1. Create index using classification service.
    2. Create taxonomy based in query.
    3. If you click in this taxonomy you can create new folders where documents will be stored (as result of classification, logical links).
    4. In Content Management->Classification->Taxonomy Query Builder->choose the taxonomy created in step 2 and
    create a search query for a category in a query-based taxonomy.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/77/49523ec744d947e10000000a114084/frameset.htm
    Patricio.

  • Query Based Taxonomy and Searching Problem!

    Hi all,
    Ive an urgent problem to solve ....
    I create some customs properties with dependent values, for example, if I put Country: Germany, I ve three options, (Waldorf,Munchen,Berlin) and so on ...
    Then, I create a Query Based Taxonomy, where in some categories Ive a query, with the dependent value (Ex: Waldorf) ... I mean, If City = Waldorf, the document belongs to this category.
    So, when I do this, the taxonomy fails ... Only with the dependent value, I mean, if the category is with the base property (Ex, Country) it works.
    Plese, help!
    Cheers,
    Andres.

    Hi,
    To include a dependant property in a query, you have to enter both parent (Country = Germany) and the dependant (City = Munich) properties in the category.
    Hope this help
    Kind regards
    Vincent

  • Creating folder Structure for Query based taxonomy

    Hello friends,
            I am confused as to where do I create a folder hierarchy for taxonomy. Do I need to create a new repository for creating a folder structure. The help.sap.com mentions about using the Category Browser iview for creating the same. I am unable to find this iview in EP6 SP12. Can someone, please guide me as to where do I create a taxonomy folder structure hierarchy?
    Your help is appreciated.
    Thanks,
      G.G

    Hey G.G.,
    Yes, i'd love to.
    So, as stated above, directly below the "Taxonomies" folder you'll see the names of the existing taxonomies. There is no "new" option on this level, because a new taxonomy can only be created under "System Administration" -> "System Configuration" -> "Knowledge Management" -> "Index Administration". After you create a "TREX Search and Classification" or "TREX Classification" index, you can go to the index menu "Taxonomies" and say "New". This will automatically create a new folder under in the "Taxonomies" view.
    Now, if you go one level further, so second subfolder under "Taxonomies" you should have the "New" option. If not, then you'll have to check the permission settings. Please go to "Content Administration" -> "KM Content" -> "Taxonomies" and then on the Menu "Details" -> "Settings" -> "Permissions". You might need to adjust permissions as suggested by SAP in SAPNote (599425):
    Role:"ContentManager"=FULL CONTROL;
    Group:"Everyone"=READ.
    Please check that the already existing subfolders have inherited the permission changes.
    Hope this solves your problem,
    Robert

  • Example-Based Taxonomy

    Hi Experts,
    Could someone of you give the example document to configure example-based taxonomy.
    What exactly mean by example document. Does it has specific format...???
    Thanks,
    Satya

    Hi Satyadev,
    refer to these links:
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/bf/a17a1dd15211d6b2c700508b6b8a93/content.htm">What is an Example-based Taxonomy</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/6c/5145b1d1de11d6b2cc00508b6b8b11/content.htm">Creating a taxonomy</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/6c/5145d3d1de11d6b2cc00508b6b8b11/content.htm">Creating an example-based taxonomy</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/08/19d83d4d855610e10000000a114084/content.htm">Creating an example-based taxonomy from scratch</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/9d/19d83d4d855610e10000000a114084/content.htm">Creating an example-based taxonomy using a folder hierarchy</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/a7/833c3cf0344e4de10000000a11402f/content.htm">Taxonomy Trainer</a>
    Best regards,
    Denis

  • Cannot train an example based taxonomy in trex

    Hi friends,
       I have created an index in index administration.And attached a data source also.Then i create a new example based taxonomy and also i create folders for categories.Then in content management i go to taxonomy trainner.There is no choice of upload of document through which i can train the taxonomy.Is there a way through which i can upload the documents in the categories i have created.Also the training documents should be in what format(doc,ppt).Also if somebody have a document for Example based and query based taxonomy creation please send the link.
    I am having EP6 sp15 and trex 6.1.
    Thanks

    Hi
    In example or query  based taxonomy  you have to upload the doccuments in the KM repository  that is the data source  whic is a folder in KM repository framework right click and then use <b>upload</b> the docs into it and in taxonomy you only create categories and manually train the  taxonomy using query builder or trainer in Classification inbox .I will suggest you to go through the guides available in SERVICE market place service.sap.com and use HOW-To search term and then navigate to TREX to find the guides.Docs can be any format.
    You can use an existing hierarchy in your CM to train your new taxonomy.
    You can train a taxonomy automatically if you already have a folder hierarchy that you want to transport to a taxonomy.
    Create the taxonomy in index management. This determines that you are going to train the taxonomy using an existing folder hierarchy. The system carries out the following steps:
    It copies the specified folder and its entire subordinate folder hierarchy to a taxonomy structure. This creates a category for each folder.
    The system then carries out the initial training of the taxonomy.
    All documents in the folder hierarchy are also indexed. You can decide whether the folder that you are using to train the taxonomy is to be assigned to the index.
    You train the taxonomies initially by classifying documents from your folder hierarchy.
    This initial training is necessary so that the system can carry out automatic classification, or can make suggestions when manual classification takes place.
    For the initial training, you classify documents from the folders in your knowledge management system. You do this is the iView in which you navigate within the folder hierarchy.
    The necessary number of documents depends on the quality of the documents
    hope this helpe you please do not forget to give points
    with regards
    subrato kundu

  • Query Based Taxonomies

    Hello,
    I've created successfully a query based taxonomy. I also defined the queries to the folders within the taxonomy. Now my problem is, that a document only belongs to one folder. But in some cases, that's not nice, e.g. when you want to navigate through the hierarchy.
    Example:
    I've got a structure like Folder F1, under that a Folder F2.
    For folder F1 I defined a query: property P1 contains value V1.
    For folder F2 I defined a query: property P2 contains value V2.
    After updating the taxonomy it should now be possible, that documents which are classifications of folder F2 also classify to folder F1.
    How to do that?
    Help would be appreciated.
    Best regards,
    Denis

    Hello Karin,
    thank you for your answer. Does this mean, that a navigation through the taxonomy hierarchy is not possible (e.g. with a km navigation iView?). Taxonomies are stored in KM under /Taxonomies and I thought that a navigation with a km navigation iView is possible. But I think the real benefit of taxonomies is, that the deeper the hierarchy folder is, the more classified and smaller are the results. But when documents get only classified to more folders when the folders are on the same hierarchy level, how should a navigation be realized?
    Thanks in advance.
    Best regards,
    Denis

  • HT1338 How can I start a software update from scratch?  error states that it was corrupted during transfer but when it starts over later, it still give the same error

    Software updates tells me it needs to download and install a new version of itunes.  When this notice first appeared the download started but stopped after about 34 MB and said the download was corrupted.  Later (after many restarts), the notice appears again but the download starts where it left off and immediately gives me the message that it is corrupted.  How do I force the download to start over from scratch?

    Check the version you're being offered, and go to Apple Support Downloads.
    Read the info on the update and decide if you actually need it. (if your OS version is 10.6.4 as shown in your info, I doubt that you will need it at all).
    The latest update I can find for iTunes is here; http://support.apple.com/kb/DL1426

  • Update detail block based on FROM QUERY

    I have 2 blocks in master-detail relation. The master is based on a table, the detail on from query. The Insert works fine... but whenever i want to update any field from the detail block, the items (text, lists, whatever) don't allow any updating.
    Is there some workaround?
    Thank you for the help
    NR

    RTM on blocks based on from-query.
    If I recall well, it says that you shoud write the DML code in on-insert, on-update and on-delete triggers - and, anyway, if I do not remember well the manual, that's what I do.
    So, the on-insert trigger should have an insert into <my_dml_table>...
    The on-update trigger sould have an update <my_dml_table>... where ... And there's a thing: you may have the rowid of <my_dml_query> fetched - which would be the best - or use some primary key for that table for update (not so good performance).
    The on-delete trigger somewhat like the on-update trigger.
    Moreover, I believe it would be better to have procedures for on-insert, on-update and on-delete grouped in one package in the database - again, this is what I use to do.

  • Block based on from clause query

    Hi all...
    I am using forms 10g .....
    When I wanted block based on from clause query...
    I used this query ( SELECT * FROM exit INNER JOIN enter ON exit.ent_num = enter.ent_num where enter.depart=1)...
    When I run form .....
    frm-40505 oracle error unable to perform query
    Thank you
    Edited by: osa3_12 on Dec 10, 2009 4:33 AM

    hi
    try something like this.
      1* select empno,ename from emp where empno=empno order by 1
    SQL> /
         EMPNO ENAME
          7000 Sarah
          7369 SMITH
          7499 ALLEN
          7521 WARD
          7566 JONES
          7654 MARTIN
          7698 BLAKE
          7782 CLARK
          7788 SCOTT
          7839 KING
          7844 TURNER
         EMPNO ENAME
          7876 ADAMS
          7900 JAMES
          7902 FORD
          7934 MILLER
          8898 Sheela
    16 rows selected.
      1* select empno,ename from emp where empno=7000
    SQL> /
         EMPNO ENAME
          7000 Sarah
    SQL> sarah

  • Create shared library on external drive from scratch

    I have seen many posts about creating shared iTunes libraries on external drives with many different configurations, but mostly with pre-existing libraries. My question is creating the library from scratch. The purpose is obviously to share songs among several computers AND only have one copy of a song as to not take up unnecessary disk space on several computers.
    All of our songs are on an external USB hard-drive attached to Airport Xtreme. Every song is in album folder, and every album folder is in an artist folder (very organized). All the artist folders (with their album and then song contents) are in a root folder called "Songs" on the external hard-drive.
    We have upgraded our three Macs (iMac, MBP and MacMini) to Leopard and deleted all iTunes folders on each local hard drive (there was nothing in them anyway). We now want to create ONE iTunes folder on the hard drive so that each computer can access it. What are the steps? Here is what I "think" I've learned here on the postings with my questions:
    1) First I opened iTunes on my first, main computer (iMac) and went into "Preferences" to change the iTunes music folder to [Ext HD]:iTunes:iTunes Music. The option, "Copy to music folder..." is deselected. (This will also be done on the other computers).
    2) Now what to do? I could just move all of my song artist folders with their album subfolders and music files inside them, into the "iTunes Music" folder. But then what do I click to get iTunes to see all the songs and put them in its database? The other option is click "Add to Library" - but then don't I have to select all the individual songs? (I actually tried the latter method and it kept crashing). Can I just move all the folders into [Ext HD}:iTunes:iTunes Music folder and click something to get it to create its database based on all the music files that are now in its subfolders?
    3) Next step. I have seen many people write that they then create an "Alias" and put the Alias in their "Music" folder on their LOCAL, computer's hard drive. Could someone now explicitly, step-by-step, describe how this is done? I assume I go to the external hard drive. Am I creating an alias of the entire "iTunes" folder, or of the "iTunes Music" subfolder, or of the library file??? Please answer this specifically.
    So now I have "XXX alias" that I copy to my local, computer's hard drive and put it on my desktop. I take out the "....alias" word, and drag it to my local "Music" folder. It asks me to replace the existing folder/file, and I say yes. Correct? And then I do this on all three computers, correct?
    4) Finally, after I've done all of this, I still have the following functionality questions -
    4a) When we now add to the library, either from a CD or online purchase, ONE copy of the music should go in the "iTunes Music" folder on the external drive, correct?
    4b) This system means that all three computers MUST have the same iTunes library, playlists, etc, correct? The downside of this system is that you cannot personalize libraries for each computer and just share the actual music files, correct? (If so, is there another process [steps 1-4 above] that results in a more customizable system where *ONLY ONE COPY* of the actual song file is shared?)
    Sorry for the length of the message, and the questions. Truly I have read all the postings but was unable to map out my plan before I go and creating, finally, this one set of music that we can share. In advance, thank you all for your help.

    I was afraid you'd say that, because I'm a long time Mac guy and I don't have the perfect answer. Have you ever messed with remote desktop? That'd seem to give her full access and control, something I personally wouldn't do, although it may work for you.
    Another thought came to me that might work: copy over the complete library to her machine, and then when you do another major shoot, create a new catalog, edit, etc.and then import as catalog to you main one while sending her the new one.
    I am sure there are more elegant solutions, but these are a couple of ways.

  • SELECT QUERY  BASED ON SECONDARY INDEX

    Hi all,
    CAN ANYONE TELL ME HOW TO WRITE SELECT QUERY BASED ON SECONDARY INDEX.
    IN WHAT WAY DOES IT IMPROVE PERFORMANCE.
    i KNOW WHEN CREATING SECONDARY INDEX I NEED TO GIVE AN INDEX NO -iT SHOULD BE ANY NUMBER RIGHT?
    I HAVE TO LIST ALL PRIMARY KEYS FIRST AND THEN THE FIELD FOR WHICH I AM CREATING SECONDARY INDEX RIGHT?
    LETS SAY I HAVE 2 PRIMARY KEYS AND I WANT TO CREATE SEONDARY INDEX FOR 2 FIELDS THEN
    I NEED TO CREATE A SEPERTE SECONDARY INDEX FOR EACH ONE OF THOSE FIELDS OR ONE SHOULD BE ENOUGH
    pLS LET ME KNOW IF IAM WRONG

    HI,
    If you cannot use the primary index to determine the result set because, for example, none of the primary index fields occur in the WHERE or HAVINGclauses, the system searches through the entire table (full table scan). For this case, you can create secondary indexes, which can restrict the number of table entries searched to form the result set.
    You create secondary indexes using the ABAP Dictionary. There you can create its columns and define it as UNIQUE. However, you should not create secondary indexes to cover all possible combinations of fields.
    Only create one if you select data by fields that are not contained in another index, and the performance is very poor. Furthermore, you should only create secondary indexes for database tables from which you mainly read, since indexes have to be updated each time the database table is changed. <b>As a rule, secondary indexes should not contain more than four fields</b>, <b>and you should not have more than five indexes for a single database table</b>.
    <b>What to Keep in Mind for Secondary Indexes:</b>
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eb2d446011d189700000e8322d00/content.htm
    http://www.sap-img.com/abap/quick-note-on-design-of-secondary-database-indexes-and-logical-databases.htm
    Regards
    Sudheer

Maybe you are looking for

  • How to get values from dynamic component?

    Hi: I am displaying dynamic components based on user selection, where InputText and OutputText display properly. But now i want to read that component value on button click. Can any body help me in that? Source code is as follow, text.xhtml *<code>*

  • Approvers are not visible in an Replacement Vacancy

    hi Im trying to create a replacement vacancy for which the approvers are not not visible. The issue is not existing for new vacancies? Can anyone please help ?

  • My Facebook app has disappeared

    My Facebook app has disappeared. It still appears in the purchased section of the my app store with status OPEN but when I click on OPEN nothing happens. I have restarted my iPad, restored settings and still no help. I was also advised to cable link

  • Can't create a compilation with different performers on iTunes 11.1.1 anymore!!! Why???

    After I updated iTunes to 11.1.1 I coudn't create a compilation with different artistes anymore! Why??? I don't want the same album cover, like 100 times... Thx DJG5500

  • Notification quantity fields

    Hi, Please clarify me on the actual purposes of quantity fields in notification like Complaint quantity, Refernce quantity, Defect quantity internal, Defect quantity external and Return Delivery quantity. Please throw some light with actual use of th