Quick Question

2020-09-02 Thread William Morin
Hi, I was looking for some articles to read about "Schema Markup" today when I stumbled on your [ https://cwiki.apache.org/confluence/display/SOLR/UsingMailingLists ]. Very cool. Anyway, I noticed that there a text in your blog "Schema Markup" and luckily it's my keyword. I hope if you don't min

Re: Quick question about indexing with SolrJ.

2013-05-14 Thread William Bell
Try https://issues.apache.org/jira/browse/SOLR-4685 It allows you to return put JSON from a string field. Also to convert a XML field to JSON you can use a plugin for DIH https://issues.apache.org/jira/browse/SOLR-4692 On Monday, May 13, 2013, Chris Hostetter wrote: > > : I don't want to use P

Re: Quick question about indexing with SolrJ.

2013-05-13 Thread Chris Hostetter
: I don't want to use POJOs, that's the main problem. I know that you can : send AJAX POST HTTP Requests with JSON data to index new documents and I : would like to do that with SolrJ, that's all, but I don't find the way to : do that, :-/ . What I would like to do is simple retrieve an String wit

Re: Quick question about indexing with SolrJ.

2013-05-13 Thread Alexandre Rafalovitch
ing to put some minimal wrapper around the >> raw JSON. >> >> But... if they DON'T follow a simple, flat data model, then YOU are going >> to have to transform their data into a format that does have a simple, flat >> data model. >> >> -- Jack Krupansky

Re: Quick question about indexing with SolrJ.

2013-05-13 Thread Luis Cappa Banda
data into a format that does have a simple, flat > data model. > > -- Jack Krupansky > > -Original Message- From: Luis Cappa Banda > Sent: Monday, May 13, 2013 10:52 AM > To: solr-user@lucene.apache.org > Subject: Quick question about indexing with SolrJ. > > > Is

Re: Quick question about indexing with SolrJ.

2013-05-13 Thread Jack Krupansky
flat data model, then YOU are going to have to transform their data into a format that does have a simple, flat data model. -- Jack Krupansky -Original Message- From: Luis Cappa Banda Sent: Monday, May 13, 2013 10:52 AM To: solr-user@lucene.apache.org Subject: Quick question about inde

Quick question about indexing with SolrJ.

2013-05-13 Thread Luis Cappa Banda
Is it possible to index plain String JSON documents using SolrJ? I already know annotating POJOs works fine, but I need a more flexible way to index data without any intermediate POJO. That's because when changing, adding or removing new fields I don't want to change continously that POJO again an

Re: very quick question that will help me greatly... OR query syntax when using fields for solr dataset....

2011-02-15 Thread Ravish Bhagdev
Hi Erick, I've managed to fix the problem, it was to do with not encoding certain characters. Escaped with \ and it all works fine now :) . Sorry I was just being insane, look at debugQuery output helped. I know about the string field, this is kind of a uuid field that I am storing, so it it de

Re: very quick question that will help me greatly... OR query syntax when using fields for solr dataset....

2011-02-15 Thread Erick Erickson
You might look at the analysis page from the admin console for the field in question, it'll show you what various parts of the analysis chain do. But I agree with Jan, having your field as a "string" type is a red flag. This field is NOT analyzed, parsed, or filtered. For instance, if a doc has a

Re: very quick question that will help me greatly... OR query syntax when using fields for solr dataset....

2011-02-15 Thread Ravish Bhagdev
Arghhh.. I think its the regexp parser messing things up (just looked at the debugQuery ouput and its parsing incorrectly some "/" kind of letters I had. I think I can clean up the data off these characters or maybe there is a way to escape them... Ravish On Tue, Feb 15, 2011 at 1:54 PM, Ravis

Re: very quick question that will help me greatly... OR query syntax when using fields for solr dataset....

2011-02-15 Thread Jan Høydahl
The OR implies that all documents matching either one of the two terms shold be returned. Are you sure you are searching with correct uppercase/lowercase, as string fields are case sensitive? To further help you, we need copies of relevant sections of your schema and an exact copy of the query

Re: very quick question that will help me greatly... OR query syntax when using fields for solr dataset....

2011-02-15 Thread Ravish Bhagdev
Hi Jan, Thanks for reply. I have tried the first variation in your example (and again after reading your reply). It returns no results! Note: it is not a multivalued field, I think when you use example 1 below, it looks for both xyz and abc in same field for same document, what i'm trying to ge

Re: very quick question that will help me greatly... OR query syntax when using fields for solr dataset....

2011-02-15 Thread Jan Høydahl
http://wiki.apache.org/solr/SolrQuerySyntax Examples: q=myfield:(xyz OR abc) q={!lucene q.op=OR df=myfield}xyz abc q=xyz OR abc&defType=edismax&qf=myfield PS: If using type="string", you will not match individual words inside the field, only an exact case sensitive match of whole field. Use so

very quick question that will help me greatly... OR query syntax when using fields for solr dataset....

2011-02-15 Thread Ravish Bhagdev
Hi Guys, I've been trying various combinations but unable to perform a "OR" query for a specific field in my solr schema. I have a string field called myfield and I want to return all documents that have this field which either matches "abc" or "xyz" So all records that have myfield=abc and all

Re: Quick question on indexing an existing index

2010-10-15 Thread Jan Høydahl / Cominvent
tomizing the data (something like > selecting columns / fields from DB using DB import handler). > > Thanks, > BB > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Quick-question-on-indexing-an-existing-index-tp1701663p1701663.html > Sent from the Solr - User mailing list archive at Nabble.com.

Quick question on indexing an existing index

2010-10-14 Thread bbarani
selecting columns / fields from DB using DB import handler). Thanks, BB -- View this message in context: http://lucene.472066.n3.nabble.com/Quick-question-on-indexing-an-existing-index-tp1701663p1701663.html Sent from the Solr - User mailing list archive at Nabble.com.

Delta-Import quick question

2010-03-19 Thread blargy
Does the DIH delta-import automatically commit and optimize after its done? ... 8120 0 ... What is the difference between these? Usually I see the Total Documents Processed. -- View this message in context: http://old.nabble.com/Delta-Import-quick-question-tp27951022p27951022.html Sent from

Re: quick question

2008-02-18 Thread Erick Erickson
Beating Hossman to the punch http://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting a new discussion on a mailing list, please do not reply to an existing message, instead start a fresh email. Even

Re: quick question

2008-02-18 Thread Reece
Hello Everyone, I'm having some issues getting SOLR to work with our data. I'm using it to index incident data for our technical support department. The two main issues: 1) As an example, searching for "binarydata_groupdocument_fk" returns nothing, while searching for "BinaryData_GroupDocument_

Re: quick question

2008-02-18 Thread matt davies
I think I remembered Was it localhost in the jetty.xml addlistener section? On 18 Feb 2008, at 14:44, matt davies wrote: Hello everyone I've forgotten where I stipulated in my solr that the solr admin back end was only viewable from localhost. Can anyone point me in the right directio

quick question

2008-02-18 Thread matt davies
Hello everyone I've forgotten where I stipulated in my solr that the solr admin back end was only viewable from localhost. Can anyone point me in the right direction? thanks