catch alls and nuances

2016-02-01 Thread John Blythe
Hi there I have a a catch all field called 'text' that I copy my item description, manufacturer name, and the item's catalog number into. I'm having an issue with keeping the broadness of the tokenizers in place whilst still allowing some good precision in the case of very specific queries. The

Re: URI is too long

2016-02-01 Thread Salman Ansari
That is what I have tried. I tried using POST with application/x-www-form-urlencoded and I got the exception I mentioned. Is there a way I can get around this exception? Regards, Salman On Mon, Feb 1, 2016 at 6:08 PM, Susheel Kumar wrote: > Post is pretty much similar to

sorry, no dataimport-handler defined!

2016-02-01 Thread Jean-Jacques MONOT
Hello I am using SOLR 5.4.1 and the graphical admin UI. I successfully created multiples cores and indexed various documents, using in line commands : (create -c) and (post.jar) on W10. But in the GUI, when I click on "Dataimport", I get the following message : "sorry, no dataimport-handler

Re: Error configuring UIMA

2016-02-01 Thread Jack Krupansky
Yeah, that's exactly the kind of innocent user error that UIMA simply has no code to detect and reasonably report. -- Jack Krupansky On Mon, Feb 1, 2016 at 12:13 PM, Gian Maria Ricci - aka Alkampfer < alkamp...@nablasoft.com> wrote: > It was a stupid error, I've mistyped the logField

KeepWord

2016-02-01 Thread John Blythe
hi all, i'm having trouble with what would seem to be a pretty straightforward filter. i'm trying to 'tag' documents based off of a list of relevant words that a description field may contain. if the data contains any of the words then this field is populated with it and acts as a quick

Re: KeepWord

2016-02-01 Thread John Blythe
i immediately realized after sending that i'd had stored="true" in the field's config and that it was storing the original data, not the processed data. silly me, thanks anyway! -- *John Blythe* Product Manager & Lead Developer 251.605.3071 | j...@curvolabs.com www.curvolabs.com 58 Adams Ave

Re: catch alls and nuances

2016-02-01 Thread Erick Erickson
Likely you also have WordDelimiterFilterFactory in your fieldType, that's what will split on alphanumeric transitions. So you should be able to use wildcards here, i.e. 1234L* However, that'll only work if you have preserveOriginal set in WordDelimiterFilterFactory in your indexing chain. And

Re: Shard allocation across nodes

2016-02-01 Thread Jeff Wartes
You could write your own snitch: https://cwiki.apache.org/confluence/display/solr/Rule-based+Replica+Placement Or, it would be more annoying, but you can always add/remove replicas manually and juggle things yourself after you create the initial collection. On 2/1/16, 8:42 AM, "Tom Evans"

Re: facet on min of multi valued field

2016-02-01 Thread Erick Erickson
Frankly, I have no idea what this means. Only count a facet for a particular document for the minimum for a MV field? I.e. if the doc has values 1, 2, 3, 4 in a MV field, it should only be counted in the "1" bucket? The easiest would be to have a second field that contained the min value and

Re: Restoring backups of solrcores

2016-02-01 Thread Jeff Wartes
Aliases work when indexing too. Create collection: collection1 Create alias: this_week -> collection1 Index to: this_week Next week... Create collection: collection2 Create (Move) alias: this_week -> collection2 Index to: this_week On 2/1/16, 2:14 AM, "vidya" wrote:

Re: sorry, no dataimport-handler defined!

2016-02-01 Thread Susheel Kumar
Please register Data Import Handler to work with it https://cwiki.apache.org/confluence/display/solr/Uploading+Structured+Data+Store+Data+with+the+Data+Import+Handler On Mon, Feb 1, 2016 at 2:31 PM, Jean-Jacques MONOT wrote: > Hello > > I am using SOLR 5.4.1 and the

Re: alternative forum for SOLR user

2016-02-01 Thread GW
I personally hate email lists.. But this one is actually pretty good. Excellent actually. I'm a convert. Joined it with Gogle mail, forward all to a folder and search it. Piece of cake. On 1 February 2016 at 11:08, Jean-Jacques MONOT wrote: > Thank you for the very quick

