On 22 oct, 07:54, chefsmart <moran.cors...@gmail.com> wrote:
> This is on stackoverflow.com also, but I guess not all Django users
> visit that site so I am posting this here also: -
>
> I have a Django app where most of the search is driven by foreign
> keys. For example, assuming Student, School, State, and
> EducationalQualification are Django models, the user would search for
> Students by specifying search criteria by selecting from lists of
> Schools, States, Degrees, Diplomas etc. That is, a search on students
> is essentially an answer to the question "Show students that belong to
> the following schools, and who belong to the following states, and who
> have the following degrees / diplomas".
>
> My Django app is purely database driven - there are no documents or
> webpages to search.
>
> In this case where searching for Django models are guided mostly by
> the foreign keys that model has, what search apps/solutions are most
> appropriate? The ones I have taken a look at all talk a lot about full
> text search, I may be wrong but I don't think that is appropriate in
> my case.
Given your specs, I don't see the point of fulltext search here.
Unless of course you want to add a more generic search feature (like
typing any random name or word and finding out which students have any
association with this name or word, directly or via related models).
> I am currently searching using Peter Herndon's approach
> (http://www.slideshare.net/tpherndon/django-search-presentation).
Seems ok to me.
> But this is
> expected to be a high-traffic site and I am worried about speed and
> performance.
Did you actually benched your current solution with representative
data and load ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---