TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Denitsa Zhekova
NA
13
766
Search functionality
Nov 24 2017 2:47 AM
Hello,
I have a problem with creating search functionality, I read a lot of stuff but I cannot do it. I would like to keep it simple.. I think that with elasticsearch will be good, because If possible I would like searching by tags also. It is a big project about social ads/like services, selling items/..
namespace Model
{
public class Ad : Post
{
//public Price Price = new Price();
public ISet
Categories { get; set; }
public string Title { get; set; }
public DateTime ExpDate { get; set; }
public int Views { get; set; }
}
}
//i would like to use the title for searching
namespace Model
{
public class Post
{
public string Id { get; set; }
public string Content { get; set; }
public string ImageSource { get; set; }
public DateTime DatePosted { get; set; }
public DateTime LastEdited { get; set; }
}
}
//I would like to use content from here
Thank you in advance.
I tought that I should do it like this
Reply
Answers (
1
)
How to create a new AWS RDS Database from C#
Can we create mvc5 project with vs2015 and vs2017