Re: Solr segment merging in different replica

2016-02-01 Thread Zheng Lin Edwin Yeo
Hi Emir, My setup is SolrCloud. Also, will it be good to use a separate network interface to connect the two node with the interface that is used to connect to the network for searching? Regards, Edwin On 1 February 2016 at 19:01, Emir Arnautovic wrote: > Hi

Re: KeepWord

2016-02-01 Thread Erik Hatcher
And if you want to have the “kept” words stored, consider the trick used in example/files for url/e-mail extraction mentioned here (note the related fix in the patch in the JIRA issue mentioned): https://lucidworks.com/blog/2016/01/27/example_files/

Re: Data Import Handler takes different time on different machines

2016-02-01 Thread Erick Erickson
What happens if you run just the SQL query from the windows box and from the linux box? Is there any chance that somehow the connection from the linux box is just slower? Best, Erick On Mon, Feb 1, 2016 at 6:36 PM, Alexandre Rafalovitch wrote: > What are you importing from?

Data Import Handler takes different time on different machines

2016-02-01 Thread Troy Edwards
We have a windows development machine on which the Data Import Handler consistently takes about 40 mins to finish. Queries run fine. JVM memory is 2 GB per node. But on a linux machine it consistently takes about 2.5 hours. The queries also run slower. JVM memory here is also 2 GB per node. How

Re: Data Import Handler takes different time on different machines

2016-02-01 Thread Alexandre Rafalovitch
What are you importing from? Is the source and Solr machine collocated in the same fashion on dev and prod? Have you tried running this on a Linux dev machine? Perhaps your prod machine is loaded much more than a dev. Regards, Alex. Newsletter and resources for Solr beginners and

SOLR-6690

2016-02-01 Thread Anil
HI, was there any fix for https://issues.apache.org/jira/browse/SOLR-6690 ? or any ETA ? Thanks. Regards, Anil

alternative forum for SOLR user

2016-02-01 Thread Jean-Jacques MONOT
Hello I am a newbie with SOLR and just registered to this mailing list. Is there an alternative forum for SOLR user ? I am using this mailing list for support, but did not find "real" web forum. JJM --- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus

Re: alternative forum for SOLR user

2016-02-01 Thread Binoy Dalal
This is the forum if you want help. There are additional forums for dev and other discussions. Check it out here: lucene.apache.org/solr/resources.html If you are looking for the archives just Google solr user list archive. On Mon, 1 Feb 2016, 13:43 Jean-Jacques MONOT wrote:

use /update in the Gui admin interface

2016-02-01 Thread Jean-Jacques MONOT
Hello I am using the GUI admin interface for the SOLR java server. No problem to make "classical" query with the /select request handler. But now, I would like to make an update on a selected document : modify the value of a field. How should I do ? I think I should use : - /update : for

Re: Restoring backups of solrcores

2016-02-01 Thread vidya
Hi How can that be useful, can u please explain. I want to have the same collection name everytime when I index data i.e., current_collection. By collection aliasing, i can create a new collection and point my alias (say ALIAS) to new collection but cannot rename that collection to the same

Re: use /update in the Gui admin interface

2016-02-01 Thread Erik Hatcher
JJM - use the “Documents” tab in the admin UI instead of the “Query” one. Erik > On Feb 1, 2016, at 3:10 AM, Jean-Jacques MONOT wrote: > > Hello > > I am using the GUI admin interface for the SOLR java server. > > No problem to make "classical" query with the

Re: SolrCloud with large synonym files

2016-02-01 Thread Janit Anjaria
Hi, We had a similar problem. We solved it by splitting up the file into various files < 1MB. In our case, the comma separated list of synonym file names did not work. So we actually had consecutive synonym filters defined in the required order with the corresponding synonym file name. I think

Solr segment merging in different replica

