Thank you Pat!

That worked great.

On Jun 3, 3:14 am, Pat Allan <[email protected]> wrote:
> Hi Benjamin
>
> I'm not *sure*, but I think the issue might be the .'s in the query could be 
> treated as word separators, so:
>   Medtr4g052100.1 | Glyma10g10160
> Gets treated as:
>   Medtr4g052100 & (1 | Glyma10g10160)
>
> Try wrapping each item in parentheses?
>   ( Medtr4g052100.1 ) | ( Glyma10g10160 )
>
> Cheers
>
> --
> Pat
>
> On 02/06/2011, at 10:03 PM, Benjamin Mulaosmanovic wrote:
>
>
>
>
>
>
>
> > I've got this in my controller:
>
> > search = `cat public/leggle/data/04_blastout/#{bl_file} | awk '{printf
> > substr($2,4); printf " | " }'`
> > @blast_search = GeneFamily.search_for_ids(search, :match_mode
> > => :boolean)
>
> > and many of my searches return none or just a few hits such as:
>
> > Sphinx Query (7.3ms)  Medtr4g052100.1 | Glyma10g10160 | Glyma10g01130
> > | Medtr6g071550.1 | Medtr3g093120.1 | Medtr2g094070.1
> >  Sphinx  Found 0 results
> > Rendered gene_families/blast.html.erb within layouts/application
> > (22.1ms)
> > Completed 200 OK in 3089ms (Views: 48.0ms | ActiveRecord: 3.1ms |
> > Sphinx: 7.3ms)
>
> > but if I search for a particular one in that list (like the second
> > one: Glyma10g10160) I get
>
> > Sphinx Query (6.4ms)  Glyma10g10160
> >  Sphinx  Found 1 result
>
> > What's going on!
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Thinking Sphinx" 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 
> > athttp://groups.google.com/group/thinking-sphinx?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" 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/thinking-sphinx?hl=en.

Reply via email to