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]. 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.
