try something like this:
q.alt=*:*&fq=keyphrase:hotel
though if you dont need to query across multiple fields, dismax is
probably not the best choice
On Tue, Jul 20, 2010 at 4:57 AM, olivier sallou
wrote:
> q will search in defaultSearchField if no field name is set, but you can
> specify in you
q will search in defaultSearchField if no field name is set, but you can
specify in your "q" param the fields you want to search into.
Dismax is a handler where you can specify to look in a number of fields for
the input query. In this case, you do not specify the fields and dismax will
look in th
I can't put q=keyphrase:hotel in my request using dismax handler. It returns
no result.
On Tue, Jul 20, 2010 at 1:19 PM, Chamnap Chhorn wrote:
> There are some default configuration on my solrconfig.xml that I didn't
> show you. I'm a little confused when reading
> http://wiki.apache.org/solr/Dis
There are some default configuration on my solrconfig.xml that I didn't show
you. I'm a little confused when reading
http://wiki.apache.org/solr/DisMaxRequestHandler#q. I think q is for plain
user input query.
On Tue, Jul 20, 2010 at 12:08 PM, olivier sallou
wrote:
> Hi,
> this is not very clear,
Hi,
this is not very clear, if you need to query only keyphrase, why don't you
query directly it? e.g. q=keyphrase:hotel ?
Furthermore, why dismax if only keyphrase field is of interest? dismax is
used to query multiple fields automatically.
At least dismax do not appear in your query (using query
I wonder how could i make a query to return only *all books* that has
keyphrase "web development" using dismax handler? A book has multiple
keyphrases (keyphrase is multivalued column). Do I have to pass q parameter?
Is it the correct one?
http://locahost:8081/solr/select?&q=hotel&fq=keyphrase:%2