2016-02-01 Thread Zheng Lin Edwin Yeo
Hi, I would like to check, during segment merging, how did the replical node do the merging? Will it do the merging concurrently, or will the replica node delete the old segment and replace the new one? Also, is it possible to separate the network interface for inter-node communication from the

Re: Solr segment merging in different replica

2016-02-01 Thread Emir Arnautovic
Hi Edwin, What is your setup - SolrCloud or Master-Slave? If it si SolrCloud, then under normal index updates, each core is behaving as independent index. In theory, if all changes happen at the same time on all nodes, merges will happen at the same time. But that is not realistic and it is

Re: URI is too long

2016-02-01 Thread Midas A
Is there any drawback of POST request and why we prefer GET. On Mon, Feb 1, 2016 at 1:08 PM, Salman Ansari wrote: > Cool. I would give POST a try. Any samples of using Post while passing the > query string values (such as ORing between Solr field values) using >

Multi-lingual search

2016-02-01 Thread vidya
Hi My use case is to index and able to query different languages in solr which are not in-built languages supported by solr. How can i implement this ? My input document consists of different languages in a field. I came across "Solr in action" book with searching content in multiple languages

Re: FileBased Spellcheck on Solr cloud

2016-02-01 Thread Binoy Dalal
1) Try building the dictionaries individually on each node. 2) Have you configured the shards.qt parameter in your solrconfig.xml for the query handler you're using? The shards.qt parameter should point to the request handler you're using, something like: /spellcheck On Mon, Feb 1, 2016 at 8:51

Re: alternative forum for SOLR user

2016-02-01 Thread Jean-Jacques MONOT
Thank you for the very quick answer : the mailing list is very efficient. The trouble with a mailing list is that I will receive a lot of message in my mail box I will see if I unsubscribe ... De : Binoy Dalal À : SOLR Users

Shard allocation across nodes

2016-02-01 Thread Tom Evans
Hi all We're setting up a solr cloud cluster, and unfortunately some of our VMs may be physically located on the same VM host. Is there a way of ensuring that all copies of a shard are not located on the same physical server? If they do end up in that state, is there a way of rebalancing them?

Re: Error in UIMA, probably opencalais,

2016-02-01 Thread alkampfer
From: "alkampfer" alkamp...@nablasoft.com To: solr-user@lucene.apache.org Cc: solr-user@lucene.apache.org Date: Mon, 1 Feb 2016 17:04:01 +0100 Subject: Re: Error in UIMA, probably opencalais, Just a quick follow up (sorry for issuing too many e-mail). I've simply taken all the xml files

Re: URI is too long

2016-02-01 Thread Upayavira
POST is supposed (as defined by REST) to imply a request with side-effects. A query as such does not have side effects, so conceptually, it should be a GET. In practice, whilst it might cause some developers to grumble, using a POST for a request should make no difference to Solr (other than

facet on min of multi valued field

2016-02-01 Thread Midas A
Hi , we want facet query on min of multi valued field . Regards, Abhishek Tiwari

Re: SolrCloud with large synonym files

2016-02-01 Thread Vincenzo D'Amore
Hi Janit, we had same problem, and used an XML External Entity. First we moved all files into a subdirectory inside collection config. /configs/collectionName/custom_synonyms/... Then inside your schema.xml you can reference all files in you need using ENTITY: ]>

Re: URI is too long

2016-02-01 Thread Salman Ansari
I tried using POST but faced an issue where I am still not able to send long data. When I send data in the body that exceeds 35KB I get the following exception: "An exception of type 'SolrNet.Exceptions.SolrConnectionException' occurred in [Myproject] but was not handled in user code Additional

Re: SOLR-6690

2016-02-01 Thread Joel Bernstein
This issue has not been fixed yet. It does not appear that it's being worked on at the moment. Joel Bernstein http://joelsolr.blogspot.com/ On Mon, Feb 1, 2016 at 3:43 AM, Anil wrote: > HI, > > was there any fix for https://issues.apache.org/jira/browse/SOLR-6690 ? or > any

Re: Shard allocation across nodes

