oh, I see. Thanks so much! 在 2013年8月7日星期三UTC+8下午2时09分22秒,Pat Allan写道: > > There's no file paths in your database? > > Because Sphinx is only reading data from the database, you'll need to have > either the file paths or the file contents itself in the database. > > On 07/08/2013, at 4:07 PM, [email protected] <javascript:> wrote: > > > sorry, files are in git repository > > > > 在 2013年8月7日星期三UTC+8下午1时59分21秒,Pat Allan写道: > > If a column has the absolute file path (not relative), then Sphinx can > load in the file contents through a field: > > > > indexes file_path_column, :file => true > > > > On 07/08/2013, at 3:39 PM, [email protected] wrote: > > > > > First I show my requirement: I want to search in my website, in which > has many projects,in every project has many directory and files.Now I need > to search file name and file content.Now I use sphinx + thinking sphinx, I > only can search file name, but I didn't how to index my file content.Now > file content didn't insert into my database. Do I have to insert every > file content into DB? > > > > > > -- > > > You received this message because you are subscribed to the Google > Groups "Thinking Sphinx" group. > > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > > To post to this group, send email to [email protected]. > > > Visit this group at http://groups.google.com/group/thinking-sphinx. > > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "Thinking Sphinx" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > To post to this group, send email to > > [email protected]<javascript:>. > > > Visit this group at http://groups.google.com/group/thinking-sphinx. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > >
-- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/thinking-sphinx. For more options, visit https://groups.google.com/groups/opt_out.
