2010 14:31
To: solr-user@lucene.apache.org
Subject: Re: Query: URl too long
Frederico,
This is indeed a SolrNet issue. You can switch to POST in queries by
implementing a ISolrConnection decorator. In the Get() method you'd
build a
POST request instead of the standard GET.
Please use the Sol
http://lucene.472066.n3.nabble.com/Query-URl-too-long-tp959990p960208.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
cene.apache.org
Subject: RE: Query: URl too long
> Yes, i guess i can't create an URI
> object that long.
>
> Can someone remember other options?
You can shorten your String by not repeating OR and fieldName. e.g.
"fieldName: value1 OR fieldName: value2 OR fieldName: value3..
Frederico,
You should also pose your question on the SolrNet forum,
http://groups.google.com/group/solrnet?hl=en
Switching from GET to POST isn't a Solr issue, but a SolrNet issue.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Query-URl-too-long-tp959990p960208.html
> Yes, i guess i can't create an URI
> object that long.
>
> Can someone remember other options?
You can shorten your String by not repeating OR and fieldName. e.g.
"fieldName: value1 OR fieldName: value2 OR fieldName: value3..."
q=value1 value2 value3&q.op=OR&df=fieldName
By the way how are y
Frederico Azeiteiro [mailto:frederico.azeite...@cision.com]
Sent: segunda-feira, 12 de Julho de 2010 12:10
To: solr-user@lucene.apache.org
Subject: RE: Query: URl too long
Hi,
A closer look shows that the problem is not on the request but on the
creation of the URI object.
The exception is
...@vyre.com]
Sent: segunda-feira, 12 de Julho de 2010 11:56
To: solr-user@lucene.apache.org
Subject: Re: Query: URl too long
Hi there,
We had a similar issue. It's an easy fix, simply change the request type
from GET to POST.
Jon
On 12 Jul 2010, at 11:18, Frederico Azeiteiro wrote:
> Hi,
>
Hi there,
We had a similar issue. It's an easy fix, simply change the request type from
GET to POST.
Jon
On 12 Jul 2010, at 11:18, Frederico Azeiteiro wrote:
> Hi,
>
>
>
> I need to perform a search using a list of values (about 2000).
>
>
>
> I'm using SolrNET QueryInList function that
> I'm using SolrNET QueryInList function that creates the
> searchstring
> like:
>
>
>
> "fieldName: value1 OR fieldName: value2 OR fieldName:
> value3..." (2000
> values)
>
>
>
> This method created a string with about 100 000 chars and
> the Web
> Request fails with URI too long (C#).
No
Hi Frederico,
not sure about solrNET, but changing the http method from GET to POST
worked for me (using SolrJ).
Chantal
On Mon, 2010-07-12 at 12:18 +0200, Frederico Azeiteiro wrote:
> Hi,
>
>
>
> I need to perform a search using a list of values (about 2000).
>
>
>
> I'm using SolrNET Q
Hi,
I need to perform a search using a list of values (about 2000).
I'm using SolrNET QueryInList function that creates the searchstring
like:
"fieldName: value1 OR fieldName: value2 OR fieldName: value3..." (2000
values)
This method created a string with about 100 000 chars and the
11 matches
Mail list logo