Architecture :: Search Input Box For Searching Inside Website
Nov 22, 2010Does anyone has a idea how to write code for a search box to look for keywords,etc inside the website or sitemap?
View 11 RepliesDoes anyone has a idea how to write code for a search box to look for keywords,etc inside the website or sitemap?
View 11 RepliesI would like a site that offers the users the possibility to search over 2 datasources but as i tried to indicate in the subject title the searches are one after another where the result of search 1 is used as a parameter for searching the second datasource. The order of the search would depend for what you search (ideally). Some "fields" or "data" of course appear in both datasources.
To get more specific: datasource 1 contains chemical structures and the associated "id" for this structure + additonal properties. You can search for chemical structures here. (chemically intelligent system). datasource 2 contains documents which are indexed (full text) and have metadata fields one of them beeing above id. No chemical search possible.
The idea is now that i perform a search by chemical structure on datasource 1. As as a result I get a list of id's. These id's are then past into datasource 2 as parameter + also all additionaly parameters entered. There are API's available to perform above searches on the 2 datasources. Is this a reasonable approach? Would it be better to create somekind of a simple datawarehouse, eg a table with all numbers linked to all documents they appear in? (would't know how to achievie this actually since it's the 2 datasoruces are not the same rdbms).
I need to create a search engine for my website that searches my entire content and files stored in a database.What is the best way and easy to accomplish this?If can, please provide a few samples or links.
I'm refactoring an old website that has product search code littered throught the codebehind. I'm trying to encapsulate the search logic into its own class so I've created a Product class with a Search() method. I would like some suggestions about OO best practices so that the class is reusable and maintainable. The questions I have are:
- Should I make the search() method an instance method or make it static? For now the class is just really there to encapsulate my search logic
- If I make it an instance method should it return a list of products or should it populate a member property that I can access like p.Search(); var x = p.ProductList;
- The search method requires upward of 7 parameters of different types, what's the best way to provide them?
- pass them all i.e. p.Search (param1, param2, ..., param7)
- create a SearchParams structure in the class, populate it and pass that i.e. p.Search(searchParams)
- Instantiate a Product object and set properties on it that are used by the Search method i.e. p.ID = 123; etc.... p.Search();
I've used variations of the above before but would like to know what's the best way.
Developing a full featured search in my web application. so that in search for data in grid view or data list control and also for search for pages containing search text.
View 1 RepliesI made a usercontrol consisting of an AJAX tab control, a textbox, and a gridview. The gridview is pulling data from a SQL database. When the gridview is outside of the tab control and I begin to enter text into the textbox, quicksearch begins to filter the information in the gridview. When i put the gridview and textbox inside an AJAX tab control quicksearch does not work. How do i need to structure the textbox and the gridview on an ajax update panel to get it to work?
View 1 RepliesCan any body tell me how can i perform searching in the asp.net website when a user enter searching word in a text box i want to search in whole website that entered word. am using vb.net as code
View 6 Replieshow to make a search txtbox that includes the search keyword and when the user clicks the search keyword disappears
View 5 RepliesI am triyng to generate a report that analyzes what people are searching for on my website.I've managed to generate a report on exactly what people are searching for (full phrase), and another report that lists the appearance count of each word.The final report I need to create involves analyzing the occurances of two words.I have an SearchLog object, which I can load into a List<SearchLog>, each record containing information on a search performed on my website. The SearchLog object obviously contains a property for the search phrase, amoung other properties.Lets say there are 2 search logs I pull from my database:
1. Trash Bag Liners
2. Garbage Bag Liners
My query would need to return the following:
Bag Liners: 2
Trash Bag: 1
Garbage Bag: 1
I am trying to write a simple search form for our site. Here is my delima... I am trying to figure out that if there is nothing to search for in one textbox then search in the next textbox. The problem is that I dont know how to format my search string: For Example:
[code]....
I created a website. I would like to include a search box that searches the whole website and returns the results.
View 2 RepliesI am trying to implement a search solution for my website and was wondering whether there are other good search solutions I can use apart from adding a Google search box
View 1 RepliesI'm building a web app (VS2010, C#, .NET 4.0) and am aiming to make heavy use of objects. One particular object will be a 'user' object. One of the properties I am exposing for the object is the users Status (e.g. Pending, Active, Suspended, Expired). In the front end this status will be editable and I don't want users of the app to enter invalid statuses (Pendong, New, etc.). I could hard code the valid statuses in the front end making use of a radiobutton list or dropdownlist, but that isn't logically where the valid values should be defined, I would have thought that the objects class would be a better place.Now this leave me with two problems:
Which is the best place to define the valid values? If I add them to the class, how do I read and present them in the front end?I'm hoping that you guys can put me straight here. Are any of my ideas architectually correct, or if not then what would be better.
I need to have search form in my web app . I want visitor input text in textbox control and when he click on Search button it check DB table for his input text.
I dould like if user input "Windows 7" and I have the sentence in DB Records as "My be Some Windows Generation .." it list this record.
in other word I want to search for any word that users entered in DB.
Could any one tell me efficient way instead of split input text to words and then execute search query per word?
I need some guidance for an application I am working on. I have searched the web and the forum and found parts that answer my questions but I want to do this correctly. My solution uses LINQ to SQL to model the db and I have a repository that is querying my db everytime a controller needs to get some data for the view. I am initially anticipating a maximum of only about a few hundreds hits per day (if that). The website is a directory, with listings and requires a search functionality.
1. What options should I consider to avoid having my repository query the db everytime
2. The site contains a 'search' option, how can I implement this against my repository?
I guess I'm really looking for someone to point me in the right direction. So far I've looked at 'caching' the LINQ to SQL model and Lucene.NET but both seem overkill or am I missing the point?
not sure if I'm posting to the right thread or not.. but here is the questiondoes anyone know how to implement a best pratice on SEO?One of the example is: if the user types "brand new canon camera" then I want the system to find a sequence of string in the database that contains "new", "cannon", "camera". It is ok with or without the word "brand". However if the user types "HP laptop DV1000" and i want the system to find all HP laptop whether new or not but limited to specific series.
View 3 RepliesCode:
<div id="searchbox">
<form method="get" action="http://www.google.com/search">
<input type="text" name="q" size="15" maxlength="255" value="" />
<input type="hidden" name="sitesearch" value="ieee-sb.uwaterloo.ca/" />
<input type="submit" value="Search" />
</form>
</div>
I'm using this code to create a search bar that will search only on the website above. It works when I put it into a html file, but when I put it in the rightnav user control in the ASP.net application, it only refreshes the page.
I want to put my website project and admin website under same project as I want to use session and authentication of the main site. Also I want to show the admin, the page, where he has made changes. But the problem is whenever I will change anything in admin pages, I've to build the entire website. I don't want to do that. Can I build that separately?
I don't want to choose the option of building all pages separately as well.
Is there any alternatives of doing that. Separate projects for admin and website will come up with many other challenges. So I would like to avoid that.
I am wondering if there are any good articles you could point me to that would present the implementation details or options for delivering advanced search capabilities. Like what we see at [url] and similar Web sites offering vast numbers of products to be searched. The search process for these starts with a simple "Search" text box - usually with auto-suggest. Then the user can drill down and narrow the search by [for example] price, manufacture, size, capacity, and other relevant attributes of the product being searched.
When I navigate such sites and search for products, drilling down into the various categories, it's easy to think that there is some complex engine behind the scenes that generates dynamic SQL to satisfy the various and potentially extensive criterion required to satisfy the search requests.
Or could it be simpler than that? In any case, I understand this question may not have a specific answer; so I'm hoping for some article or reference implementation I could study. Short of that, if any of you have implemented advanced search of a product catalog (presumably searching products stored in a reasonably normalized database; through 3NF or so); any critical implementation considerations would be appreciated. I'm particularly interested in the meta data that may have to be present in the underlying data set in order to satisfy some of the search requests.
how will I able to create an Image Search Engine?
It is about using an Image and search similar images on web.
i want to perform Content based image retreival.
i created file uploading pages.
i have two images one is key image. search image (already stored in server) when i upload the below key image ,i have to get the above image.
is it possible to search content inside another image?
I have two text boxes for the user to enter UserName & First Name, both these fields are optional and not mandatory to fill.
once the user presses the Search button, i execute the following query to fetch matching records.
[Code]....
The problem is, in cases where User leaves both the textbox or one of the textbox empty/blank, in that case that particular field should be removed from where clause.
More like if something is entered then search for that particular record otherwise search for all the records.
i have 3 columns in database table. like below
StreetCode Address State
my Input is = 221 Hyd tg GA
StreetCode = 221
Address = Hyd tg or Hyd --> like that
State = GA
i need to search my database table with 3 columns matched records above string.
the input is not coming separately it is mixed of one string with space of string.
but see Address is = Hyd tg is one string how to seach 3 column values in one string input.
I want to use website search in my website. which one will be the best?
View 1 Repliesi have a textbox with button search.
i would like to search database of input text from textbox and give result out in one view.