Using q.alt, skipping dismax handler ?

20 views
Skip to first unread message

rafi

unread,
Apr 6, 2015, 12:41:57 PM4/6/15
to sol...@googlegroups.com
What is the simplest way to use q.alt, instead of "q" using Solrnet?

Mauricio Scheffer

unread,
Apr 7, 2015, 5:24:06 AM4/7/15
to sol...@googlegroups.com
The simplest way I can think of is setting the main query to `new SolrQuery("")` (i.e. blank) then set "q.alt" using the ExtraParams property. 
You can even use SolrNet query objects if you want, you just have to serialize them manually to a string using ISolrQuerySerializer.

Cheers




--
Mauricio

On Mon, Apr 6, 2015 at 5:41 PM, rafi <rafis...@gmail.com> wrote:
What is the simplest way to use q.alt, instead of "q" using Solrnet?

--
You received this message because you are subscribed to the Google Groups "SolrNet" group.
To unsubscribe from this group and stop receiving emails from it, send an email to solrnet+u...@googlegroups.com.
To post to this group, send email to sol...@googlegroups.com.
Visit this group at http://groups.google.com/group/solrnet.
For more options, visit https://groups.google.com/d/optout.

rafi

unread,
Apr 8, 2015, 6:34:41 PM4/8/15
to sol...@googlegroups.com
Thank you that worked.
Reply all
Reply to author
Forward
0 new messages