You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by crisfromnova <cr...@gmail.com> on 2011/09/08 14:29:35 UTC

Re: How to write this query?

You can try this: q=key:value1^8 key=value2^4 key=value3^2.

It should be working.

--
View this message in context: http://lucene.472066.n3.nabble.com/How-to-write-this-query-tp3318577p3319491.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to write this query?

Posted by Erick Erickson <er...@gmail.com>.
So are you still having a problem, and if so what?

Best
Erick

On Sat, Sep 10, 2011 at 5:48 AM, crisfromnova <cr...@gmail.com> wrote:
> Hi,
>
> key:value1^8 key:value2^4 key:value3^2 is correct.
>
> Sorry for bad query written.
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/How-to-write-this-query-tp3318577p3325033.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Re: How to write this query?

Posted by crisfromnova <cr...@gmail.com>.
Hi,

key:value1^8 key:value2^4 key:value3^2 is correct.

Sorry for bad query written.

--
View this message in context: http://lucene.472066.n3.nabble.com/How-to-write-this-query-tp3318577p3325033.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to write this query?

Posted by Erick Erickson <er...@gmail.com>.
That's not valid query syntax at all.  what are you trying to do with key=?

You probably want something like
key:(value1^8 value2^4 value3^2)

or

key:value1^8 key:value2^4 key:value3^2

Best
Erick

On Thu, Sep 8, 2011 at 8:29 AM, crisfromnova <cr...@gmail.com> wrote:
> You can try this: q=key:value1^8 key=value2^4 key=value3^2.
>
> It should be working.
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/How-to-write-this-query-tp3318577p3319491.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>