Creating a Search engine question

HI,
I have a question. I built a search engine for my site to just rip through my DB and show the records.
Currently if someone enters "big white dog", my app does an sql statement using LIKE and searches for '%big white dog%'. This is ok but I have a few problems.
1) It should search for big AND white AND dog. So how do i break up the string into separate words.
2) Currently if someone types in ring, things that say bearing are coming up. I tried doing LIKE '% ring %' (with the spaces) but if the word ring is the first word in the record that im scanning, it wont come up.
Basically I need some help from someone that has done this before. Im not looking for entire search engine code. Just need someone to explain the technique and then I can get it done.
Thanks so much for your time.

ok, so now i have the string broken apart but this is my last and final problem.
record1 = 'Wheel bearing';
record2 = 'ring - diamond';
Lets say the above two records are in my db. If i search for like %ring% both records come up, which is wrong. ONly the second record should come up. If i change it to like % ring % it doesnt bring up anything because there is no space before ring in record2. I have tested this on many search engines and they get this to work, but I dont know how they do it.
Any suggestions???
THanks

Similar Messages

  • Is JSP powerful for creating a search engine?

    dear fellow friends,
    I am very new to JSP and i want to program a search engine for my final year degree project. So may i just for some advise whether or not that JSP is powerful or good for creating a search engine? Or is there any other recommendations? i am also new to search engine. Some guidelines and some resources would be very helpful for me. Thanks alot!
    regards,
    Aaron V

    I can't offer you any links, although you could probably find some on sourceforge, if you wanted to. The danger with looking at other people's code on a degree project is that if you even take ideas from it it can constitute plagiarism- be very careful.
    Java is appropriate for the kind of application you are describing but you will definitely want to look at using Regular expressions (good tutorial over at http://www.javaworld.com - this is a good place to look generally if you want to learn about features of the language.
    You wouldn't have to use XML but you would definitely need to separate logic and display so you will need to handle java code. You will also need a jsp server to run the pages (tomcat is the standard one) and so on.
    Good luck with it!

  • Create a Search Engine

    Hi,
    I would like to know how to create a search engine in the report section. For an example, if a list of names display, I want the user to be able to find a name without going down the list. In another words, just type a name (last, first), once the name is found, the name will be display on the screen automatically.
    thanks -Patty

    Vikas,
    You're correct - that whitepaper is specific to the HTML DB 1.5 documentation. The online help file names changed in 1.6, so it's out of date.
    What you did to generate this file is fine, at least for purposes of this example. You'll find that many titles are duplicated, and ultimately, it's the text in most of the <h1> tags that you want. There is a file called doc_map.xml, which you could consider transforming to whatever you need.
    Your request to "zoom in" is ultimately a request to crawl the documents. Oracle Text does not automagically crawl documents, but as you probably guessed, you could always build something to do that (or use Oracle UltraSearch/Enterprise Search). There's some demonstration code on the Text site on OTN (http://www.oracle.com/technology/sample_code/products/text/index.html), but I've personally never examined it.
    Joel

  • How do you create a search engine in Dreamweaver?

    I will like to know how to create a search engine in Dreamweaver?  I am using the following PHP and MAMP for my testing server.  I am looking for a link or information to point me in the right direction.
    Thank You!

    Or use a commercially available search on your website.
    http://Freefind.com
    http://www.wrensoft.com/zoom/
    http://www.google.com/sitesearch/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Flex store example + deep linking search engine question or LocalShared objects

    hi, i wanna make a onlineshop site.
    i'm wondering what would be the best approach.
    if you use the adobe demo ...
    http://www.adobe.com/devnet/flex/samples/flex_store/
    + some other MXML and ActionScript tricks and build a 1 app web.
    on a old style website you would have the basic 5 pages + a page for every product.
    witch can be easily indexed by a search engine.
    as everyone knows, the more pages you have, the greater the chance is that some search engine will show your article/product, depending the keywords of the person is using (+ some other factors).
    i know that google can index in SWF files.
    but i don't think they will actually execute the application you made and scan all products you offer via the 'Flex Store' demo.
    the cool part about 'Flex Store' demo, you user doesn't need to wait for page loads.
    i have understood, that local shared object's can only the used by the same application.
    i would like to have some input from you guys.
    because i think the Flex Store demo rock, especialy the product compare and price search options.
    kind regards

    Congrats to Carmelo!
     Windows Phone and Windows Store Apps Technical Guru - February 2015  
    Carmelo La Monica
    Windows Phone 8: control Nokia Maps (Part 3)
    JH: "Part 3 of the series how to work with the Nokia maps control. As the previous articles this one contains a lot of code snippets and some pictures. Good work!"
    Ed Price: "A great topic, a fantastic breakdown of sections with clear descriptions, and a nice mix of code formatting and helpful images! Another stellar article from Carmelo! Great job including the link back at the end to the portal
    article!"
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • How to create Search Engine for a site

    I have to create a search engine to search a 900 page web site. Most of the pages are JSPs. Is there any standard approach for doing this.
    Thanks
    sreenidhi

    There are various open source search engines (notably HT://Dig) if you look for them. There are also quite a few people who offer search services on your site with their engine (such as google and Atomz.) It is probably easier to do this than to work on the epic job of writing your own.

  • Online search engine code using Spring+JDBCTemplate

    Hi ,
    I have a requirement to create the search engine using Spring and JDBCDao Support.
    So, any one can help me in coding.
    hope for help,
    thanks and regards
    vasan

    Hi,
    I think to export the logic to the beans will not help a lot, because the .jsp and the beans are compiled together to a servlet anyway. And so, it doesn`t really matter, where the logic has been befor, after compilation it will be in the servlet.. But to have java code logic in the bean and not in the jsp is a good idea anyway. It is always nice to have as few scriptlet code as possible, makes the application more readable..
    I think you should better have a closer look to the search logic, and the database. For such huge data amount, the Oracle database would be the best. And then let the database do as many of the search work as possible, because java is a little slow, and the database will be allways faster for this things of work..
    lexip

  • Search Engine Maybe APPLE?

    These little known facts about Google can hurt Apple i think.
    1.Google is one of the most powerful companies a multimillion dollar empire to say the least could one day supreme leaders.
    2. Googles homepage loads the fastest out of any search engine,I will agree but does it sound like to me a Challenge I think so???
    3.Google has 2 million searches in a second, why couldn't apple beat that by doubling that?
    4. Google owns Youtube, android where as apple well they hold their self so why shouldn't they create a video page such as like youtube?
         My point being Google is great and all I use it as my search engine because its plain jane but what I don't understand is why apple hasn't created a Search Engine 10x better then google because in my eyes nothing beats an APPLE? Apple a day keeps the doctor away they say well I believe that when I don't have to buy Norton security or any of that bull crap, once again why don't Apple create a virus protected Search Engine yeah I know nothing is perfect but a safe search engine would be awesome for them sorry microsoft users lol. Apple you should create a Search Engine Be the number one You are.
    Stay Reliable Search Engine
    Be a Safe Search Engine
    A fast Search Engine
    Fun Search Engine
    Last be an APPLE Search Engine

    This is not the place to discuss what Apple should do.
    Use the feedback links at http://www.apple.com/feedback

  • Content Area Search Engine

    I need to create a search engine portlet for my content areas , in fact I found two portlets in the portal portlet provider, I would like to know where could I find this portlets' source code in order to modify them and create my own portlet, or is there another way to create the search engine?
    Could anybody help me?
    Thanks in Advance
    Gustavo Ramos

    Maybe you should have a look at CardLayout instead of doing a c.remove() / c.add() every time the user switches.

  • Compass Search Engine .. Category

    Hi,
    I have a compass search engine installed over iplanet web server 4.
    I also have an instance of web server 6 installed on the host machine.
    The compass search engine is used for searching the contents of the iws6. There is a requirement for creating another search engine, which is search only the documents under a particular sub directory.
    I am using spider technique to generate the search index database. My concern here is even if i am able to index below a particular sub directory, would it not index the pages above it.
    To clarify this suppose there is a page in docroot/dep/finance and if it has URL reference to a page in docroot/dep. And if i run the spider on docroot/dep/finance would it not index also docroot/dep.
    Any suggestion is welcome.
    Thanks in advance
    Giriraj

    For the MacCleaner pop, try AdwareMedic:
    http://www.adwaremedic.com/index.php
    More details regarding the search engine changing would be helpful.
    Ciao.

  • Creating and Enhancing a search engine

    How can I create or Enhance a search engine will any one give me an idea about this plz

    How can I create or Enhance a search engine will any
    one give me an idea about this plzBy browsing the web or at the very least posting in the Algorithms forum. This is not a question related to Java programming.

  • Please create "on-the-fly change search engine" option ALSO for when we mark [word] in a text, then right-click, then choose "Search [engine x] for [word]"?

    In Firefox 34, you have changed the search bar.
    The new style is perfect for those who always starts by typing in, letter for letter, the search term.
    People such as myself, we almost never type in the search term,
    but instead we mark a [word] in a text, right-click this marked [word], then select "Search [engine x] for [word]".
    Speaking for myself, I have now a total of 36 search engine providers, but I usually only use 7 of those.
    I use "Wikipedia (English)" most of the time..
    - but then I will switch to e.g. "AniDB" and use that one for 1 hour..
    - or switch to "Google" and use that one for 30 minutes..
    - or switch to "Wikipedia (Norwegian)" and use that one for 2 hours..
    - or switch to "Wiktionary (English)" and use that one for 15 minutes..
    ..and then I will switch back to "Wikipedia (English)" again.
    The way the search bar was in Firefox 33 and earlier, I could very easily switch the default search engine.
    Just one click to open the drop-down menu, then choose one.
    In Firefox 34, I have to choose "Tools" -> "Options", the "Search" tab..
    - before I can THEN click to open the drop-down menu.
    4 clicks instead of 1, that's like 400% more work..!
    Also, the fact that I have to go into "Options".. make this..
    ..I don't know how to put it, it's a kind of psychological barrier that I have to overcome each time.
    I mean, before Firefox 34, I went to the "Options" window like maybe 4 times each YEAR,
    now, I have to go there 4 times each DAY..!
    I am not saying you should revert to the old style Search bar,
    as I feel that those you are typing search terms are indeed very happy for this new style..
    Instead, I think of 2 possible ways to create happiness also for us that do mark text and choose "Search.."
    1) An "on-the-fly change search engine" option ALSO for when we mark [word] in a text, then right-click, then choose "Search [engine x] for [word]".
    This could work as a cascading menu option, where it says..
    Search for [word] in -> [engine x]
    ..and where [engine x] was the current default engine, and all the other engines was listed underneath,
    just like the drop-down menu when you switch the default engine.
    Additionally, you could have an on / off checkbox in the "Options" "Search" tab, where you had this option:
    "Change default search engine when choosing another from the drop-down menu"
    THIS would actually be PERFECT.. It would be even much BETTER than in Firefox 33 and earlier..! :-)
    2) If there are things with the first option that don't work (something I've missed etc),
    then maybe you could have an on / off checkbox in the "Options" "Search" tab, where you had this option:
    "Use old-style search bar"
    This would be off by default, but when switched on, it would give us the old Firefox 33 style Search bar.

    Strongly recommend Context Search extension which will solve your problem
    - https://addons.mozilla.org/en-US/firefox/addon/context-search/?src=search

  • How can i optimize my SEARCH ENGINE???I use godaddy.i contact them and they give me this conclusion:Search engines are not pulling up your other pages on your website because it is created with javascript. the content on the pages, (photo gallery.....

    conclusion from godaddy:
    Search engines are not pulling up your other pages on your website because it is created with javascript.
    the content on the pages, (photo gallery, My Recipes/Blog, History, Friends) need to be formatted to HTML, PHP or CSS. No search engines (google, Yahoo, Bing) can crawl//analyze webpages built with javascript.
    See if Apple allows iweb to create the pages in HTML format and ask how to make those changes.
    I spend more then 1 hour on the phone with them but we didn't find the solution...
    please i need help because like this nobody can rich my website...
    www.chefdiego.com
    thank you

    The part of iWeb pages that give the search engines problem is the navbar.  That's javascript based.  One way to get around that is to create another blank page in the site that's not  included in the navbar. 
    Add a text based navbar in that page with just the other pages in the site. 
    Also you can use that page for creating the sitemap for Google at Create your Google Sitemap Online - XML Sitemaps Generator.
    Have you let Google know your site exists? This website describes how to get it recognized: Get your iWeb website found in search engines like Google Yahoo MSN and Bing.
    OT

  • Creating webpage in fireworks CS3. Is text searchable by search engines?

    Hello all,
    I started using fireworks cs3 to design webpages. I've been
    using Dreamweaver cs3. I'm new to the whole flash designing. When
    you put text and images to design your whole layout, is the text
    searchable by search engines?
    I noticed that once you save your file as a swf when you open
    it you can't highlight any text to copy? I was wondering how I
    would go about putting the meta tag info in and make the text so
    the search engines would be able to scan the pages to pull up in
    search results?
    Thank you all!

    FW can be used to create prototype HTML pages, but those
    should never be
    used for real production work. The code is fragile and
    sub-optimal (as is
    any wizard-based HTML). Your graphics application should be
    used to produce
    the images used on the page, which is created in Dreamweaver.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "ttech7" <[email protected]> wrote in
    message
    news:go028j$cic$[email protected]..
    > Hello all,
    >
    > I started using fireworks cs3 to design webpages. I've
    been using
    > Dreamweaver
    > cs3. I'm new to the whole flash designing. When you put
    text and images
    > to
    > design your whole layout, is the text searchable by
    search engines?
    >
    > I noticed that once you save your file as a swf when you
    open it you can't
    > highlight any text to copy? I was wondering how I would
    go about putting
    > the
    > meta tag info in and make the text so the search engines
    would be able to
    > scan
    > the pages to pull up in search results?
    >
    > Thank you all!
    >

  • How to create an in-site search engine

    How does one manually create an in-site search engine (without using Google's site search engine or the like)? Is it very difficult and time consuming?

    If your site is dynamically populated with content from server-side databases, it's not hard.
    If your site is static, a 3rd party search function might be a better choice until you're ready to build a dynamic site.
    Zoom search engine
    http://www.wrensoft.com/zoom/
    Freefind
    http://www.freefind.com/
    Setting up a PHP environment in Dreamweaver
    http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html
    Building your first dynamic website – Part 1: Setting up your site and database connection
    http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

Maybe you are looking for