Click here to Skip to main content
15,887,175 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
Hi,

I have a requirement to create search functionality for a job portal I am developing now. The resumes uploaded by users are kept in a folder inside the application.
C#
if (fuUploadResume.PostedFile.ContentLength > 0)
                    {
                        fuUploadResume.SaveAs(Server.MapPath("~/Files/") + filename);
                        if (objcon.State == ConnectionState.Closed)
                            objcon.Open();
                        SqlCommand command = new SqlCommand("Insert into tm_UserResumes([id],[FileName],[FilePath],[userName]) values(@id,@Name,@Path,@userName)", objcon);
                        command.Parameters.AddWithValue("@id", Class1.EmployeeId);
                        command.Parameters.AddWithValue("@Name", filename);
                        command.Parameters.AddWithValue("@Path", "~/Files/" + filename);
                        {
                            Class1.FileName = filename;
                            Class1.filePath = "~/Files/" + filename;
                        }
                        command.Parameters.AddWithValue("@userName", desiredUName);
                        command.ExecuteNonQuery();
                        objcon.Close();
                        BindGridviewData();

                    }

Now I want to retrieve the Resumes that have the keywords entered by the Employer in the Search CV page.

I read about Lucene.Net and saw few samples, but all these does not explain about how to read through the word file contents. I wanted to retrieve the resumes which are kept in the "Files" Folder.

Please help me..

Thanks in Advance!
Posted
Updated 7-Sep-13 1:49am
v3
Comments
abbaspirmoradi 7-Sep-13 11:54am    
Are these keywords in header of Word doc's or into content of them?
Chaithannya 8-Sep-13 3:34am    
in the content.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900