Searching Issue

Hi Friends
Could you please help me in the following issues?. I have a database two tables called Books and BSearch.
When i search a Books Based on a Book category it should take the values related to that Category and store them all in the BSearch table
Please give me some source code and help me
I AM very new to java.
Please
thank you

I have a database two tables called Books and BSearch
it should take the values related to that Category and store them all in the BSearch tableWhat does this have to do with Swing if you want to move data from one database table to another?
Read the tutorial on [url http://java.sun.com/docs/books/tutorial/]JDBC Database Access.

Similar Messages

  • Sharepoint Server 2013 Search Issue

    Hi,
    running Sharepoint server 2013. search service application is not working properly. getting the below error message. 
    "Unable to retrieve topology component health states. This may be because the admin component is not up and running"
    we have 2 tier sharepoint 2013 farm architecture. please find the below server details.
    1. WFE & APP server (OS: Windows Server 2008 R2 SP1 and RAM: 8 GB) 
    2. database server (OS: Windows Server 2008 R2 SP1 and RAM: 8 GB) 
    I tried the following:
    - installed the latest sharepoint server 2013 CU.
    - OS is up to date.
    - deleted and recreated Search Service Application
    - The service account does have access to the search databases
    - one account is used, domain\sp2013search, has all necessary permissions
    Please help to fix the search issue.

    Hi Raj0639,
    According to your description, my understanding is that you got an error when you run SharePoint 2013 Search.
    Firstly, please make sure that all servers are online, and connecting to others.
    Please stop all search services on Manage services on server, then restart them. Please try to do as Amit said, compare the result.
    If this issue still exists, please repair SharePoint 2013 under Control Panel, then compare the result.
    Here is a similar post for you to take a look at:
    http://social.technet.microsoft.com/Forums/en-US/a67b0d0f-4f5a-4412-8f83-a57eaff4be45/sharepoint-search-host-controller-does-not-start?forum=sharepoin
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Does the 10.5.7 update address command+f finder search issues?

    Does the 10.5.7 update address command+f finder search issues?
    Search has been horrible under 10.5 in that it does not reliably find FOLDERS on network drives, only file names.
    Even when I am looking directly at a folder and I search for it will not appear in the command+f window.
    Also the stupidity of not allowing a specific search location.
    Has this been addressed? I have, at any given time, 3-4 mounted servers.
    I do not have a choice now to search a specific hard drive.
    10.4.11 gave me the option under "OTHERS" to select a specific place to search.
    The only choice I have in 10.5.2 is "SHARED". Which searches all drives when I only want to search one. Nor do I have a choice of searching just one of my two internal drives.
    I talked with Chris in apple engineering several months ago, who acknowledged that search problems are a known issue under 10.5 and this was being addressed but have not heard any more. I don't want to download an update unless these broken search issues have been fixed. This is a production machine and I cannot have downtime in the Dept.

    Have you filed a bug report or enhancement request with Apple?
    http://bugreport.apple.com/

  • I don't know exactly when this started, but Winamp became my default search and homepage.. The homepage issue was easy, but the search issue is bigger than I expected. It ALWAYS uses Winamp (Powered by AOL) as my default search. Please help. Thank you.

    I don't know exactly when this started, but Winamp became my default search and homepage.. The homepage issue was easy, but the search issue is bigger than I expected. It ALWAYS uses Winamp (Powered by AOL) as my default search. Please help. Thank you.

    reinstall it but make sure to uncheck the box next to "make winamp my default search engine"
    attached is screenshot from the part of installation proces where that checbox should be unchecked
    hope this helps

  • CSC Customer Search issue in Weblogic

    We have extended the customer search in CSC for searching through "ProfileID" property.
    This functionality is not working when the EAR is deployed in Weblogic.(Please find the error log attached)
    But when the same EAR is deployed in jboss, its working.
    Please help on this issue.
    Error Log
    <Error> <HTTP> <BEA-101017> <[ServletContext@43144004[app:Project-csc module:agent path:/agent spec-version:], request: Workmanager: default, Version: 0, Scheduled=true, Started=true, Started time: 47 ms
    POST /agent/framework.jsp HTTP/1.1
    User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20100101 Firefox/15.0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip, deflate
    Connection: keep-alive
    Content-Type: application/x-www-form-urlencoded; charset=UTF-8
    Referer: http://localhost:7003/agent/main.jsp?_windowid=2
    Content-Length: 7485
    Cookie: atg.allwindows.lastrequest=1357124645500; JSESSIONID=XjfJQkPS1Jv1plngypdKk1y3bDW2wnyykxp4jty9J9L0TLHdgj7z!1285435330
    Pragma: no-cache
    Cache-Control: no-cache
    ]] Root cause of ServletException.
    java.lang.NullPointerException
    at atg.core.util.StringUtils.makeList(StringUtils.java:1309)
    at atg.core.util.StringUtils.makeList(StringUtils.java:1262)
    at atg.search.routing.command.search.Field.getNamesString(Field.java:175)
    at atg.search.routing.command.search.Field.getAttributeXML(Field.java:246)
    at atg.search.routing.command.SearchXMLObject.getAllAttributeXML(SearchXMLObject.java:382)
    Truncated. see log file for complete stacktrace
    >
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Refer following thread
    ATG10.1 CSC search issue | NullPointerException

  • Search issue with plurals?

    RH9, webhelp, merged project.
    Just reported to me and I can confirm: There seems to be a content search issue where the singular works, but not the plural, even if the plural is what we use. Specific example: Enhancement vs. Enhancements. We have several topics that are labeled or refer to "Enhancements", but searching with that term finds nothing, while using "Enhancement" finds those terms.
    "Ticket" vs "Tickets" results in a similar issue. The behavior appears to be that the singular form can find either version - singular or plural - but plural search terms result in no matches at all.
    Any ideas what may be causing this?

    Are you testing on the published help or the generated help. The latter is rebuilt every time.
    Try in one of the sample projects. Click Open on the RoboHelp Starter page and then click Samples in the ribbon on the left.
    If that works, try downloading the demo merged help from my site and generate from that. Test that works.
    Post back with the results at that point.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Search Issue ... URGENT

    i have a search issue :-
    1. user logs in to the site and enters 'opadry' in the search field.
    2. the search retrieves the required results.
    3. but the result page shows the 'Administration' and 'Navigator' links on the top right of the page.
    4. through these links the user can go to the forms, reports etc at look at them at design time.
    5. how do i prevent this ? because i do not want the users to see these links.
    has anyone had these problems ?
    any help would be greatly appreciated.
    thanx a lot.
    null

    I remember seeing the reply somewhere. Pls check the archive. I present version it is not possible.

  • SharePoint search issues for ananymous users.

    Hi,
    I am facing 2 issues with SharePoint 2010 search.MY requirement is to give anonymous access to my SharePoint publishing site with out showing the list views and View all Site content pages. For this we enabled Anonymous access on the site collection and
    enabled the "viewformpageslockdown"  feature. So end user is able to access the list items but not the views.Everything as expected.
    But the problem came up with search.
       First issue :  The list items are not coming up on the search when I enable "viewformpageslockdown". If I disable this feature and crawl teh content,I can see the items in search. But my business users doesnt
    want the end user to see views.They want the "viewformpageslockdown" feature enabled with search showing list items.
      I proposed to use the list view web part in another Page of Pages library(since viewformpageslockdown doesn't remove access on pages library) so that content come up in the search. Unfortunately client wants the actual URL of the list item to be shown
    in the search results. Can any one help to achieve both search and viewformpageslockdown  on my lists???
       Second Issue:    When I search for a content in Document library,only the results to PDF or Doc file are returned.We need the item ULR also to be there in search.
    Fo example my PDF is uploaded in a document library.
    The view form for the item is http://xxxx.com/en/publications/_layouts/forms/Publication_DispForm.aspx?List=4f55ad51-4aed-4d32-b960-af70113dbb90&ID
    The URL for the PDF that is uploaded against the above itme is http://xxxx.com/en/publications/Publications/Amar.pdf
    Search is returning only the PDF U|RL but the line item URL. Incase of lists,the line item URL is coming.IS there any way I can shown line item URL also in search as another result apart from the document.

    Hi,
    According to your post, when you set anonymous access to your SharePoint publishing site, you got two issues.
    the first issue is when you disable "viewformpageslockdown” feature, all your lists will be accessible to anonymous users 
    by default. Otherwise, what you want is to give anonymous uses access to your SharePoint publishing site without showing the list views and Viewing all Site content pages.
    Following the below 
    link about how to allow anonymous users to access list items on a publishing site in SharePoint 2010:
    https://knowledge.zomers.eu/SharePoint/Pages/Allow-anonymous-users-to-access-listitems-on-a-publishing-site-in-SharePoint-2010.aspx
    For your Second issue, I have done a test in my SharePoint 2010.
    In SharePoint 2010, When I search for a content in Document libraries of all the sites, only the results to PDF or Doc file are returned. And item ULR are not returned. 
    it's supposed to be by default.
    Best Regards,
    Lisa Chen

  • Search issue with Outlook 2010 SP2 in Online mode

    We are dealing with a weird issue that started after a routine maintenance window this past week.  We took our Exchange 2010 server down while we performed maintenance on our SANs.  After bring the servers back up we have developed an issue in
    Outlook with searching.  When a user searches for emails only those that are before the outage are returned in the resultant set even if an email from after the outage matches the search.  However, if you search from OWA all the expected results
    are returned.  Please remember that we are in Online mode with Outlook and not cached mode.
    I can say that I have checked Exchange and it appears that all indexes are fine and the fact that OWA returns the correct result would prove that.
    One other thing to note.  If you do an Advanced Find in Outlook and select frequently-used text fields it give weird search results, but it will include the emails from this week.
    What am I missing?  I can't think of anything else to look for.

    Hi,
    Based on my knowledge, when Outlook is in Online Mode, the search is based on the Exchange Search Service. Although the search works on OWA, I still suggest you try re-indexing on Exchange Server to check the result.
    Moreover, there are some steps we can perform to narrow down this issue:
    1. Switch to Cached Exchange Mode, then the Index is based on the local computer, check if then the issue persists. If the issue persists, we can say it's not about the index, maybe something else stops Outlook from searching properly, such as an add-in.
    Also, it can be a workaround if it works in Cached Mode.
    2. Create a new Outlook Profile to setup the account, check if the problem persists. Please do not remove the previous profile as this is just a test, I want to know if the problem persists with a new profile.
    Please feel free to post back with more details.
    Regards,
    Melon Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here.

  • Spotlight Search Issues

    Problem Summary: Client cannot get correct search results via Spotlight.
    Equipment: Mac Mini Server (2.66 GHz Intel Core 2 Duo, 4GB RAM) running Lion Server 10.7.3
    Troubleshooting steps taken so far: Disabled, cleared the index, and re-enabled Spotlight. Reinstalled Lion Server. Tested Houdahspot. Checked for any log files pertaining to mdutil in Console. Issue still persists.
    Logs: Logs are not recording anything related to mdworker or mdutil.
    I've attached an image of what we're seeing when we try to Spotlight search. Search criteria is a red label and comments being blank. Here's the result:
    Note that every time we go back and do the same search, different results are returned.
    Any help with this would be greatly appreciated.
    -=Andrew

    Use the forced restart method of pressing sleep and home button together only if you have no access to the phone. Or the best way to reset is to go to settings>general>reset.
    It's like,'Why would i pull the plug of my PC when I can click on start and restart?'

  • Sharepoint error - Search Issue - The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1).

    i see this error everywhere - In ULS logs, on site. On the site > Site settings > search keywords; I see this - 
    The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>IIS 7.0 Detailed Error - 500.19 - Internal Server Error</title> <style type="text/css"> <!-- body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;background:#CBE1EF;} code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;} .config_source code{font-size:.8em;color:#000000;} pre{margin:0;font-size:1.4em;word-wrap:break-word;} ul,ol{margin:10px 0 10px 40px;} ul.first,ol.first{margin-top:5px;} fieldset{padding:0 15px 10px 15px;} .summary-container fieldset{padding-bottom:5px;margin-top:4px;} legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;} legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin-top:0px; border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px solid #969696; border-bottom:1px solid #969696;background:#E7ECF0;font-weight:bold;'.
    I am facing issues in searching, my managed metadata service is not running, search results page throws internal error. Any Idea why this above error comes.
    P.S: We use windows authentication in our environment.

    Hi IMSunny,
    It seems you have solved this issue based on your another post.
    http://social.technet.microsoft.com/Forums/en-US/aa468ab0-1242-4ba8-97ea-1a3eb0c525c0/search-results-page-throws-internal-server-error?forum=sharepointgeneralprevious
    Thanks
    Daniel Yang
    TechNet Community Support

  • Saved search issue with custom link

    Hi all,
    Generally we do have one opportunity search . But according to my requirement I have added one more opportunity search  for separate Opportunity type .
    I do have 2 different view configurations for regular search/result and newly added custom search/result.
    here the issue is with Archived Saved Search( those are saved in regular Opportunity Search)  is  not working properly when I am open custom Search and then open the saved Search( from Home Page) . Here again I need to open the regular opportunity Search and execute the Saved Search  then it is working.
    When I come out from custom search/result, then execute the Saved Search it is calling the configuration of Custom Search/result.
    here I need to destroy the custom configuration search/result when I come out or execute the saved search . already I tried the WD_DESTROY  method in Mainview set level. But it is not working .
    Regards.
    rama

    Solved my self.
    Below is the solution. Go to the Viewset implementation class ZL_BT111S_O_MAINVIEWSET_IMPL   and call the default configuration in method DO_CONFIG_DETERMINATION .
    CALL METHOD me->set_config_keys
       EXPORTING
         iv_object_type          = '<DEFAULT>'
         iv_object_sub_type      = '<DEFAULT>'
         iv_propagate_2_children = 'X'.
    regards,
    rama

  • Mail search issue

    In Mail.app, search behaves strange: When I type in e.g. "dropbox support", the related e-mails are shown in the left column. But as soon as I select "Persons" or "Header", all search results are gone. E.g., I am looking for all e-mails from John Doe. I type in "John Doe": they're there. I select John Doe as "Sender": all results are gone. The left column is blank.
    Is this a bug? Am I the only one with this issue?
    Thank you!

    hi Blue,
    I've got the same problems with Mail. Also, it disconnects me from my incoming mail server randomly. I checked with service provider and hosting company and both are working fine. It seems a software problem.
    BTW - if you clean install and have disc 1 = ***-5736-A nothing will happen and will continue to exhibit the same problems.

  • Outlook 2013 shared mailbox indexing and search issue

    I have 2 Outlook 2013 clients running in Cached Mode, with Download Shared Folders checked and a delegated mailbox opened via the Account Settings Advanced tab. Both clients are accessing the same delegated mailbox. According to this article (http://blogs.technet.com/b/outlooking/archive/2014/04/28/understanding-search-scopes-in-microsoft-outlook.aspx),
    they should be able to search the Current Folder via WDS, but in both cases, changing the Search Scope to Current Folder causes Outlook to hang for 10-20 minutes.
    This makes searching the delegate mailbox completely unworkable, which is a problem for the 2 P.A.s concerned, as they spend a lot of the day searching for correspondence.
    I have tried rebuilding the search index, with no change in the search behavior. It seems that WDS is not indexing the cached delegate mailbox - how can I correct this?
    Thanks
    Patrick

    Hello,
    Please try to add the following registry key and then restart Outlook to check the issue again:
    Note: Serious problems might occur if you modify the registry incorrectly. For added protection,
    back up the registrybefore you modify it.
    Registry data to index shared mailboxes:   
    Key: HKLM\software\policies\Microsoft\windows\windows search   
    DWORD: EnableIndexingDelegateMailboxes   
    Value: 1
    Please let me know the result.
    Regards,
    Steve Fan
    TechNet Community Support

  • IOS Global Address List search issues

    We are having some problems searching for some users in the Global Address list on Office 365 from iOS devices. The only way to make them show up is to add a space after their name...so if I'm trying to find "Joe" I have to type in: Joe followed by a space in order to find him. However, not all recipients in the GAL are exhibiting this behavior, some can be found by just typing in their first name. I can type in "jake" and find all users, but if I type in "joe" it comes up with nothing.
    I've verified there's no space after these user's name in AD, has anyone else seen this issue?
    I have a post over on the Office 365 forums as well, but they suggested to reach out over here too.
    Thanks!
    -jake

    Was able to resolve this with Microsoft Support for any that may have this issue too.  Apparently iOS has a minimum 4 character entry when searching the GAL, so names like Joe, Bob, Ron, etc. will not show up until you "enter" a 4th character in the form of a space.
    Assuming this is an issue with all Exchange setups, but this was on Office 365 so your results may vary.  Interesting that this is not the case on OS X where 3 character GAL searches are fine.

  • Search issue with dynamic dropdown array - PHP

    I'm currently trying to set up a search with a couple of
    dynamic dropdowns, basically to search for cars - so the parent
    list is car make, and the child is car model.
    I've gotten as far as a page with the dynamic array working,
    but not the search :
    dynamic array
    working
    (Ignore the cars and vans radio buttons)
    For testing there's an Audi A3 and and Audi A6, but this
    search doesn't work.
    The select code looks like :
    <select name="Model">
    <option value="" <?php if (!(strcmp("",
    $row_rsModels['Model']))) {echo "selected=\"selected\"";}
    ?>>Select a Model</option>
    </select>
    And the array code looks like :
    <?php
    if ($row_rsModels) {
    echo "<SC" . "RIPT>\n";
    echo "var WAJA = new Array();\n";
    $oldmainid = 0;
    $newmainid = $row_rsModels["Make"];
    if ($oldmainid == $newmainid) {
    $oldmainid = "";
    $n = 0;
    while ($row_rsModels) {
    if ($oldmainid != $newmainid) {
    echo "WAJA[".$n."] = new Array();\n";
    echo "WAJA[".$n."][0] = '".WA_DD_Replace($newmainid)."';\n";
    $m = 1;
    echo "WAJA[".$n."][".$m."] = new Array();\n";
    echo "WAJA[".$n."][".$m."][0] =
    "."'".WA_DD_Replace($row_rsModels["ModelID"])."'".";\n";
    echo "WAJA[".$n."][".$m."][1] =
    "."'".WA_DD_Replace($row_rsModels["Model"])."'".";\n";
    $m++;
    if ($oldmainid == 0) {
    $oldmainid = $newmainid;
    $oldmainid = $newmainid;
    $row_rsModels = mysql_fetch_assoc($rsModels);
    if ($row_rsModels) {
    $newmainid = $row_rsModels["Make"];
    if ($oldmainid != $newmainid) {
    $n++;
    echo "var rsModels_WAJA = WAJA;\n";
    echo "WAJA = null;\n";
    echo "</SC" . "RIPT>\n";
    function WA_DD_Replace($startStr) {
    $startStr = str_replace("'", "|WA|", $startStr);
    $startStr = str_replace("\\", "\\\\", $startStr);
    $startStr = preg_replace("/[\r\n]{1,}/", " ", $startStr);
    return $startStr;
    ?>
    ..to try and find the root of the problem, I've gotten as far
    as a similar page, without the dynamic
    array, with the child dropdown populated dynaically from the
    recordset :
    search working
    This seems to work exactly as advertised - all the car models
    are listed from the recordset, and if
    you search for Audi and A3, then it gets returned correctly.
    The select code here looks like :
    <select name="Model" id="Model">
    <option value="">Select a Model</option>
    <?php
    do {
    ?>
    <option value="<?php echo
    $row_rsModels['Model']?>"><?php echo
    $row_rsModels['Model']?
    ></option>
    <?php
    } while ($row_rsModels = mysql_fetch_assoc($rsModels));
    $rows = mysql_num_rows($rsModels);
    if($rows > 0) {
    mysql_data_seek($rsModels, 0);
    $row_rsModels = mysql_fetch_assoc($rsModels);
    ?>
    </select>
    ..so I guess the search is set up OK, but the issue is with
    how to pass the model from the select code generated by the dynamic
    array correctly....
    Its presumably because the option value is empty :
    <option value="" <?php if (!(strcmp("",
    $row_rsModels['Model']))) {echo "selected=\"selected\"";}
    ?>>Select a Model</option>
    So I've been trying various possibilities with no joy, such
    as :
    <?php if (!(strcmp("", $row_rsModels['Model']))) {echo
    "selected=\"selected\"";} ?>
    but without success.
    Even then, I'd have though if the value was empty, "", then
    it would return all results, rather than no results....?
    hope that makes some sense, and someone can shed some
    light...
    Cheers.

    Thomas Jung wrote:>
    > >
    Chris Paine wrote:
    > > That's a shame!
    > >
    > > Does this mean that using a drop down by index in an ALV is limited to having the same dropdown in every row of the table (it would certainly seem that this is the case).
    > >
    > > Cheers,
    > >
    > > Chris
    >
    > I would assume so as I can't think of a way around the subnode limitation. The system will actually allow you to have a subnode and everything works fine until you sort the ALV - then you get a short dump.
    >
    > I suppose you would have to fall back to using a regular table in this case.
    But how come the class documentation says its possible.
    Functionality
    Using class CL_SALV_WD_UIE_DROPDOWN_BY_IDX, you make all the settings for the UI element index-based dropdown list box, from which the user can select from a range of values.
    *You use the index-based dropdown list box if the dropdown list boxes in each cell of the column are to contain different entries.*
    You use the key-based dropdown list box if the dropdown list boxes in each cell of the column are to contain the same entries.
    To specify the entries in the dropdown list boxes, the context of your application requires an attribute for which the data type satisfies the following requirements:
    The attribute is a table
    The structure of this table contains at least one KEY column and a VALUE column.
    Note
    We recommend that you use the type WDY_KEY_VALUE_TABLE here.

Maybe you are looking for