FileNotFoundException with multiple keywords

With multiple keywords 'pi_keyword=account and manager', my program generates: java.io.FileNotFoundException.......sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:702). But the url works fine in IE address box. In addition, if only single keyword
'pi_keyword=account ', my program works no problem. Any solution? Thanks.
The following is my program:
URL url = new URL(str);
URLConnection connection = (URLConnection) url.openConnection();
connection.setDoOutput(true);
BufferedReader in = new BufferedReader(
new InputStreamReader(connection.getInputStream()));
The fullurl is:
http://jobs.workopolis.com/jobshome/db/work.process_job?pi_post_date=&pi_smart=N&pi_sort_col=&pi_employer=Dummy&pi_advertiser=Dummy&pi_category=Dummy&pi_industry=Dummy&pi_msg=LOCATION&pi_language=EN&pi_keyword=manager and account&pi_location=British Columbia

I think whitespace isn't allowed in the keyword values, what do you get if you replace space with '+'?
That is: "pi_keyword=account+and+manager" and "pi_location=British+Columbia"

Similar Messages

  • Search for photos with multiple keywords

    I'm trying to figure out if it's possible to search for photos that have multiple keywords.   When selecting multiple keywords in a Bridge search the default behavior is to find photos that have any of the keywords rather than all of the keyword.  In other words I want to do an AND keyboard rather than an OR search.

    You should be able to do so in the find menu of Bridge (Edit/Find or cmd+F)
    With the plus sign you can add an extra (and) keyword to it.
    A shortcut may be to first find one keyword and then use the filter panel
    keyword section and select the other wished keywords by putting a checkmark
    in front, only the selected files will show in the content window.
    In other words I want to do an AND keyboard rather than an OR search.

  • Can I filter clips with multiple keywords?

    Hi,
    I have ingested hundreds of video clips into Prelude CC and at some point I want to filter these using multiple keywords. Entering one keyword only is going fine but as soon as I enter a second keyword, and I reassured that there are clips containing both of them, I end up with zero results. If multiple keywords are at all possible then, how do I have to enter them, separate them? Are Boolean searches possible?
    Thank you for your response.

    Hi -
    Thanks for your interest and support for enhanced searching methods in Prelude. We're excited to bring those to you. Unfortunately we are not permitted to discuss timeframes for features still under consideration and not yet assigned to an official release. We will certainly share this information as soon as we are able.
    Regards,
    Michael

  • Smart folder with multiple keywords?

    Is it possible to set up a smart folder to filter on more than one keyword assigned to an image? I'd like to set up a smart folder that will find images that have 2 specific keywords. I've searched, and wrestled with it every which way, but haven't landed on the solution.
    For example:
    Img_001 has keywords of "Animal" and "Vegetable"
    Img_002 has keywords of "Animal", "Vegetable" and "Mineral"
    Img_003 has keywords of "Animal" and "Mineral"
    Img_004 has keywords of "Vegetable" and "Mineral"
    I'd like my "Animal and Vegitable" smart folder to find Img_001, and Img_002 only.
    Thanks for any ideas,
    Guy

    Guy,
    Yes, you can do that. You would enter these criteria:
    "Keyword is Animal." +
    "Keyword is Vegetable."
    When you enter the second condition, an additional menu appears above them. You need to set it to:
    "Match all of the following conditions."
    That will give you only photos which are tagged with both keywords.
    FYI, you can do something similar with the keywords pane. In Preferences, Keywords, you can set iPhoto to filter based on any keyword or based on all keywords. With it set to match all keywords when filtering, clicking on your "Animal" and "Vegetable" keywords will give you only photos which contain both. The cool thing about this method is that you can Option-click a keyword to exclude it from the filter. So if you didn't want photos containing "Animal," "Vegetable," and "Protozoa," you could exclude "Protozoa" from the filter. Of course, this is done in real time, and doesn't create a self-updating Smart Album. But it's a fun trick for seeing what you have very quickly.
    Regards

  • Robohelp 9 search: heavier weight with multiple keywords?

    We are working with the new search engine (moved from 7 to 9) and are having some issues with the way that our users are used to searching.  One thing was came up was the question of whether a single keyword added multiple times to a topic would bring it a higher weight in the Robohelp 9 search ranking.  Does anyone know if it will disregard multiple instances of the same word in the Keywords in the Topic Properties or if we can use that to stack the deck?

    Hi there
    One way to "stack the deck" so to speak is to ensure the keyword is used in the Topic Title. Aside from that, ensure it is also used in the Keywords field of the topic as well as in heading levels. For example, a keyword in a Heading 3 will be trumped by the same keyword in a Heading 1. And that is trumped by the keyword in the Topic Title.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Search function with multiple keywords

    hi everybody,
    im a beginner apex developer, im trying to develope a search function on my page.
    i have created an item "where" where u can give the adress u r looking for.
    my problem is that the search works only when i insert one word into the item e.g. street or city.
    when i try to look for street and city at the same time it doesnt work.
    in my database i have columns for city, street, zipcode... etc
    and im using Application Express 3.1.2.00.02
    this is my search code
    select country, city,zipcode, street
    from mytable
    where
    +( lower(city) like '%' || lower(trim(:P1_WHERE)) || '%'+
    OR lower(zipcode) like '%' || lower(trim(:P1_WHERE)) || '%'
    OR lower(street) like '%' || lower(trim(:P1_WHERE)) ||  '%'
    OR lower(country) like '%' || lower(trim(:P1_WHERE)) || '%')
    i have tried to solve the problem by adding combination after OR:
    lower(concat(trim(city) like '%' ||  lower(replace(:P1_WHERE,' ','')) || '%'||,trim(zipcode) like '%' ||  lower(replace(:P1_WHERE,' ','')) || '%'||))
    but this is not working. and i will have too many combinations.
    any help is highly appreciated!
    Edited by: user12976392 on 14-Jun-2010 07:08

    Oracle don't provide any SPLIT() function, I don't know why.
    But you can use INSTR() and SUBSTR() functions instead.
    There are some split functions on the web, like this one for example (don't really split but get tokens) : http://glosoli.blogspot.com/2006/07/oracle-plsql-function-to-split-strings.html.
    Then you can loop to get all the tokens (here I used the ' ' separator) :
    DECLARE
          oneToken VARCHAR2(100) ;
          cpt INTEGER := 1;
    BEGIN
          LOOP
          oneToken := get_token(html_GetElement(P1_WHERE).value, cpt , ' ') ;
          EXIT WHEN oneToken IS NULL ;
          cpt := cpt + 1 ;
        END LOOP ;
    END ;Using this you can build your query as string, then open a cursor to run it, using :
    open my_cursor for my_string;I really don't know if it's the best way to do this, it's just an idea.

  • Dreamweaver 8, PHP, multiple keyword search problem

    Hello, I've successfully set up a search form, and a
    recordset which retrieves results when a keyword is added to the
    search form text field and the form is submitted. What I'm trying
    to do is allow tourists to enter one or more keywords, such as
    Istanbul Ankara, to get tours which include either or both of these
    keywords. The search function works fine if I just put in one
    keyword, like "Istanbul" or "istanbul." But if I enter two
    keywords, there are no results, even though there are several tours
    with both of these destinations in their itinerary. If I enter
    istanbul AND ankara, I get results with the boolean method, but I
    don't expect most of my site visitors to know how to do that.
    Is there a way to modify the recordset, so that the user gets
    results when they search with multiple keywords? Here's my SQL
    code:

    Ben Densin wrote:
    > Is there a way to modify the recordset, so that the user
    gets results when
    > they search with multiple keywords?
    Add a FULLTEXT index to the column that you want to search,
    then change
    the SQL like this:
    WHERE MATCH (tours.long_itinerary) AGAINST ('keywords') AND
    tour_category.cat_id=tours.category_id AND
    tours.agency_id=travel_agency.agency_id
    http://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Text search returns results with some keywords, but not others

    This pertains to a tours website for Turkey. I've sucessfully
    set up a search form, and results page which returns results when
    multiple keywords are entered. Everything is working well, except
    when certain keywords are used. For example, the table column being
    searched for is called long_itinerary, so if anyone is interested
    in a certain site or city, it's bound to be in the long itinerary
    somewhere.
    Here's the problem, by example: When someone searches with
    the keywords Antalya, Konya, Ankara, or Adana, for example, results
    are returned from the database, and those keywords are in each
    returned tour's long itinerary.
    But certain keywords return nothing, even when they're in
    practically all of the tours, in the long_itinerary column. For
    example, Istanbul, Ephesus, and Izmir, Kusadasi and Pergamum return
    no results, even though they're there. I've gone through all of the
    most likely keywords, and these are the offenders. If, for example,
    I search with "Istanbul Ankara," I get results with tours including
    Ankara (and Istanbul, but only because the word "Ankara" is in the
    itinerary).
    First I made sure the Charset values were the same on the
    search form page and the results page. Still had the problem. Next,
    I went into the database itself, and copied the word "Istanbul"
    directly from the long_itinerary column of the database, and pasted
    it into the search function's text field, and searched again. Same
    problem--no results returned.
    I can't see any difference between the keywords which work
    correctly, and those which don't, what baffles me is that even when
    I copy a keyword directly from the database and paste it in the
    search text field, it returns no results!
    Well, I'm baffled! Any ideas what might cause this?

    Hmm -- one of my customers is a turkish building company
    (Kusadasi BTW), and when *they* add some contents to the DB,
    they´ll be entering turkish chars. It´s in particular the
    turkish "I" which is pretty different, and this is when a search
    for keywords containing a western "I" will fail.
    Could that be the problem in your case ?

  • Need help with multiple users of a catalog

    I run Lightroom in a small office and several of us have to have access to the image catalog, using Windows XP.  To accomplish this, the images were placed on a shared external drive, the catalog was created on a USB flash drive and Lightroom was loaded on multiple computers.  Everything has been fine and this strategy will work for us.  However, when I move the catalog to another computer (logged on as a different user) the catalog appears with all keywords and image adjustments, but my import presets are not available.  The preset files are located in the preset folder that accompanies the catalog, but they won't appear in the drop down box within Lightroom when attempting to import images.  My temporary solution is to recreate the import presets, which I have done for one other user so far, but I don't want to have to do that for each new user.  If one looks for the preset file, it is located in a folder called "user", but I have not figured out how to get Lightroom to recognize and use the preset files after logging on as a different user.  When I move the catalog (USB flash drive) back to my computer (original computer, original user), then everything is fine again and I can see and use al the presets. 
    Anyone use Lightroom accross users or machines?  Any way to get Lightroom to "see" and use import presets by multiple users?
    Thanks for any help!

    Not really sure if this will help or confuse things...
    If each user has a preset folder/directory, could you not create a symlink that points to oen on the USB device? And then keep all the presets there?
    Disclaimer:  i have not tried this, nor looked at it much, just a thought as i was reading your post.  If it doesn't apply, ignore me!
    Cheers!

  • Parsing Java with multiple lines

    I have a servlet that is reading in an html page and is inserting data in certain places. Inside the html there will be:
    {title}
    {breadcrumb}
    {description}
    {keywords}
    while ((line = fromURL.readLine()) != null) {
         while((firstplace = line.indexOf("{{"))!=-1) {
              int colon = line.indexOf("|");
              int end = line.indexOf("}}");
              String name = line.substring(firstplace+2,colon);
              String value = line.substring(colon+1, end);
              hTable.put( name, value );
              line = line.substring(end+2);
         msg.append(line);
    }This is working correctly. I would like to change it so that it will read from the html file when it is in this format:
    {title}
    {breadcrumb}
    {description}
    {keywords}
    Right now this will not work because of the carrage returns. How can I change the code so that it will work with multiple lines?

    There are two options that would work nicely.
    one:
    first you read in ALL the data into one large buffer
    than you remove all the newlines from the buffer
    than you process it line by line (you can use the second '}' as an end point for a line)
    two:
    keep track of how many '}' characters you read. If you hit a newline and you didn't read the second one yet, append the next line to the current line. You keep doing this untill you finally read the second '}' character.

  • I have some photos burned to CD in 2003.  Ending up with multiples

    I burned originals with a Mac G4 and my new 27 in imac will not read them. I can read them on an older 24in imac and I want to move all from old CDs to new computer. When I burn a new CD from the 24i,which I can then load onto the 27in I end up with multiple copies of most but not all files. This makes an already cumbersom process very time consuming. The do not import duplicates does not work as the second and third copy of a file has a different "name" ie 1344 vs 1344-2.
    Why is ths happening and is there any way to avoid it? Thank you for your time.

    How did you burn the disk originally?  Did you use the Share ➙ Burn menu option in iPhoto?  If so that creates a mini library on the CD or DVD which can only be read by iPhoto.
    It should, when inserted into the optical drive, show up inh the left hand pane of the iPhoto Library window like this:
    Did you burn the disk like I mentioned above and if so are you not able to view the disk as in the screenshot?  If  it's yes to both questions then just drag the Events under the Disk icon onto the Events icon at the top to import the original and modified files along with keywords and titles.
    If it's not as above describe how you burned the disk and how you try to import the photos.
    Do not try to import the entire mini library into your library. That just creates duplicates and imports thumbnails as originals. 
    OT

  • Problem deleting multiple keywords in lightroom 5

    I am importing about 20,000 pictures from Flickr. they are all creative commons, and the end result will be the use of approximately 4000 of these in an online sign language dictionary.
    I use Bulkr to import them and this process imports the tags as well as other information such as the photographers name and url.  Many of these photos arrive with hundreds of tags, so that the total number of tags might be 20000 or more.  I need to assign my own tags and delete all the tags that the photo arrived with.  I use the lightroom batch delete to do this (the little minus sign at the top of the keyword list).  i select a keyword, hold down the shift key and scroll down.  the problem is that i cannot just scroll down to the bottom of the list.  There appear to be unpredictable keywords that cause the shift-select process not to work.  if i scroll back up and then carefully scroll part of the way back down, then there will be a point at which shift-select stops working and above that it works. 
    The end result of this is that it takes numerous shift-select-scroll down-select to delete everything so that what should take maybe 2 minutes takes 20 minutes or more. 
    The problem may be related to foreign language keywords especially chinese characters, but even what looks like a perfectly ordinary keyword can stop it.  Two recent examples: travellers cheque  and Київ. In all cases, the words can be deleted when i click directly on them.  you just cant shift-select THROUGH them.
    A separate annoyance that i will just grumble about is that i was forced to put these pictures in a separate catalog because there is always the risk that i could manage to delete my own keywords while batch-deleting everyone elses, and there is no simple way that i know of to undo this. with the separate catalog at least i wont delete all the keywords for my own pictures.

    With respect to problems deleting multiple keywords: On Windows, since at least version 3, LR has had basic bugs when you have more than about 1600 keywords showing.  (Hard to believe it isn't fixed by now.)   A simple workaround for you situation is to filter the keywords one letter at a time and then select the subset of keywords that are showing -- e.g. filter all keywords with the letter "t", then all keywords with the letter "b", etc.
    With respect to not getting the keywords into your catalog in the first place: You can define a Metadata Preset that will clear the keywords on import:

  • Using HLEVEL with multiple hierarchies

    Hi all,
    Is there a way to pass a parameter to the HLEVEL keyword to specifiy which hierarchy (Parent H1,H2, H3, etc.) to use when pulling the HLEVEL?
    We would like to use HLEVEL for report formatting however we need the ability to choose the hiearchy.
    Thanks!
    Mike

    Mike,
    please check the answer in this other post:
    EVPRO with multiple hierarchies
    It's for the MS platform, but it's the same for Netweaver.
    EVPRO can only retrieve the HLEVEL for the first hierarchy. You need to maintain further custom properties if you want to get the level of a member within multiple hierarchies.
    Regards,
    Simmaco

  • Selecting Multiple Keywords for an "AND" Images Selection

    When selecting images in iPhoto, one feature that I liked was the ability to fine-tune my image selection by choosing multiple Keywords. For example, I might have 50 images of Mary, either by herself or with other people, and one of the Keywords assigned to those 50 images is "Mary." I might also have 25 images of Joe, also either by himself or with other people, with one of the Keywords assigned of "Joe."
    Out of all my images, there might be 5 images that include both Mary and Joe together. In iPhoto, I could rapidly find those 5 images of Mary and Joe together by clicking and selecting the separate Keywords "Mary" and "Joe" from the list of all my iPhoto Keywords.
    Unless I'm missing something, the only way I have found to do this in Lightroom 1.0 is by typing both Mary and Joe in the FIND dialog box to find JUST the images of Mary and Joe together.
    It is my understanding that LR currently has an "OR" find command when I "COMMAND-click" (Mac) on the Mary and Joe keywords, LR displays ALL the images of Mary and Joe. I would like to see a feature in future versions of LR where I could "OPTION-click" on the Keywords that I had set up in LR that would then initiate an "AND" Find command for the Keywords selected so that LR displays images where Mary AND Joe appear together in the images.

    I did go to the LR Extras FAQ. However, I didn't find the specific references that you mention. I did notice a couple of topics that cover "intersections," but I don't think that addresses my specific request.
    For example, If I'm searching through ALL of my images and I want to DISPLAY only the images of that I've taken of rivers in California, I would like to be able to do it in LR in ONE keystroke(OPTION) and TWO mouse clicks (in iPhoto, you can do it in two mouse clicks).
    Currently, in LR 1.0, if I use the FIND panel, I would have to type in several keystrokes. If I don't have any COLLECTIONS for rivers or California, but do have KEYWORDS of "rivers" and "California," is there anyway I can select from the Keywords to have JUST the rivers in California displayed? To just have them highlighted only would force me to scroll through hundreds of pictures taken in California, when I might only have twenty photos of California rivers.
    I appreciate your offer of help and please point me in the right direction if I am missing something. I do plan to re-visit the site again as I can see that it contains a lot of good insightful info about LR. Thanks.

  • Multiple Keyword Sets (For Multiple Databases)

    I work with several different Lightroom databases and it would be nice to be able to have separate sets of keywords that go with each database.
    In my specific case, I use one database for my personal photographic endeavors and another for an image library for our church. The keywords tags used for my Nature photography images and the tags used for the event photography shots for church are very different. Hence, there are lots of keywords in both libraries that have zero images attached to them.
    It would be very useful in you could allow multiple keyword sets to track with multiple databases.
    Dave Mayfield

    There issues'Purge unused Keywords' option under Menu/Metadata.
    Don't ya know.
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.9 & Win XP, Pentax *ist D
    http://donricklin.blogspot.com/

Maybe you are looking for

  • Scalability in BlazeDS - What is the maximum number of concurrent users possible with BlazeDS?

    Hi all, is there a limit on the number of concurrent users that can connect via BLAZEDS? I see many places that it is only in 100s and not in 1000s. is that true? Anybody has doen performance testing on that? Thanks Kiran

  • Need a new hard drive for dv6-1230us

    My issue is regarding the HP Pavilion Entertainment PC dv6-1230us. Recently, it was dropped and since then it has been giving me the following message whenever it boots up. Boot Device Not Found Please install an operating system on your hard disk. H

  • MM: Net Weight quantity in Migo

    Hi expert, We are going to capture net weight quantity in MIGO which will Impact on MB51 standard  report so that we could  consider or claim against the vendor for difference quantity. Is it possible in MIGO or we have to develop through enhancement

  • Regarding dropdown box on selection screen

    Hi Abapers, I am facing a problem in handling dropdown box. please suggest . My Problem description below. There is one Text field and other is one dropdown box on the selection screen. Now When user enter the Prod Order number and press enter then a

  • Different content

    I have a website http://www.samenbetervoorkinderen.nl/, now is the source code ok but safari display in the site different content in other browsers there is no problem