You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 👍
The text was updated successfully, but these errors were encountered:
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.
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 👍
The text was updated successfully, but these errors were encountered: