On 3/26/2018 11:19 AM, Webster Homer wrote:
> You may say that the String in the constructor is "meant to be query
> syntax", nothing in the Javadoc says anything about the expected syntax.
> Since there is also a method to set the query, it seemed reasonable to
> expect that it would take the outp
You may say that the String in the constructor is "meant to be query
syntax", nothing in the Javadoc says anything about the expected syntax.
Since there is also a method to set the query, it seemed reasonable to
expect that it would take the output of the toString method. (or some other
serializat
On 3/23/2018 3:24 PM, Webster Homer wrote:
> I see this in the output:
> Lexical error at line 1, column 1759. Encountered: after :
> "/select?defType=edismax&start=0&rows=25&...
> It has basically the entire solr query which it obviously couldn't parse.
>
> solrQuery = new SolrQuery(log.getQuery
I am working on a program to play back queries from a log file. It seemed
straight forward. The log has the solr query written to it. via the
SolrQuery.toString method. The SolrQuery class has a constructor which
takes a string. It does instantiate a SolrQuery object, however when I try
to actuall
good point! that's an enhancement we would definitely welcome as well.
currently, we too have to remote desktop to the Sol machine and search
through the logs..
Any thoughts?
Cheers,
-- Savvas
On 11 January 2011 19:59, roz dev wrote:
> Hi All
>
> We are using SolrJ client (v 1.4.1) to integra
Hi All
We are using SolrJ client (v 1.4.1) to integrate with our solr search
server.
We notice that whenever SolrJ request does not match with Solr schema, we
get Bad Request exception which makes sense.
org.apache.solr.common.SolrException: Bad Request
But, SolrJ Client does not provide any clu
: Subject: Solrj Question
: In-Reply-To: <36b99395-9f0b-45ad-ac05-1d2415833...@yahoo.com>
: References: <36b99395-9f0b-45ad-ac05-1d2415833...@yahoo.com>
http://people.apache.org/~hossman/#threadhijack
Thread Hijacking on Mailing Lists
When starting a new discussion on a mailing lis
Hi,
I'm a little confused on how either solrj is working or how solr is working.
I'm using solr 1.4.
@Test (groups = {"integration"}, enabled = true)
public void testDate() throws Exception
{
SolrServer solr =
SolrServerFactory.getStreamingUpdateSolrServer(searchDataIngestConfigur
On Mon, Aug 17, 2009 at 5:47 PM, Paul Tomblin wrote:
> Hmmm. It's not working right. I've added a 5 documents, 3 with the
> URL set to "http://xcski.com/pharma/"; and 2 with the URL set to
> "http://xcski.com/nano/";. Doing other sorts of queries seems to be
> pulling back the right data:
Of
On Mon, Aug 17, 2009 at 5:36 PM, Ensdorf Ken wrote:
>> Does this mean I should have converted my objects to string before
>> writing them to the server?
>>
>
> I believe SolrJ takes care of that for you by calling toString(), but you
> would need to convert explicitly when you query (and then esca
> Does this mean I should have converted my objects to string before
> writing them to the server?
>
I believe SolrJ takes care of that for you by calling toString(), but you would
need to convert explicitly when you query (and then escape).
On Mon, Aug 17, 2009 at 5:30 PM, Ensdorf Ken wrote:
> You can escape the string with
>
> org.apache.lucene.queryParser.QueryParser.escape(String query)
>
> http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/queryParser/QueryParser.html#escape%28java.lang.String%29
>
Does this mean I should
On Mon, Aug 17, 2009 at 5:28 PM, Harsch, Timothy J. (ARC-SC)[PEROT
SYSTEMS] wrote:
> Assuming you have written the SolrInputDocument to the server, you would next
> query.
I'm sorry, I don't understand what you mean by "you would next query."
There appear to be some words missing from that sente
il.com] On Behalf Of Paul
> Tomblin
> Sent: Monday, August 17, 2009 5:12 PM
> To: solr-user@lucene.apache.org
> Subject: SolrJ question
>
> If I put an object into a SolrInputDocument and store it, how do I
> query for it back? For instance, I stored a java.net.URI in a field
&g
, August 17, 2009 2:12 PM
To: solr-user@lucene.apache.org
Subject: SolrJ question
If I put an object into a SolrInputDocument and store it, how do I
query for it back? For instance, I stored a java.net.URI in a field
called "url", and I want to query for all the documents that match a
If I put an object into a SolrInputDocument and store it, how do I
query for it back? For instance, I stored a java.net.URI in a field
called "url", and I want to query for all the documents that match a
particular URI. The query syntax only seems to allow Strings, and if
I just try query.setQuer
16 matches
Mail list logo