Open davidkelley opened 10 years ago
I seem to recall that I never implemented it because I think it requires the disMax parser, and I'm currently defaulting the Lucene parser. It's been a really long time though, so I might be wrong on that. It might be a good time to also investigate using disMax (or eDisMax) as the default.
If you want to take a stab at implementing the fields option, it would be in Relation#query_via_solr. The one thing to keep in mind is that currently, if you pass .fulltext multiple times, they get AND'd together. In this case, the fulltext queries will have to go against the same fields. The Apache wiki appears to be down right now, but there's a page up there somewhere that shows what URL parameters have to be set to specify the fields.
Cool, w.r.t. the Lucene and disMax parser I will check this out before I start any implementation, thanks for giving me the heads up on this.
Hi jasonmk, I'd like to be able to search over models using specific fields, although I noticed that in your documentation for the class the
:fields
option is not yet implemented. Is this still the case?Happy to do the work for this if you can point me in the right direction :+1: