Develop Search Functionality

Hi All,
I need help for developing Search Functionality for web base product using JSP - Servlet and SQL Server 2005.
like please open http://www.sun.com/, After opening the web page - at right top side there is a one text field "Search" and beside of there is a one ">" search button. Now
If I am giving the search keyword "Java" then it will comes with search results.
Same thing I want to develop my web base product. If I am giving any keyword - like medicine name and hit on the search button then result comes.
Please give me the concept or guide me How to Start for coding on this part?
Thanks
Amit Pandya

Read on how to do a search in a database using SQL. Then invoke that with JDBC API (make use of PreparedStatement!!). Then create a plain HTML form textfield and a button to enter the search keywords.
If performance is important and you have a lot of text (e.g. messages of a forum), I'd to introduce a 3rd party database search engine library such as Xapian which indexes the database for search.

Similar Messages

  • Sql developer  search functionality could be better

    the search window closes after the first match,
    when I am looking for all matches for a string, it takes more time.
    There are plenty of example for good search functionality, with what I have experienced , the search feature in TEXTPAD is simple and works well.
    oralce sql developer 2.1.1.64
    I hope oracle recognizances this enhancement.
    - Dinesh

    Have you tried using any of the shortcut keys to aid in your searching?
    Alt-F3 : Find Next Result
    Shift-F3 : Find Previous Result
    (In a SQL Worksheet) Ctrl-F Brings the search menu back up
    (In a Code Editor Window) Ctrl-F Brings you to the search bar at the top of the editor. Ctrl-F twice will bring the search menu back up.

  • Search function in interactive PDF

    Hi
    I am developping an interactive PDF and I would like to embed a search function (not the Ctrl+F option, an actual search button on each page, like on a website).
    Is that possible? I am curently working in InDesign CS6
    Thanks
    Andrei

    Probably not possible without some scripting.
    Check out the Acrobat Forums.
    It won't be possible from InDesign.

  • Stack overflow at line: 1792 or 1788 when using the search function

    Hello everyone,
    My name is Thibault. I am a technical communications specialist. I've been using Robohelp html for a couple of years.
    I am working on the user guide of the software application developed where I work.
    This is a HUGE project, more than 6500 pages.
    We're two technical writers on this project. (This is an inportant detail since my colleague doesn't get the problem).
    I need your help because I have been having an annoying issue over the last couple of days.
    After the project is generated, I open it in the software, clicking F1.
    When I want to use the search function I have this error message displayed:
    "Stack overflow at line: 1792" or "Stack overflow at line: 1788"
    Do you know where this could come from?
    Furthermore, I noticed that this stack overflow only occurs on some words.
    I mean, it occurs for the most used words in this project.
    We have customers all over the world and over the last week, we've been getting a lot of feedbacks about this error message.
    I hope someone will be able to help me on this one!
    Thanks in advance!

    First of all, thanks for your answer RoboColum(n).
    Is the problem only when you search for a topic that contains Flash output?
    All my topics contain Flash outputs. I generate my output files on a folder that is embedded into the software.When in the software, I click F1 and the Flash User Guide opens.The search function works (or not) depending on the software version (32/64-bit).
    At what point exactly does the stack overview occur?
    We have two versions of the software a 32-bit version and a 64-bit version.
    The search function works fine with the 32-bit version.
    The problem occurs when I use the 64-bit version. When I type in a word, for example "unit", the stack overflow message appears. See below:
    As you can see, it looks like the search function freezes while the stack overflow message appears.
    And I never get this error message with the 32-bit version of our software.
    I also wonder whether you can search on a project that contains no Flash output. Perhaps you could try for us?
    What do you mean by that?
    As I told you previously, my Flash Player version is a 32-bit one.
    Do you think that the issue might come from there?

  • Can someone tell me where to get information about the search function in Swift

    I need to put a search function into an app I am building and I have no idea where to look for information as to code, where to put the code and the text that it is going to search ( a book's worth) where do I put that file.  Any help would be great.  Thank you in advance.

    Dipak,
    Two things to try:
    1. Check the Oracle8i EJB and CORBA Developer's Guide. It is available online from OTN in the documentation area.
    2. Posting your note to the Oracle8i JVM technical discussion forum.

  • Search functionality in portal

    Hi,
    We are implementing SAP EP 7.0 for our customer...this portal is only for top level management which contain only BW(3.5) reports as iviews ...these iviews are developed using Visual Composer and some of them are standard business packages(like sales analysis,financial analysis etc)...Now our customer wants us to implement the "<b>search Functionality</b>" in the portal...where the user can search for the report iviews in the portal....
    Can any one throw light on whether it is possible to implement the search functionality?...If yes what does it take for the developer to implement?...Any documents or links will be really thankful...
    Thanks & Regards,
    P.Navakanth.

    The APIs for searching are reasonably well documented, but why not make use of the page personalization capabilities of the portal?
    Cheers

  • Search function for own Shapes

    Hallo,
    i want to search for my selfmade Visio Shapes.
    The Visio search function can´t find my Shapes. I copied my Shapes in C:\Users\Username\Documents\My Shapes but is doesent work.
    What´s my mistake?
    Thanks in Advance

    Hi,
    In regarding of the issue, please provide us more information to assist you better.
    Which Visio's version do you use? Visio 2013 or other.
    Did you get some error messages? Like: Could not find a match.  Please search again.
    Did you search the build-in shapes?
    If you can't search all of the local shapes, this issue may be caused by the "windows search" option disabled. Please see this
    thread, I copied the suggestion here:
    ======
    I have new information on the issue with 64-bit systems and Visio 2007/2003 versions.  I was incorrect when I stated this was not able to work properly on 64-bit systems.
    The missing link in our testing has been the enabling of the Indexing Service after the installation of the 64-bit IFilter Pack from the download centerhttp://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=60c92a37-719c-4077-b5c6-cac34f4227cc 
    (Note that there are two downloads - choose the 64-bit one for your 64-bit OS)
    1) Ensure your OS has Indexing enabled:
       Windows 7 and Windows Vista: Control Panel / Programs / Turn WIndows features on or off / Enable "Indexing Service" / OK  [ restart if required ]
       Windows XP: Control Panel / Add or Remove Programs / Add/Remove Windows Components / Enable "Indexing Service" / Next / Finish
    2) Download and install the IFilter pack above. 
    3) Enable Visio shapes indexing.
        a) When Visio is first launched, it may prompt users to enable the Indexing Service.
        b) Manually - Open the Tools / Options dialog, select the Shape Search tab, click on Visio Local Shapes and then click the "Properties" button, ensure the option "Yes, enable Indexing Service" is selected.
        NOTE ... If Visio cannot find its Index catalog, you may see an error "1.  Visio Local Shapes - The Visio Indexing Service Catalog does not exist.  Please repair the Visio installation."  To recover from this,
    close Visio and all other Office applications, and use the Control Panel to repair the Visio installation, then restart your computer.
    Also -make sure that the Indexing Service is actually started, as it may be set to Manual startup versus Automatic.  Check in the Administrative Tools / Services app.
    After these components are installed / configured, restart the computer.  You may need to allow some time for indexing of your local files to be completed.  Once the indexing is complete, you should start to see improved results.  Let me know
    if this helps with searching for Visio shapes on 64-bit operating systems.
    =====
    If you have any update, please feel free let me know.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].

  • 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.

  • Problem in adding Search function in HeadMast.

    Hello All,
    I am working on EP6 SP2 and wanted to know how can I add the Search function (which is on Toolbar and appears below the HeadMast in Portal), to be included as a prt of HeadMast.
    Please refer to this link:
    http://www.sapdesignguild.org/resources/htmlb_guidance/index.html
    Under <b>General -> Customer Branding and Style Editor</b> topic, kindly refer to the 1st snapshot shown.
    It shows Search within the MastHead Area.
    I tried doing this by manually adding the code of Search into MastHead using MastHead.par file (in Eclipse 2.1) but it gives me an error saying " <i>No security zone - access is denied:</i> ". I really cannot make out the differnce where I am exactly goind wrong.
    Can anyone please help me sort this.
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu

    Hi Senthil,
    Firstly thank you for your input.
    I have checked the Portalapp.xml file and found a Security tag. Its like:
    <b>
    <property name="SecurityZone" value="com.sap.portal/no_safety"/></b>
    Is it OK??
    Senthil, I have another question too?
    I am new into Portal development programming, so am trying differnet options:
    Another experimet I was just checking was:
    1> I imported the existing Headmast.par & ToolArea.par file.
    2> Integrated both the methods together into HeadMast.par file.
    <i>The Help, Personlize& LogOut options that we see on right side of MastHead is into a table.
    I want to insert the ToolArea below it (within the HeadMast), such that the search option appears below it.</i>
    3> Integrated the Portalapp.xml file, added Property tags from Search Portalapp.xml file into HeadMast Portalapp.xml file.
    4> To test whether its possible to add anything below the Help, Personalize & LogOut table, I have successfully added a text to check the results. I need to replace this text with the Search textbox & button.
    Can it be possible this way...?
    Am I exploring different options.
    Have I missed anything in the above steps??
    Please help.
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu

  • IPhone 3G Search Function

    Has anyone else noticed how lame the search function is in Contacts and the other apps? What the deal? Couldn't they have integrated an app that searched the entire memory rather than just the first and second name in Contacts?

    Yes, the lack of a search function on Calendar is the ONLY reason I haven't bought an iphone yet. I have over 1000 appointments yearly (I am a psychiatrist), and must be able to search for a name in my appointment calendar. So far, as of July 23, I have seen NO apps at the apps store to address this. ANYBODY out there working on one? Seems a no-brainer. Whoever were to develop such an app would probably corner the app market pretty quickly and robustly. Can a clever app programer come to the rescue please!

  • Can we collect email addresses and build a search function?

    We want to build an app using InDesign, DPS and Edge Animate (plus some custom html5 and javascript if necessary/possible).
    We'd like to have a form somewhere in the app where users can enter their email addresses if they want to receive email from us. Is this possible with these tools and some html5 and javascript brought in to InDesign?
    Can we build a search function within the app that searches all the text?
    I understand that by using a Folio Overlay, the app can bring in a web page. So, could we, for example, create a web page that shows latest stock prices, and then bring that into the Folio Overlay, so that the user always sees those latest prices? What happens if the user's iPad is not connected to the internet? Can we set a default image for the overlay? Also, will the app remember the page it downloaded last time if it can't connect at a later date?
    Thanks.

    Hi,
    We developed the first example of search within a DPS folio for the Sotheby's app. In addition, MEI  integrated search within the core of our DPS storefront and custom UI solution, MEI Portico. Within a Portico-powered UI, you can search for folios, specific articles and other content and can then navigate directly to the desired content.
    Please feel free to reach out to discuss.
    Best,
    Brett Kizner
    Product Marketing Director
    MEI
    [email protected]

  • IPhone 5s Voice memo to mp3. Now music on iPhone. Won't play from search function.

    I record my band rehearsals using the voice memo on my iPhone 5s. Then I sync to iTunes and convert file to mp3. When i sync back to my iPhone it appears in my music. So far, so good. When I use the search function in music it finds the file but won't play from tapping. I must troll through all my music songs (currently 2227 of them) to find it and then play it. Is it something to do with it still being under the genre "voice memos" or what ?  Anybody help please.  Thanks

    iWeb is an application to create webpages with.
    It used to be part of the iLife suite of applications.
    iWeb has no knowledge of the internal speaker on your iPhone.
    You may want to ask in the right forum.

  • How do I use the new search function for ipod?

    itunes 7.0 and ipod is up to date:
    when i scroll through the music, i get the nifty little grey box with the letter in it, but how do i get to the search where i use the click wheel to input a query and search through all items in my ipod?

    Unless your iPod is one of the recently announced upgraded 30GB or 80GB iPods, you don't have the search function. It was not added to existing devices in the recent update. It may or may not be added in some future software update but there's no official word on that.

  • Search function in Help not working in any application

    The Search function is not working in any application's Help. Upon entering the terms I need help for I get a hang at "Searching..." but never any result. This problem started sometime in the last year or so. Prior to that the search function in Help worked fine. My network connectivity is excellent.
    I recently reinstalled OS X 10.5 but I'm sure the problem existed before that and persisted after the reinstall.
    The reinstall was due to upgrading to 10.7 and only then finding that I had lost needed functionality, but I don't think this has anything to do with the current problem. All other aspects of Help seem to be working fine
    I don't find any reference to this problem anywhere so I'm hoping someone can help with my Help(!) problem. Thanks in advance.

    Try running your Leopard install disk again, as well as the 10.5.8 combo updater. This might reinstall any 'missing bits'.
    You can do this without deleting the hard drive, just install straight over your existing system, but close all applications and external devices first.
    Or you could also do this via an Archive and Instal:
    How to Archive & Install:
    http://support.apple.com/kb/HT1710
    and this also:
    http://support.apple.com/kb/HT2196?viewlocale=en_US
    This document explains how to correctly reinstall a prior version of Mac OS X in the event that other troubleshooting does not resolve an issue:
    http://docs.info.apple.com/article.html?artnum=25404
    BUT: Don't install older versions of Mac OS than what came with your computer:
    http://support.apple.com/kb/HT2186?viewlocale=en_US

  • RH9 Webhelp Search function is not working properly

    Hi,
    My organization is using RH9 for a Webhelp project.  My company and our client are restricted to using IE9 for the online help I have created for this project, and our OS environment is Windows 7.  When I generate using the Webhelp layout, with the TOC, Index and Search options chosen, my resulting browser window shows two frames.  Left for the Contents/Index/Search and right for the content.  In the left panel, there are three links at the top for Contents, Index and Search.  When I click on the Search link, the only thing I see is the alphabet A-Z (which are links to filter items beginning with these letters (much like the index link) and a list of what I would say is garbage.  For example, if I click on H, I see items like "half 1 2 3" or "held" or "honor # 1 2 3 4 5 6 7 8", etc.  If I run my cursor down this list, I notice that maybe the word honor is a link.  If clicked it brings up one of my topic pages.  I can also click on the random numbers that appear, like clicking on 3 it brings up another topic page.  The search function does not allow me to type in a search criteria, since there is no search field as well.
    Do you have any suggestions for this issue?  Is this a bug, or do I need to change settings somewhere within RH9?  The same thing is happening when using this help project that is running on our clients server.  Is there any suggestion you can give to try and make this work properly?

    Rick,  Thanks for stepping in.    I assumed that was the reason why I was not receiving the search field, and that is fine for now.  We have discussed with our client the possibility of having two different help projects one for each, but that decision was kind of put on the back burner.
    However, the other issue I am having is still there and I don't quite understand why.  Since I only have clickable A-Zs for the search, and it lists links much like the Index section, I'm still seeing lists of just numbers and characters (i.e., "# 1 2 3 4 5", or "%" or "& 1 2 3 4 5" sometimes all the way up to 18 or so).  And each of these characters or numbers are clickable links as well to either page that doesn't contain that number or to nothing.
    Doing a bit more research, I have noticed that a lot of these links are being picked up by the PDF file we have as part of the project.  Our help project has a link to the documented version of the help in the form of a User Guide.pdf file.  So the search is listing items from that guide like the heading numbers 1.0, 1.0.1, etc.  Also each of these are clickable links that go nowhere.  But then there is still the numbers 1, 2, etc that go to pages that don't have this anywhere on the page.
    Do you have any insight as to why these types of things are being listed under Search at all?  They make that selection look very messy and unorganized.  Not professional at all.  I have checked and tested the properties settings and can't seem to find what is causing this to happen.  Any idea would be most appreciated!!

Maybe you are looking for

  • One inventory for multiple ORACLE_HOMEs ?

    RDBMS version:11.2, 10.2 Platform : AIX In one server , we are going to install multiple ORACLE_HOMEs (both 10.2 and 11.2). I have been asked to configure separate inventory for each ORACLE_HOME (each inventory within its own ORACLE_HOME). But i came

  • How do I burn a CD when I can't find it...

    This is a ridiculously simple thing. I can't figure it out. I want to burn a CD from a flash memory drive. I inserted a black CD (and verified it was blank via System Profiler). My problem is two fold: 1. I can't find any application from which to st

  • Help with Title and Author Displaying on the iBooks Bookshelf.

    I have created a book using iBooks Author and connected my iPad to my iMac to Preview my book, the book previews correctly the information I have entered into iBooks Author, however when you look on the iBooks Bookshelf it says UNKNOWN TITLE and UNKN

  • "After Effects can't find Quicktime installed on this system" error message. Using Mac 10.9.2

    First time I've had to launch After Effects Creative cloud on my new mac running 10.9.2 I keep getting an error message saying AE can't find quicktime installed on this system. I've been able to work in After Effects but can't make a quicktime movie

  • Essbase 11.1.2.1 Users not inheriting filter access from group

    Hello all! We installed Essbase 11.1.2.1 in a distributed environment integrated with Shared Services and ran into an issue when provisioning users via groups. Using Shared Services we created a Native Directory Group and User. We provisioned the gro