Hi Sam,

I understand what is happening here.

TurboLucne is, in fact indexing all your fields, but by default it only 
searches the fields listed in the turbolucene.search_fields configuration 
setting (which default to just id).  You need to either specify the fields in 
your search query (field1:term field2:term) or change the config setting so 
that TurboLucene will search the right fields by default.

Also, as I mentioned in another thread, lets move your TurboLucene questions 
over to the TurboLucene mailing list.  I think that is a better place for 
them.  Sound good? :)

Hope this helps.  Let me know how things go okay?

Thanks,
Krys

On Monday 4 June 2007 04:05, SamDonaldson wrote:
> So I did some debugging and found that if my query str is exactly my
> id in make_document, then I get back a result, else I don't get
> anything.  It seems like pylucene is not indexing the rest of my
> specified fields.  Has anybody run into this?
>
> Thanks,
>
> Sam
>
> On Jun 3, 10:40 pm, SamDonaldson <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > So i'm able to add to the index and update and I get the relevant
> > output messages printed out that the index is updated.  When I go to
> > turbolucene.search('blah'), it doesn't seem to return any results.
> > Would you happen to know what I'm doing wrong here?  I get the object,
> > add it to turbolucene, update, and then search for that string, but no
> > results.  I'm not using the search_form in teh tutorial.  I'm passing
> > the string in directly.
> >
> > Thanks,
> > Sam
>
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to