2016-02-01 Thread Erick Erickson
See the createNodeset and node parameters for the Collections API CREATE and ADDREPLICA commands, respectively. That's more a manual process, there's nothing OOB but Jeff's suggestion is sound. Best, Erick On Mon, Feb 1, 2016 at 11:00 AM, Jeff Wartes wrote: > > You

Import data from one core to another

2016-02-01 Thread vidya
Hi How to import data from one solr core to another using request handler and data-config.xml? In solr-config.xml : I included this in target collection, /root/Desktop/vidya/solr-data-config.xml And solr-data-config.xml in the path as mentioned in request handler class

How to get parent as well as children with one query ?

2016-02-01 Thread Pranaya Behera
Hi, I have my parent document mapped in the field named isParent: Boolean value. Now children has their own ids, they don't match to parent. I am searching query.setQuery("level:0") This gives me all the parent documents but not the associated children. I have looked at the

Export request handler via SolrJ

2016-02-01 Thread deniz
I have been trying to export the whole resultset via SolrJ but till now everything (Including the tricks here: http://stackoverflow.com/questions/33540577/how-can-use-the-export-request-handler-via-solrj) has failed... On curl, it is working totally fine to query with server:port/solr/core/export

Re: Solr highlight

2016-02-01 Thread Anil
HI, Any info on below ? Regards, Anil On 1 February 2016 at 20:53, Anil wrote: > HI, > > We have five shards and 2 replicas and using collection aliases. > > I have set hl=true in my query to search against all fields of solr > document . > > i am searching a text

Re: Solr highlight

2016-02-01 Thread Zheng Lin Edwin Yeo
Do you have any setting for "df" and "hl.fl: under your /highlight request handler in your solrconfig.xml? And which version of Solr are you using? Regards, Edwin On 2 February 2016 at 12:54, Anil wrote: > HI, > > Any info on below ? > > Regards, > Anil > > On 1 February

Re: Memory leak defect or misssuse of SolrJ API?

2016-02-01 Thread Shawn Heisey
On 1/30/2016 6:15 AM, Steven White wrote: > I'm getting memory leak in my code. I narrowed the code to the following > minimal to cause the leak. > > while (true) { > HttpSolrClient client = new HttpSolrClient(" > http://192.168.202.129:8983/solr/core1;); > client.close(); >

Re: facet on min of multi valued field

2016-02-01 Thread Midas A
Erick, Actually we are eCommerce site and we have master child relationship in our catalog. we show only masters in our website . for example we have Iphone as a master product and different sellers are selling ipone through our site these products are child product . the price of the master is

Re: Data Import Handler takes different time on different machines

2016-02-01 Thread Erick Erickson
The first thing I'd be looking at is how I the JDBC batch size compares between the two machines. AFAIK, Solr shouldn't notice the difference, and since a large majority of the development is done on Linux-based systems, I'd be surprised if this was worse than Windows, which would lead me to

Re: Data Import Handler takes different time on different machines

2016-02-01 Thread Troy Edwards
Sorry, I should explain further. The Data Import Handler had been running for a while retrieving only about 15 records from the database. Both in development env (windows) and linux machine it took about 3 mins. The query has been changed and we are now trying to retrieve about 10 million

Re:Error configuring UIMA

2016-02-01 Thread alkampfer
From: outlook_288fbf38c031d...@outlook.com To: solr-user@lucene.apache.org Cc: Date: Mon, 1 Feb 2016 15:59:02 +0100 Subject: Error configuring UIMA I've solved the problem, it was caused by wrong configuration in solrconfig.xml. Thanks. > Hi,>  > I’ve followed the guide >

Error configuring UIMA

2016-02-01 Thread Gian Maria Ricci - aka Alkampfer
Hi, I've followed the guide https://cwiki.apache.org/confluence/display/solr/UIMA+Integration to setup a UIMA integration to test this feature. The doc is not updated for Solr5, I've followed the latest comment to that guide and did some other changes but now each request to /update handler

Re: URI is too long

2016-02-01 Thread Susheel Kumar
Post is pretty much similar to GET. You can use any REST Client to try. Same select URL & pass below header and put the queries parameters into body POST: http://localhost:8983/solr/techproducts/select Header == Content-Type:application/x-www-form-urlencoded payload/body: == q=*:*=2 Thanks,

Re: FileBased Spellcheck on Solr cloud

2016-02-01 Thread Riyaz
Thank you Binoy. We are generating spellcheck source data: spellings_xxx.txt by querying the main index only(we do have the field indexed in cloud). Due to huge amount of data(160 million records), spellcheck build request taking lot of time and consuming lot memory for index based spellcheck. So

Error in UIMA, probably opencalais,

2016-02-01 Thread Gian Maria Ricci - aka Alkampfer
Hi, I've configured integration with UIMA but when I try to add a document I always got the error reported at bottom of the mail. It seems to be related to openCalais, but I've registered to OpenCalais and setup my token in solrconfig, so I wonder if anyone has some clue on what could be

Re: Error in UIMA, probably opencalais,

2016-02-01 Thread Jack Krupansky
At the bottom (the fine print!) it says: lineNumber: 15; columnNumber: 7; The element type "meta" must be terminated by the matching end-tag "". -- Jack Krupansky On Mon, Feb 1, 2016 at 10:45 AM, Gian Maria Ricci - aka Alkampfer < alkamp...@nablasoft.com> wrote: > Hi, > > > > I’ve configured

Solr highlight

2016-02-01 Thread Anil
HI, We have five shards and 2 replicas and using collection aliases. I have set hl=true in my query to search against all fields of solr document . i am searching a text (ex:2010-0561-T-0312) on all fields(q=(2010-0561-T-0312)) , highlights is empty. When I search q=docId:(2010-0561-T-0312), i

Re: alternative forum for SOLR user

2016-02-01 Thread Shawn Heisey
On 2/1/2016 1:13 AM, Jean-Jacques MONOT wrote: > I am a newbie with SOLR and just registered to this mailing list. > > Is there an alternative forum for SOLR user ? I am using this mailing > list for support, but did not find "real" web forum. Are you using "forum" as a word that can include a

Re: alternative forum for SOLR user

2016-02-01 Thread Jack Krupansky
Some people prefer to use Stack Overflow, but this mailing list is still the definitive "forum" for Solr users. See: http://stackoverflow.com/questions/tagged/solr -- Jack Krupansky On Mon, Feb 1, 2016 at 10:58 AM, Shawn Heisey wrote: > On 2/1/2016 1:13 AM, Jean-Jacques

Re: Error in UIMA, probably opencalais,

2016-02-01 Thread alkampfer
From: "Jack Krupansky" jack.krupan...@gmail.com To: solr-user@lucene.apache.org Cc: Date: Mon, 1 Feb 2016 10:55:44 -0500 Subject: Re: Error in UIMA, probably opencalais, Yes, that is the exact error that I got, but I think that the error is somewhat due to the return value of OpenCalais API

Re: Error configuring UIMA

2016-02-01 Thread Jack Krupansky
What was the specific error you had to correct? The NPE appears to be in exception handling code so the actual exception is not indicated in the stack trace. The UIMA code is rather poor in terms of failing to check and report missing parameters or bad parameters which in turn reference data that

Re: use /update in the Gui admin interface

2016-02-01 Thread Jean-Jacques MONOT
Thank you This is exactly what I was looking for ! Solr is very powerful but quite complicated to handle. De : Erik Hatcher À : solr-user@lucene.apache.org Envoyé le : Lundi 1 février 2016 11h26 Objet : Re: use /update in the Gui admin interface JJM - use

RE: Error configuring UIMA

2016-02-01 Thread Gian Maria Ricci - aka Alkampfer
It was a stupid error, I've mistyped the logField configuration in UIMA I'd like error not to use the Id but another field, but I've mistyped in solrconfig.xml and then I've got that error. Gian Maria. -- Gian Maria Ricci Cell: +39 320 0136949 -Original Message- From: Jack