RE: Query: URl too long

2010-07-12 Thread Frederico Azeiteiro
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

Re: Query: URl too long

2010-07-12 Thread Mauricio Scheffer
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 SolrNet forum for further questions about SolrNet. Cheers, Mauricio On Mon, Jul 12,

RE: Query: URl too long

2010-07-12 Thread Frederico Azeiteiro
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..

Re: Query: URl too long

2010-07-12 Thread kenf_nc
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 Sent f

RE: Query: URl too long

2010-07-12 Thread Ahmet Arslan
> 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

RE: Query: URl too long

2010-07-12 Thread Frederico Azeiteiro
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

RE: Query: URl too long

2010-07-12 Thread Frederico Azeiteiro
...@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, >

Re: Query: URl too long

2010-07-12 Thread Jon Poulton
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

Re: Query: URl too long

2010-07-12 Thread Ahmet Arslan
> 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

Re: Query: URl too long

2010-07-12 Thread Chantal Ackermann
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