Hi,

A closer look shows that the problem is not on the request but on the
creation of the URI object.

The exception is sent when trying to access the URI object inside the
URIbuilder.

Trying to google it but without luck...


-----Original Message-----
From: Jon Poulton [mailto:jon.poul...@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,
> 
> 
> 
> 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 Web
> Request fails with URI too long (C#).
> 
> 
> 
> I'm trying to update an old Lucene app that performs this kind of
> searches. 
> 
> How can I achieve this with Solr?
> 
> 
> 
> What are my options here?
> 
> 
> 
> Thank you,
> 
> Frederico
> 

Reply via email to