What I do here in search_indexes.py is this:

from haystack import site
from atl_cms.content_type.models import News, Document

site.register(News)
site.register(Document)




On Fri, Apr 23, 2010 at 4:18 AM, Ray McBride <[email protected]> wrote:

> You should have defined the fields yourself in you search_indexes.py
> file in your app
>
> http://docs.haystacksearch.org/dev/searchindex_api.html#quick-start
>
> Solr knows about these because you copy your generated schema.xml file
> into the conf folder
>
> Ray
>
> On Apr 22, 6:46 pm, Ariel <[email protected]> wrote:
> > I don't know how to know that because I don't know the name of the fields
> in
> > the index.
> > How could I know it ???
> > Regards
> > Ariel
> >
> >
> >
> >
> >
> > On Wed, Apr 21, 2010 at 4:40 AM, Ray McBride <[email protected]>
> wrote:
> > > How many results are returned when you search using the solr admin
> > > interface?
> >
> > > Are you using the code that I posted for you previously?
> >
> > > Ray
> >
> > > On Apr 19, 6:29 pm, Ariel <[email protected]> wrote:
> > > > Hi everybody:
> > > > I have a big problem with pagination using apache solr and haystack,
> this
> > > is
> > > > what it is happening: I have a site where the news are being indexing
> > > with
> > > > haystack and solr, but the problem is that when a I make the search
> the
> > > > pagination is showing me more match results that what really exists
> even
> > > > more results that total news in my database, for example I have only
> 20
> > > news
> > > > in the database but when I make a search the pagination said 40
> matching
> > > > results are found then when I navigate with the "next" link to see
> the
> > > other
> > > > results any result is showed.
> >
> > > > I hope I have made a good explanation of my problem.
> > > > Could you help me please ???
> > > > I don't know why it is happening that ????
> > > > Regards.
> > > > Ariel
> >
> > > > --
> > > > You received this message because you are subscribed to the Google
> Groups
> > > "Django users" group.
> > > > To post to this group, send email to [email protected].
> > > > To unsubscribe from this group, send email to
> > > [email protected]<django-users%[email protected]>
> <django-users%2bunsubscr...@google groups.com>
> > > .
> > > > For more options, visit this group athttp://
> > > groups.google.com/group/django-users?hl=en.
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Django users" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<django-users%[email protected]>
> <django-users%2bunsubscr...@google groups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/django-users?hl=en.
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Django users" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> [email protected]<django-users%[email protected]>
> .
> > For more options, visit this group athttp://
> groups.google.com/group/django-users?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<django-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to