Programmatically crawling single object(s)

Hello -
My apologies if this has been covered elsewhere, but I appear to have lost my portal.plumtree.com access...
Let's say you have a crawler. Works great, etc. You attach it to a job and blammo - content in portal. Magic. Wonderful. (profile services and crawler services ROCK, btw - the more I use them the more I realize how cool they are)
Let's say that crawl is fairly intensive, so you configure it to run every 3-4 hours to avoid beating the hell out of the system. BUT - within that window users are updating that external content store. Changes will not be reflected until the job runs/completes.
What's the best approach for executing that crawl for on a case-by-case basis? So - scenario is.
* We have an external store
* Crawl runs to bulk load content from external store into KD
* User submits new content to external store
* I want to programmaticaly fire that crawl, ideally targeting it to just that new content item that's been modified (I guess I re-run the whole operation, but... icky)
You can see where I'm going with this - we want to submit content through a portlet and then fire the crawl - consume the item and surface it in the KD - with minimal latency.
I know I could just have my "submitting" app ask the portal to append an operation to a dedicated on-demand job (or create a job on the fly, etc.), attach the crawl to it and then fire that job, but is that the best way to handle the situation? Is there a suggested way to scope the crawl to a given object or do you just let it run through the whole "what's been updated?" property check?
Again - my apologies if I'm asking a topic that's been addressed elsewhere. Not having my portal.plumtree.com access atm leaves me needing to ask more than I usually would :P
Thanks in advance,
Eric

In this particular case the problem occurs if you shrink the window too much. What can happen is that the button gets moved onto the graph. When you then enlarge the window, the button remains on top of the graph. In the VI I uploaded the graph was the only thing that was being resized. In that particular setup resizing did not create any crazy conditions.
In your original example you seem to only want to resize the graph. Are you trying to find a solution that applies to all objects on the front panel, or to a single object? If it's a single object then it appears to me that the example I provided should be adequate. If it's all objects, then you have a lot more to consider because you have to consider the size of the objects relative the positions. Technically, a resize of the panel should resize objects, and not move them. Your original VI seems to also move the graph. However, you can run into problems if the growth is too large. For instance, what do you do if you make the button so large that it would cover the LED? Also, which way is the LED grown? Diagonally towards the left and bottom, or radially?

