Search cards based on crawlerID

I am using PRC search trying to get document counts grouped by crawler.
ISearchFactory ptSearch = ptRSession.GetSearchFactory();
IPortalSearchRequest ptSearchReq = ptSearch.CreatePortalSearchRequest();
IFilterClause ptFilter = ptSearch.CreateAndFilterClause();
ptFilter.AddStatement(PortalField.ForID(PT_PROPIDS.PT_PROPID_CARD_CRAWLERID), Operator.Equals, _crawlerID);
ptSearchReq.SetQuery(ptFilter);
ISearchResponse ptSearchRes = ptSearchReq.Execute();
returnptSearchRes.GetTotalCount().ToString();
The following exception is being thrown: Nonexistent property ID in search filter: 524288
Any ideas?
Thanks,
Doug.

There's an easy way to search intrinsic properties by applying a simple IDK patch. You can read how on my blog.
For Java IDK users:
http://dev2dev.bea.com/blog/bucchere/archive/2006/08/searching_intri.html
For .NET IDK users:
http://dev2dev.bea.com/blog/bucchere/archive/2006/09/searching_intri_1.html
HTH,
Chris Bucchere | bdg | [email protected] | http://www.bdg-online.com

Similar Messages

  • Search Cards based on Crawler ID

    I am using PRC search trying to get document counts grouped by crawler.
    ISearchFactory ptSearch = ptRSession.GetSearchFactory();
    IPortalSearchRequest ptSearchReq = ptSearch.CreatePortalSearchRequest();
    IFilterClause ptFilter = ptSearch.CreateAndFilterClause();
    ptFilter.AddStatement(PortalField.ForID(PT_PROPIDS.PT_PROPID_CARD_CRAWLERID), Operator.Equals, _crawlerID);
    ptSearchReq.SetQuery(ptFilter);
    ISearchResponse ptSearchRes = ptSearchReq.Execute();
    returnptSearchRes.GetTotalCount().ToString();
    The following exception is being thrown: Nonexistent property ID in search filter: 524288
    Any ideas?
    Thanks,
    Doug.

    There's an easy way to search intrinsic properties by applying a simple IDK patch. You can read how on my blog.
    For Java IDK users:
    http://dev2dev.bea.com/blog/bucchere/archive/2006/08/searching_intri.html
    For .NET IDK users:
    http://dev2dev.bea.com/blog/bucchere/archive/2006/09/searching_intri_1.html
    HTH,
    Chris Bucchere | bdg | [email protected] | http://www.bdg-online.com

  • Batch search strategy based on goods receipt date

    Hello,
    Can some one help me with setting up Batch search strategy based on goods receipt date currently is on batch number.
    Thanks a lot
    Thanks!
    Best Regards
    Srw

    Hi
    If you want to set up Batch search strategy based on goods receipt date......then you have to create GR Date as one charecteristics in T.Code: CT04 and assign this charecter in Class with respect to class type  023
    Then assign this class in Material Master Classification view..
    Make sure in Material master, Purchasing view...you have activated Batch management active check box....
    Then when ever you do GR in MIGO, In batch tab, In classification field maintain the GR Date..
    Then Create sort sequence in  T.Code: CU70 and you can maintain in what basis ie)in assending or desending GR Date you have to search the batch..
    And then Create Batch Search Statergy in MBC1 and there you assign the sort sequence in Details...
    Now  you do your regular procedings.....the material Batch will be searched based on GR Date...
    Reward if useful
    Regards
    S.Baskaran

  • No credit card, based uk

    no credit card, based UK, i've followed the usual instructions as posted but the last bit asks me for a usa address/phone no/zip code so I can't complete the create ID bit..what to do..??

    Set your apple pages to UK via the small flag in the bottom left hand corner.
    This is Apple's guidance ... Though you last few words suggest you may already have tried this route.  
    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    They probably expect you to enter your UK address and UK Post code (equal to US Zip code)

  • Searching BPs based on Mail address.

    Hi all,
    I want to search BPs based on the Email address.Kindly suggest me how to solve the issue.
    Regards,
    V.Sekhar.

    Hi Bruno,
    I am also facing the same problem. when in FM BAPI_BUPA_SEARCH, i pass email add. it does not get the bp but, if i pass value other than email(e.g. fax no., telephone, etc.) it shows the BP.
    Also i want to know that i only have email ID and not other info than that. So how should i search for BP. Is there any FM for this?
    Please Help.
    Full Reward Points for helpful answers also.
    Regards,
    Vinayak

  • Highlight an address on a web page and make new card based on the address?

    Is there a way to highlight an address in another application, and then create a new card based on that address, where city, state, phone number, etc would all be parsed into the separate fields automagically?

    As per the title really - anyone know of a method of including an email address on a web page without it being picked up by spam bots?
    Impossible.
    Usually if i want to avoid that, I just do a little form with a honey trap, but I'm working on a page that needs contact details for around 100 places, so doing 100 odd forms for a single page might be a little impractical....
    Run it inside a script that parses an XML file based on the link's ID - one script, many links, no directly visible mail addresses (though, of course bots can still parse the XML file itself, if not in a hidden directory or something liek that).
    Mylenium

  • How to create card based applications

    Hi there,
    Can anyone point me to resources in building card-based applications ?
    If you are technically strong and keen to participate, or just to discuss further, pls email me at [email protected]
    Thanks

    I suggest JCOP Tools:
    http://www-306.ibm.com/software/wireless/wecos/tools.html
    http://download.boulder.ibm.com/ibmdl/pub/software/dw/jcop/tools.zip
    [email protected]

  • Rearrange rectangular cards based on some logic

    Hi,
    I am looking to implementing the following.
    I have a page which has a scroll viewer and this scroll viewer holds a list of cards [ Rectangular grids of some height].
    It is very obvious that these cards appear in the scroll viewer based on the order they are in XAML.
    But in the on navigated to event, I want to change the order of these cards based on some logic and then shown the cards accordingly during run time.
    Could you please help me on how this can be achieved.

    Hi Naveen,
    >>I have a page which has a scroll viewer and this scroll viewer holds a list of cards [ Rectangular grids of some height].
    Could you please tell us how did you show the card list? Any code snippets will be helpful to understand your implementation.
    If the data was loading from a collection, you can consider using
    LINQ OrderBy to reorder it.
    For example, to get a random collection, we can do like this:
    var result = collection1.OrderBy(elem => Guid.NewGuid());
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Creating a search form based on a table.

    Hello,
    I'm currently trying to create a search form which performs a searchquery in values stored in a table in my database.
    The table is filled peoples names,lastnames ,telephonenumbers and departments.
    I can use the sample application to make a form based on the tableview but this returns a search textfield for every column in the table. I just want 1 searchfield/textfield to search on ALL columns at the same time and display the other fields as labels when returning the queryresults.
    I tried searching the forums for an explanation on how to build said form and I checked Metalink but I have yet to find one. Anyone out there willing to help me out?
    thanks in advance,
    Melvin K.

    Why not use an instr with your data in a bind variable in your where clause for the select?? Page 1 sets an item called P2_Parameter with your value string slightly modified ('12345','345632','645534534','3434344')
    Select a,b,c,d,e from some_table where INSTR(TO_CHAR(Lookup_column,'099999999'),:P2_Parameter)
    Maybe that will work? Its off the top of my head, but should get you what you want.. (But to agree with one of the other posters, it is a BAD Design..) I would try like an interactive report to allow them to enter in acct #'s or whatever these are and let them access the rows that way..
    Thank you,
    Tony Miller
    Webster, TX

  • Creating select option with the search help based on other select option

    Hi,
    I have displayed a selection screen with two select options S1 and S2.
    My requirement is that the values in the search help of S2 should get filled based on the values selected in S1.
    Note: User has option to select multiple values in S1.
    Does anybody know how to implement this?
    Thanks,
    Feroz

    >
    Sanjeeva wrote:
    > Hi,
    >
    > With standard f4 you cannot acheive this. You need to write customise with OVS or Simple value selector by reading S1 selected values.
    >
    > Thanks,
    > Sanjeev
    I'm getting fairly tired of seeing this completely incorrect information on this forum.  As stated before and already found out by this poster, you can map input and output values between multiple data dictionary search helps. You do NOT have to resort to using OVS for this option.

  • After creating a searchable database I am unable to search documents based off of the bates number.

    I just finished creating a searchable database in Adobe Acrobat Pro and it finds documents based off of search terms fine. It does not however locate documents based off of the Bates number that I am using as a search term. Why won't it let me do this?

    Hi Dodu.NET,
    Please refer the Kb Doc : http://helpx.adobe.com/creative-suite/kb/error-exit-6-exit-7.html.
    Please see Troubleshoot with install logs | CS5, CS5.5, CS6 - http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html for information on how to review your installation logs
    In addition you cna try these steps :
    > Enable the hidden Admin Account on Windows 7 ( Ref :  http://www.howtogeek.com/howto/windows-vista/enable-the-hidden-administrator-account-on-wi ndows-vista/ )
    > Disable all Non-Microsoft Startup Services. (Ref : http://helpx.adobe.com/x-productkb/global/disable-startup-items-services-windows.html )
    > Disable all the Antivirus softwares like CA, Norton,Mc Afee etc. temporarily from the computer.
    Reboot and try installing in the new enabled Admin user account and check.

  • Using filter in PAPI-WS to search instances based on project variables

    Hi All
    I wanted to search the BPM instances from my external application. Used PAP-WS to do that.
    To be precise, I was using the filterbean, and have set the process scope, status scope, and the variable on which I want to filter.
    However, I noticed that if the variable specified in the filter is a 'project' variable instead of the 'instance' variable for the process, then BPM does not
    search the instances and throws an exception.
    The code works fine if the variable in filterbean is an instance variable in the process.
    Is it possible to search for the processes based on the values of project variables?
    Below is the code snippet and the exception details.
    Code snipppet:
    PapiWebService port = initializePapiWS(participantId); //private method, dont bother about this
    ProcessIdSetBean b = new ProcessIdSetBean();
    List<String> processids = b.getProcessIds();
    processids.add("/MYPROCESS");
    FilterBean fb = new FilterBean();
    SearchScopeBean ssb = new SearchScopeBean();
    ssb.setParticipantScope(ParticipantScope.ALL);
    ssb.setStatusScope(StatusScope.ALL);
    fb.setSearchScope(ssb);
    List<FilterAttributeBean> fabList = fb.getAttributes();
    FilterAttributeBean fab =new FilterAttributeBean();
    fab.setVariableId("messageNo");
    fab.setComparison(Comparison.IS);
    fab.setValue("123");
    fab.setIsParametric(false);
    fabList.add(fab);
    InstanceInfoBeanList iabl = null;
    try{
    iabl = port.processesGetInstancesByFilter(b, fb);
    catch (OperationException_Exception ex)
    Exception:
    An exception occurred while executing a transaction. Details:
    An error occurred while accesing the database.
    Detail:SQL statement: 'unknown'
    Caused by: Syntax error: Encountered "null" at line 1, column 575.
    fuego.transaction.DatabaseException: An error occurred while accesing the database.
    Detail:SQL statement: 'unknown'
         at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.getInstancesByFilter(JdbcProcessInstancePersMgr.java:527)
         at fuego.server.persistence.Persistence.getInstancesByFilter(Persistence.java:329)
         at fuego.server.ProcessInstanceManager.getInstancesByFilter(ProcessInstanceManager.java:132)
         at fuego.server.AbstractProcessBean$34.execute(AbstractProcessBean.java:1666)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.DefaultEngineExecution.executeWithoutComponentImmediate(DefaultEngineExecution.java:199)
         at fuego.server.execution.EngineExecution.executeWithoutComponentImmediate(EngineExecution.java:95)
         at fuego.server.AbstractProcessBean.getInstancesByFilter(AbstractProcessBean.java:1660)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
         at fuego.lang.JavaObject.invoke(JavaObject.java:227)
         at fuego.component.Message.process(Message.java:585)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
         at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:408)

    Hi Mikael,
    Thank you for your input. Sorry for my delayed response, I was not alerted that anyone had replied. Anyway, the code you show above, as far as I know, will sort the results by a formula, but not limit results to that formula. For now we've temporarily settled
    on this approach of sorting by distance as this still gives value to the end user. We can also write some JavaScript to display the distance for each item using the longitude and latitude values for each item.
    In my mind that query above needs something similar to "between dates" (i.e. Range) syntax whereas we would need "within a geolocation distance".
    I admit that my knowledge of refiners is not great so I might just need to spend some time with them to understand this all better but at the moment I still don't see how you limit the result set. You could limit the results in JavaScript after the search
    has run (i.e. hide items that aren't within the given distance) but this would break the interaction with the other refiners on the page, especially if they are displaying counts (that are based on the original query). Unless there is an event
    we can hook into and filter the search results as a last step before they (and the refiners) are rendered on the page?
    Thanks for your input,
    James.

  • Offline search engine based on Oracle Text and XML SDK?

    Hi,
    I am pretty new to Oracle Text, so I am not shure if the
    question is correct.
    We have an intranet, with lots of MS Word, PDF and HTML files.
    The site is starting to get out of hand, there is to many
    information distributed all over it.
    We would need a search engine for these files. The front would
    be HTML or XML based on XSQL. The backend, that is the search
    engine would look like this: I would store the HTML, PDF and
    Word files inf the file system and regularly reload them into
    Oracle into BFILE columns. I could user Oracle Text to index the
    content and use XDK to make the searching part for it.
    Is the Oracle Text feasable?
    Every hint would be highly appreciated.
    Tamas Szecsy

    We would need a search engine for these files. The front would
    be HTML or XML based on XSQL. The backend, that is the search
    engine would look like this: I would store the HTML, PDF and
    Word files inf the file system and regularly reload them into
    Oracle into BFILE columns. I could user Oracle Text to index the
    content and use XDK to make the searching part for it.
    Is the Oracle Text feasable?You can store HTML, PDF and Word documents in the file system or
    in a database column and make it searchable using Oracle Text.
    You can write a JSP or PSP that executes the SQL statement and
    then displays the result. Take a look at the Indagine sample
    code (Java - it's a little bit old: version 8.1.5) or the "Text
    search with PL/SQL Server Pages" notes. All available from
    otn.oracle.com/products/text -> sample code.

  • Search So based on PR

    Hello frnds ,
    Can anyone please tell me where the relation between a sales order and a purchase requisition is maintained .
    I have to pass the item level text of a sales order to the Purchase order item level which are created from the Purchase requisition by a PR fast conversion tool.
    I want to search the sales order based on which that purchase requisition is created.
    Thanks in advance
    Regards,
    khushboo

    Hi Khushboo,
    I think you should post this thread in the ERP forum.
    Kind regards,
    Yann

  • Search resources based on created date

    Hi,
    I am unable to search the resources based on creation date.
    I used the code as follows.
    sqb = new SearchQueryListBuilder();
    Timestamp ts3 = new Timestamp(d3.getTime());
    String searchCreDt = "default:created(value>"ts3.toString()")";
    sqb.setSelectedCustomProps(searchCreDt);
    qel = sqb.buildSearchQueryList();
    // where d3 is the Date object.
    I am able to get the using sqb.setSelectedStartDate(d1); and sqb.setSelectedEndDate(d2);     
    I am able to get the string type as follows,
    String searchAnd = "default:modifiedby(value=" + modByTxt + ")," + "default:createdby(value=" + creByTxt + ")";
    sqb.setSelectedCustomProps(searchAnd);
    I need the sample code for getting the resources between from and to dates.
    Regards
    Chede

    Please provide me some input.
    Regards
    Chede

Maybe you are looking for

  • Table is not in the same position form 1 page to next

    Hi, Following my earlier posts regarding my website and the lack of text. I thought if I created a new index page with text and and enter site button this would go some way to sorting out the problem. The problem now is that the indes page table is n

  • Nokia Lumia 800, Depleted battery Won't start up.

    Hi,  After being away for home for 5 days with no charger for my Nokia lumia 800, I foolishly allowed it to run out of battery, Unaware of the problems this can cause due faulty hardware, thanks to Nokia I returned home and plugged the phone into cha

  • Java Concurrent Program .class file location

    Hi frnds, I need to know the .class file location of a java concurrent prog. I know the filename from concurrent program executables and my concurrent program filepath is oracle.apps.xxogl.f04.cp.file. But I dont know where the exact location of the

  • Regarding the Illuminated key function

    Im not entirely sure, why but when i attempt to illuminate the keys they wont. Im wondering does this have to do with the battery? its at about 25% battery health and it doesnt allow me to illuminate the keys, and when i plugged the power adapter in,

  • SP01, list of output requests

    Hi, from trx ME9F an user tried to print a purchasing document (purchase order) System didn't print any output. From SP01 I checked and I clicked on one of the spool requests that reports an error but there is not the cause of the error, I can see th