Web Forms :: Finding Best Algorithm For Search Page
Mar 30, 2010
I am creating a search page where we can find the product by entering the text.
ex: Brings on the night.
My query bring the records which contain atleast word from this.
Needs: 1. First row should contains the record with the given sentence. 2. second row next most matching. 3. Third row next matching ...etc
How to achieve this. Is there any algorithm for this.
View 11 Replies
Similar Messages:
Feb 23, 2010
I have a page that will receive an encrypted query string containing a user name, password & jobId, the problem is I don't want someone to be able to grab the encrypted url (browser history) and reuse it, so it has to change each time the page is requested.
The only way I can think of doing this is by having an encryption key associated with the the job and then change it after each time the page is requested. The client would either request the key or the entire url from a web service residing on my server.
Is this the best way to do this?
Is there a mutating encryption method out there I could use "out the box"?
View 3 Replies
Jul 30, 2010
Ranking of CONTAINSTABLE StatisticalWeight = Log2( ( 2 + IndexDocumentCount ) / KeyDocumentCount ) Rank = min( MaxQueryRank, HitCount * 16 * StatisticalWeight / MaxOccurrence ) can anyone explain this algorithm, more importantly i want to know about these variables used in this algorithm, whats their purpose?it would be more useful for me?
View 1 Replies
Mar 15, 2010
In ASP is there a searchbox control like asp:Search? Or are you having to create a textbox with a button and then executing the SQL query with the OnClick event handler.
View 2 Replies
Feb 4, 2011
I have this Rijndael algorithm below as class and my problem is when I tried to call this class from Code behind page the methods inside this class is not appearing with me
[Code]....
View 2 Replies
Apr 19, 2010
how to Add Search Control for Detailsview for search page... simple solution required.?
and is it possible to give field names to each page numbering?
View 3 Replies
Sep 2, 2010
I am developing a new project to list files and directories under an specified location on disk. I use normal methods like Directory.GetFiles() to achieve this task but the amount of files is getting very big (> 300000) and the site is becoming terrible slow.
I worked with Index server with previous versions of Asp.Net but I was wondering if there is a new way for my website running Asp.Net 4.0.
Also I heard something about Index Server is obsolete to achive file listings and search. Is there any new alternative?
View 2 Replies
Jan 28, 2010
what I'm looking to do is to get a web site search function where I can enter the URLs and body text myself rather than running a spider unless the spider can handle my url querystring structure. Obviously, something automatic would be best but I'm not too choosy as long as it is free.
View 2 Replies
Jan 21, 2011
I want to do a job portal where thousands of jobseekers will upload their resumes. If the employer comes and search for any keyword, say "3 year experienced java professional". It should fetch the resumes of all the job seekers who match the above creteria.
Technically it should search thousands of word documents(resumes) uploaded by the job seekers for the employer given key word and fetch all those records..I googled but didn't get any proper link.
View 6 Replies
Mar 11, 2010
We are rewriting a CGI Perl website to .NET and need to have site search capability. In the former site, we use the open source "Perlfect". Does anyone know if there is something similar for .NET or could make any recommendations?
View 4 Replies
Feb 18, 2010
I wants to implement free text search utility for my web project,
to implement greate search utility for free text.
Also i have some knowledge of SQL SERVER 2005's FULL Text utility.
View 2 Replies
Apr 4, 2011
It is about ASP.NET MVC3. I have a page with at the top some search criteria and at the bottom the resulting data. The user can type some criteria and use a submit button to retieve data. In my controller, I have an ActionResult function for managing these criteria and return to the same page with a ViewModel class filled.
The problem: the user can click on a line in the resulting table for viewing a detail page. On the detail page, he can navigate to an edit page for editing data. On this page (edit data) I would like to able the user to go back to the search result page (in fact: navigate back two times). What is the best way to proceed? If I "simply" use an ActionLink (without posting data) to my search result page, it will simply display an empty result page with empty search criteria. Maybe I need to keep my search criteria in a session variable? I don't like this kind of thing...
View 1 Replies
Mar 27, 2011
simpel search form. that redirect to a search result page.
View 4 Replies
Jan 16, 2011
I have a control in a content page that I want to find the width and left attributes of the style. I am trying to find this from Javascript code that exists on the Master Page. How do I do that?
View 1 Replies
Feb 13, 2010
to write function in C#
I need to write function for this algorithm.
SSCC
The check digit calculation uses the standard method. Suppose you want to calculate the check digit for ID number 10614141192837465.
Step One: From the right to left, start with odd position, assign the odd/even position to each digit.
Index
1
2
3
4
5
Digit
1
0
6
1
Position
odd
even
odd
even
Step Two: Sum all digits in odd position and multiply the result by 3.
(1+6+4+4+1+2+3+4+5)*3=90
Step Three: Sum all digits in even position.
(0+1+1+1+9+8+7+6)=33
Step Four: Sum the results of step three and four:
90+33=123
Step Five: Divide the result of step four by 10. The check digit is the number which adds the remainder to 10. In our case, divide 123 by 10 we get the remainder 3. The check digit then is the result of
10-3=7.
View 5 Replies
Jan 15, 2011
Is it possible to locate a div by "id" that is part of the content from the code-behind of its master page?
View 2 Replies
Jan 5, 2010
I have a custom listbox control intern it has "hidden input server control".and i want assign values to that hidden control.That custom control is in table which runs at server.When i try to find hidden control using Page.Findcontrol and <tblserver>.findcontrol it is returing with null.Can you please help on this.
Note: If i use Request["HiddenCtrl"] am gettting values,but i want assign values to that control.
View 4 Replies
Jul 27, 2010
I have the following method in a class withing a website.
public static void Authorise(int role, Page callingPage)
{
callingPage.Master.FindControl("divUnauthorised").Visible = true;
callingPage.Master.FindControl("ContentPlaceHolder2").Visible = false;
}
Now this works fine but I really want to just have the one parameter of role and not require the page to pass itself into the method. Is there a way of finding the object that called the method and casting it to a System.Web.UI.Page?
View 2 Replies
Feb 16, 2011
i have an xml file to store data. then, the data was displayed in other webpage, named display.aspx and display2.aspx.
now, when user enter file name in the textbox, it will search and display the web page that related.
here is my coding, but it is too direct.
[Code]....
actually, i didn't want to declare the lot num. can i do that?
View 1 Replies
Oct 16, 2010
I have a codebehind.vb for a master page from which I'm trying to find a hiddenfield in the content page. I was finding it like this without a hitch...
[Code]....
View 2 Replies
Jun 25, 2010
I recently built a table dynamically on a page.
this is how I pulled the value back to fill in the text box in the table. With no master page.
TextBox tb = (TextBox)table.Rows[i].Cells[j].FindControl("TextBoxRow_" + i + "Col_" + j);
tb.Text = Request.Form["TextBoxRow_" + i + "Col_" + j];
Now that I've added a master page to this things apparently have gotten more complicated. This won't fill the value for the textbox in the table cell that I want. I know the value still exists because if I do this
Request.Form.GetValues("ctl00$MainContent$TextBoxRow_" + i + "Col_1")[0]
Has the value that I want to put into that text box. I know the text box gets created because it's there when the page refreshes. But I can't seem to find that text box so i can put a value in it.
View 7 Replies
Aug 10, 2013
how to embed a search engine into all asp.net page? i want to add a search engine which allow user to input key words then display some title which has the keywords.
View 1 Replies
Jul 29, 2010
I am in a situation where I want a new query on clicking the next page(in grid paging). I have some specific entries in my DB against every year. So suppose when first the grid loads it displays the records of 2010 and when I click the page 2 (in page number area) it displays the records of 2009 and similarly on page 3 it displays 2008 etc...
If it is possible what the approaches I can adopt?
View 2 Replies
Jun 21, 2010
PasswordDeriveBytes take 4 paramteres and return an encrypted key basead on 4 parameters: passPhrase, saltValue, hashAlgoithm and password iteration
I wonder what algorithm PasswordDeviveBytes are using, so I can tell someone who are not .NET programmer that this secretkey was made by that alogorithm and that he can use this algorithm also - And then he should get the same results as PasswordDeriveBytes method
View 2 Replies
Dec 1, 2010
We are converting an ASP site (using DotNetNuke) to a new PHP site. The only thing we have right now is a full export of the existing database. One of the tables is called "aspnet_Membership" and contains the following fields:
Password (looks like base64)
PasswordFormat (always value 2)
PasswordSalt (looks like base64)
PasswordQuestion (always empty)
PasswordAnswer (always empty)
We would like to decode these passwords and hash them to fit our own framework. From what I understand from the .NET documentation these kind of passwords can be decrypted. Is there an algorithm available that can do this or is it more complicated than that? Will it be possible if we create an ASP script on the current server?
View 2 Replies