Similar Messages

  • Multiple Materials on a single object

    I'm sure I'm missing something...but I'm finding it impossible to use multiple materials form the 3D toolkit on a single object unless I separate the material differences to separate objects....which I'm sure is crazy. But if I import an object with multiple materials, there seems to be no way to assign the toolkit materials separately. If I drag a toolkit material to one part of the object...the entire object turns into that material. It would seem it would be right if you dragged a toolkit material to the materials list of the object....but that won't work either. Anyone know what I am missing here?
    Thanks in advance for any help

    Right click on the object and select Tools -> Separate Meshes which will divide the object into it's component parts (i.e. parts that aren't part of the same polygonal mesh will be divided)
    From there, you can apply materials to them individually.
    To rejoin them (you don't have to) just select them all, then right click and select Tools -> Collapse Hierarchy.

  • How to tell if ObjectProxy contains ArrayCollection or single object?

    When I get data back from a web service, the list contains an
    ArrayCollection. Within each ArrayCollection, the item may be
    either a single object, or an ArrayCollection of theser objects. It
    appears FLEX supplies what it thinks is the correct type of
    ObjectProxy object based on the number of children under the parent
    node.
    If the ObjectProxy refers to an ArrayCollection, I want to
    iterate over it, but if it refres to a single object, I want to
    pull off some of it's properties.
    How can I tell at run time if an ObjectProxy refers to an
    ArrayCollection, or a single object? Thanks very much in
    advance!

    Found an answer here:
    http://www.theruntime.com/blogs/be-sharp/archive/2008/02/26/web-services-and-arraycollecti ons-in-adobe-flex-2-how-to-successfully-read-any-number-of-xml-nodes.aspx
    which provides an answer if there are NO child nodes, if
    there is exactly one child node, or if there are multiple child
    nodes...

  • More than one entity found for a single-object find method

    Hi everyone...
    I have this error when my webservice is running..I don't know what it means and what would be the best solution..
    <pns:message>More than one entity found for a single-object find method.</pns:message>
    it throws an Exception..
    Thanks!

    = More than one row found in a DB with the "unique" key supplied...
    Your method is returning an object where it should return a collection ?
    Enjoy

  • Testing Process for Gathering Single Object stats.

    Hello Oracle Experts,
    I work a critical system and due to some high stakes all and every change is very heavily scrutinized here whatever the level is. And one of such changes which is currently under scrutiny is gathering object stats for single objects. Just to give you a background its an Oracle eBusiness site so fnd_stats is used instead of usual dbms_stats and we've an inhouse job that depending on the staleness of the objects gather stats on them using FND_STATS. (RDBMS : 10.2.0.4 Apps Release 12i).
    Now, we've seen that occasionally it leaves some of the objects that should ideally be gathered so they need to be gathered individually and our senior technical management wants a process around it - for gathering this single object stats (I know!). I think I need to explicitly mention here that this need to gather stale object stats has emerged becs one of the plans has gone pretty poor (from 2 ms to 90 mins) and sql tuning task states that stats are stale and in our PROD copy env (where the issue exists) gathering stats reverts to original good plan! So we are not gathering just because they are stale but instead because that staleness is actually causing a realtime problem!
    Anyway, my point is that it has been gathered multiple times in the past on that object and also it might get gathered anytime by that automatic job (run nightly). There arguments are:
    i. There may be several hundred sql plans depending on that object and we never know how many, and to what, those plan change and it can change for worse causing unexpected issues in the service!
    ii. There may be related objects whose objects have gone stale as well (for example sales and inventory tables both see related amount of changes on column stock_level) and if we gather stats only on one of them and since those 2 cud be highly related (in queries etc.) that may mess up the join cardinality etc. messing up the plans etc.
    Now, you see they know Oracle as well !
    My Oracle (and optimizer knowledge) clearly suggests me that these arguments are baseless BUT want to keep an open mind. So my questions are :
    i. Do the risks highlighted above stand any ground or what probably do you think is there of happening any of the above?
    ii. Any other point that I can make to convince the management.
    iii. Or if those guys are right, Do you guys use or recommend any testing strategy/process that you can suggest to us pls?
    Another interesting point is that, they are not even very clear at this stage how they are gonna 'test' this whole thing as the 'cost' option like RAT (Real Application Testing) is out of question and developing an inhouse testing tool still need analyzing in terms of efforts, worth and reliability.
    In the end, Can I request top experts from the 'Oak Table' network to make a comment so that I can take their backings!? Well I am hoping here they'll back me up but that may not necessarily the case and I obviously want an honest expert assessment of the situation and not merely my backing.
    Thanks so much in advance!

    >
    I work a critical system and due to some high stakes all and every change is very heavily scrutinized here whatever the level is.
    Another interesting point is that, they are not even very clear at this stage how they are gonna 'test' this whole thing as the 'cost' option like RAT (Real Application Testing) is out of question and developing an inhouse testing tool still need analyzing in terms of efforts, worth and reliability.Unfortunately your management's opinion of their system as expressed in the first paragraph is not consistent with the opinion expressed in the second paragraph.
    Getting a stable strategy for statistics is not easy, requires careful analysis, and takes a lot of effort for complex systems.
    >
    In the end, Can I request top experts from the 'Oak Table' network to make a comment so that I can take their backings!? Well I am hoping here they'll back me up but that may not necessarily the case and I obviously want an honest expert assessment of the situation and not merely my backing.
    The ideal with stats collection is to do something simple to start with, and then build on the complex bits that are needed - something along the lines suggested by Dan Morgan works: a table driven approach to deal with the special cases which are usually: the extreme indexes, the flag columns, the time-based/sequential columns, the occasional histogram, and new partitions. Unfortunately you can't get from where you are to where you need to be without some risk (after all, you don't know which bits of your current strategy are causing problems).
    You may have to progress by letting mistakes happen - in other words, when some very bad plans show up, work out WHY they were bad (missing histogram, excess histogram, out of date high values) to work out the minimum necessary fix. Put a defensive measure in place (add it to the table of special cases) and run with it.
    As a direction to aim at - I avoid histograms unless really necessary, I like introducing function-based indexes where possible, and I'm perfectly happy to write small programs to fix columns stats (low/high/distinct) or index stats (clustering_factor/blevel/distinct_keys) and create static histograms.
    Remember that Oracle saves old statistics when you create new ones, so any new stats that cause problems can be reversed out very promptly.
    Regards
    Jonathan Lewis

  • How to decide if Object is an array or single object

    Hi ,
    I have a function which can return an Array of objects or a single Object...how can I decided what function has returned to me.?...
    I am looking for some way by which I can decided if it is an Array or a Object....
    Thanks

    How about:
    yourObject.getClass().isArray();  // returns boolean

  • Import/Export Single Object

    Hi Folks,
    i tested imort/export for SWCV it is working fine...but when i m trying it for single object like namespace etc...
    I face the problem while exporting/importing a namespace in IR.
    1) I exported a namespace using menu Tools->Export design Objects
    2) Selected the software Component and Mode as using file system in the wizard
    3) Selected my namespace which i want to export
    got the message exported successfully.
    Export Path: D:\usr\sap\PL2\SYS\global\xi\repository_server\export
    File: XI3_0_TEST_2.0_of_xxx.com-nsps.tpz
    <b>I tried to import the same namespcae back into same IR.</b>
    and followed these step.
    1) Copied the .tpz file into import folder.
    2) then using the menu tool->import design Objects i selected my .tpz file
    3) Got the following msg.
    Import source XI3_0_TEST_2.0_of_xxx.com-nsps.tpz imported successfully. All imported design objects integrated successfully 3 import object(s) imported successfully 
    Import file moved to importedFiles\XI3_0_TEST_2.0_of_xxx.com-nsps_2007-02-13_02-41.tpz
    <b>But i was not able to see the imported namespace.</b>
    Also followed this document
    http://help.sap.com/saphelp_nw04/helpdata/en/a8/5e56006c17e748a68bb3843ed5aab8/content.htm
    Can u guide me plz.
    Sachin

    <b>Sreeram</b>
    I m not trying to move it form DEV to QA.
    I m exporting the namespace from DEV. say http://abc.com/xi/test of SWCV  Test of abc.com.
    and then i m trying to import it back to Same DEV box.
    I m getting the sucessfully imported message but not able to see the namespace.
    I tried deleting the namespace after exporting and then importing.
    But still i can't see it.
    However in cache notification and Tools->Find Transfer it is showing that it is sucessfully imported.
    I think it might be the issue with active version... can u help me out.
    <b>Chandra</b>
    i m not changing the name of anything. i got the above message as well, but not able to see the imported object.
    Sachin
    Message was edited by:
            Sachin Dhingra

  • What is the easiest way to move every single object in a PDF?

    I have 300 pdf documents containing a total of about 2000 pages of content... and I need to shift every single object in them a half inch to the right.
    Is there an easy or fast way to do this?  Im currently only able to select all objects on a single page, which makes this task... frustrating.

    You should be able to write a script to do the job. George Johnson posted a script for cropping pages based on landscape and portrait orientation recently that should suggest the approach. The commands can be found in the JavaScript manual from Adobe.

  • Can we create an index for a list of itmes in a single object?

    Can we create an index for multiple values in a single object. We have an object Order that contains list of items. I like to get all orders for a specific item. I want to create an index to speed up the query. Is it possible? What are the other alternatives?
    My Order object is as follows:
    Orders
    Item List
    Shipping Address
    Example:
    Order 1
    i1, i2, i3, i4
    123 some way, city, 12345
    Order 2
    i2, i3
    333 some other way, city2, 33333
    order 3
    i2, i4, i7
    My search would be, give me all orders that has item i2. It should return Order 1, Order 2 and Order 3.
    Thanks

    Hi,
    I think that this will work ...
    ValueExtractor extractor= new ReflectionExtractor("getItemList");
    cache.addIndex(extractor, true, null);
    Set setKeys = cache.keySet(new EqualsFilter(extractor, i2));
    In this case, the Collection value extracted by the ValueExtractor is treated as a Collection of contained attributes when the index is created.

  • Cache refresh of single object interferes with normal message processing

    Hi
    When we do an update of an object in Integration Directory and activate change list AND a message (from a different scenario) is processed through Integration Engine at the same time, the message fails with "No RFC authorization for user <USER>" + "Error while refreshing the XI runtime cache".
    I know that a full cache refresh could cause these issues (and is not recommended) as the cache is cleared and "fresh" objects are entered, but is this also the case when updating the cache with single objects? I have never seen this before...
    We are on PI 7.3
    regards Ole

    Found note 1337797 + http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/18180...just [original link is broken] [original link is broken] [original link is broken] [original link is broken] haven't noticed before.

  • When I select a single object in a layer and try to move it with the mouse, everything goes with...

    I've been having this problem where I can't use the move tool with the mouse properly. I'll go and select a single item on a layer and then try to move it with the mouse (move tool). I've done this before and still do it all the time on Photoshop on my other machines. However, on my laptop it won't work. I grab the single object I want to move and the second I move it, it defaults to moving every single layer in my file. The only way to get around it is to use the arrows, but that's becoming laborious and frustrating.
    Any ideas?

    I know what you mean! This happened to me as well!
    And one thing that I found useful is, if you want to directly select a layer without selecting from the layers pallete and without having autoselect enabled, just hold Ctrl and click on in directly in the image. This saved me a lot of time!

  • Combining separated text into single object ...

    I remember in older versions of Illustrator that when you used pathfinder to combine multiple objects into a single object ... it actually made them into a single object, regardless of weather or not they where intersecting.
    With the more recent versions of illustrator, when you try to "unite" objects in pathfinder ... the only ones that are truly combined into a single object are the ones that overlap ... anything separated will simply be "grouped" and remains a totally separate object ... even if you use "expand objects" on the group.
    I'm trying to use a third party program (path styler) and the problem I'm running into is that when I apply a stroke effect in path styler, it treats every letter in my headline as a separate object (even when united in pathfinder), causing the strokes to overlap the previous letter.
    What I want to do is combine all the letters into one single object (while still leaving space between each letter) so that path styler treats the text (and the outlines) properly. (So the outlines run into each other, instead of overlapping the fill.)
    Any help would be appreciated ... this should be simple ... but I think it may be a case of the program trying to preserve the history of "united" objects when I don't want it to.
    Thanks!

    Make your logo ONE entire compound path, you probably have each letter as an individual compound path.

  • WebI on SharePoint - single object

    Hi, we have scenario where there is one WebI report with 2 tables and 1 graph. Is there any possibility to show only one graph (single object) inside SharePoint site?
    I know there is IOMS, but it doesn't fulfill our needs, because it can view only report as a whole (2 tables and 1 graph).
    Versions:
    SAP BO 4.0
    MS SharePoint 2010
    Thank you.

    Right click on the object and select Tools -> Separate Meshes which will divide the object into it's component parts (i.e. parts that aren't part of the same polygonal mesh will be divided)
    From there, you can apply materials to them individually.
    To rejoin them (you don't have to) just select them all, then right click and select Tools -> Collapse Hierarchy.

  • Trx KKPHIE: assigning single objects to cost objects hierarchy through BDC

    Is there a way to assign single object to cost object hierarchy.
    The ALV TREE button "Assignmnet single objs on/off" does not seem to trigger an OKCODE since it is managed in the abap object (class).
    Is there is way to make a BDC. Or other ways to enter that data in BG, like a BAPI.
    - Tried the BDC recorder without success
    - Did not find a BAPI
    - Did not find anything interesting in SWO1 business object BUS2076.
    Any clue ?

    Ok, we found the solution. Simply use the old transaction "KKP2" instead of "KKPHIE"

  • When it's required to share a single object in different classes????

    Hi friends...
    I am new to java programming language....
    when it is required to share a single object in different classes???
    and
    please give me one example with explanation...
    Thank you
    regards Shree

    sun_shree wrote:
    Thanks for all giving reply.....
    please write the constructor which is accepting reference and please,,,,,, explain......
    Thanking youNo.
    This will be covered in any Java textbook or tutorial. Like this one: [http://java.sun.com/docs/books/tutorial/java/javaOO/arguments.html]
    After reading it and writing some code of your own to test your understanding, if you still have a specific question, post again.

Maybe you are looking for

  • Retro of offcycle payroll in Actual Payroll

    Hi Gurus, I have Executed offcycle payroll on 02.07.2009 for one employee and paid 1000. on 25.07.2009 i have executed regular payroll for that employee was fine. Now in august i have to pay regular salary as retro with effect from 01.07.2009. Now i

  • Problem in installing Solaris 10 under VMware

    I am installing Solaris 10 under VMware (VMware ESX 2.5.1) but after it skipped configuring the interface pcn0, nothing comes up on my window again.

  • How do I stop the Menu audio from restarting with each selection?

    I have modified an Encore (CS4) menu in Photoshop so that it has 10 animating video thumbnail buttons, a 1:30 music file, subpictures on the thumbnails to highlight what is selected, and I routed the buttons to go in the order I wanted.  When I initi

  • Dithering Algoithms - 1, 2, or 3?

    Can someone fill me in on the differences between the three dithering Algorithms? I had someone tell me to use # 3 & I have been, but I'm pretty curious why. thanks,

  • Can I do the login once again on the support of repair statuts?

    last week I gave my Iphone to apple care because one of the buttons wasn't working right, so they told that i'll receive a new phone within 20 days and that I could follow the process in this site https://selfsolve.apple.com/repairstatus/main.do but