Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8551757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T14:15:55+00:00 2026-06-11T14:15:55+00:00

I currently have a search that allows me to filter products down, for a

  • 0

I currently have a search that allows me to filter products down, for a number of combinations.

For instance, I might start with all products, then select by category, or popular stores – it simply crunches the data each time a filter is selected, showing totals for each type of filter and the possible selections still available. The user could do this several times to get to their final list.

I’m working with EF for the first time and the search will have approx 10k products in to start with.

The main difference in using EF as opposed to Linq2Sql or SP is that it not only gets the data but materializes them at the same time, Whilst a grab of page data takes 60ms the 10k products takes 4s. Whilst this doesn’t sound a lot, I can’t do it each time a user refreshes a search.

I could cache the data, but this does limit the application somewhat in terms of an upper threshold or server farms, although it will fit the bill now.

I was wondering however if there are any better way of achiveing this other than creating a bespoke SP. I don’t want to use javascript because it is fundamental to the working of the site.

Anyone have any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T14:15:57+00:00Added an answer on June 11, 2026 at 2:15 pm

    Refactored code so that navigation properties are not needed. This reduces number of tables queried from 3 to 1 and gives acceptable result.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have implemented a UISearchDisplayController that allows users to search a table. Currently the
I currently have an advanced search page that searches a number of fields in
I have a search page that allows the users to filter other users by
I have a search form on my website that allows users to search for
I currently have a search box in our admin navigation that is submitting to
Im currently developing an webapplication that are going to have an Autocomplete search form,
I have a search view that allows user's to search for their notecards, and
I'm currently developing a website that allows a search on a PostgreSQL database, the
I currently have this as a search: <%= form_tag users_path, :controller => 'users', :action
I currently have a JQGrid implementation. The first time I run the search it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.