Re: Does Solr 6.0 support indexing and querying for HUNGARIAN, KOREAN, SLOVAK, VIETNAMESE and Traditional Chinese documents?

2016-06-23 Thread Alexandre Rafalovitch
The full list is here: http://www.solr-start.com/info/analyzers . I can see at least Hungarian. Regards, Alex On 23 Jun 2016 7:46 PM, wrote: Hi, I am using Solr 6.0 to indexing document from different countries. I go through the reference guide of Solr 6.0. I can't find anything about HUNG

Re: json.nl=arrarr json formating option with the php lib

2016-06-23 Thread Alexandre Rafalovitch
The parameters can always be forced Solr-side with invariants. Regards, Alex On 24 Jun 2016 1:22 AM, "Victor D'agostino" wrote: > Hi guys > > SolrQuery implements SolrModifiableParams so we can use the setParam > method : > > $solr_query = new SolrQuery(); > $solr_que

Re: Sorting & searching on the same field

2016-06-23 Thread Jay Potharaju
Any ideas on how to handle case insensitive search, string fields and docvalues in 1 field? On Thu, Jun 23, 2016 at 8:14 PM, Alexandre Rafalovitch wrote: > At least you don't need to store the sort field. Or even index, if it is > docvalues (good for sort). > > Regards, > Alex > On 24 Jun 20

Re: Sorting & searching on the same field

2016-06-23 Thread Alexandre Rafalovitch
At least you don't need to store the sort field. Or even index, if it is docvalues (good for sort). Regards, Alex On 24 Jun 2016 9:01 AM, "Jay Potharaju" wrote: > yes, that is what i thought. but was checking to see if there was something > I was missing. > Thanks > > On Thu, Jun 23, 2016 at

Fail to load org.apache.solr.schema.PreAnalyzedField$PreAnalyzedAnalyzer for fieldType "preanalyzed"

2016-06-23 Thread tjlp
Hi, I use Solr 6.0 on Windows. And try the example techproducts. At first I run bin\solr -e techproducts -s "example\techproducts" and it works fine. But when I add several fields, and try to restart it, I get some failures. From the log, it should be fail to load the PreAnalyzedAnalyzer for f

Re: [ANN] Relevant Search by Manning out! (Thanks Solr community!)

2016-06-23 Thread Sameer Maggon
Congrats Doug & John, will order a copy! Thanks, On Tuesday, June 21, 2016, Doug Turnbull < dturnb...@opensourceconnections.com> wrote: > Not much more to add than my post here! This book is targeted towards > Lucene-based search (Elasticsearch and Solr) relevance. > > Announcement with discount

Re: clarification on using docvalues for sorting

2016-06-23 Thread Erick Erickson
You'd have to lowercase when the doc is prepared I'd think. Best, Erick On Thu, Jun 23, 2016 at 4:49 PM, Jay Potharaju wrote: > Hi, > I am trying to do a case insensitive sorting on couple of fields. > For this I am doing the following > > omitNorms="true"> > > > > >

clarification on using docvalues for sorting

2016-06-23 Thread Jay Potharaju
Hi, I am trying to do a case insensitive sorting on couple of fields. For this I am doing the following Above would not allow using this datatype with docvalues. Docvalues can only be used with string & trie fields. And also docvalues are recommended for sorting & f

Re: [ANN] Relevant Search by Manning out! (Thanks Solr community!)

2016-06-23 Thread shamik
Thanks for all the pointers. With 50% discount, picking a copy is a no-brainer -- View this message in context: http://lucene.472066.n3.nabble.com/ANN-Relevant-Search-by-Manning-out-Thanks-Solr-community-tp4283667p4284107.html Sent from the Solr - User mailing list archive at Nabble.com.

Slow facet range performance

2016-06-23 Thread Jay Potharaju
Hi, I am running facet query on a date field and the results are coming back on an avg 500ms. The field is set to use docvalues & field type is tdate. SOLR - 5.5 &facet=true&facet.interval=date_field&f.date_field.facet.interval=date_field&f.date_field.facet.interval.set=[NOW-7DAY,NOW]&f.date_fie

Re: Sorting & searching on the same field

2016-06-23 Thread Jay Potharaju
yes, that is what i thought. but was checking to see if there was something I was missing. Thanks On Thu, Jun 23, 2016 at 12:55 PM, Ahmet Arslan wrote: > Hi Jay, > > I don't think it can be combined. > Mainly because: searching requires a tokenized field. > Sorting requires a single value (token

RE: How to configure and use updateRequestProcessorChain for Solr-5.3.1

2016-06-23 Thread Alexandre Rafalovitch
URPs are applied _before_ the schema and copyfield is applied. That's why you can do type coercion, etc. Perhaps you need to move your copy instructions into the chain/script, so they are dealt with it on the same level. On 24 Jun 2016 1:17 AM, "Rajendran, Prabaharan" wrote: Yes, it is copied fr

Re: SolrCloud start up script

2016-06-23 Thread John Bickerstaff
Good luck! Let me know if you run into any more trouble. On Thu, Jun 23, 2016 at 4:01 PM, Jose-Marcio Martins da Cruz < jose-marcio.mart...@mines-paristech.fr> wrote: > > Thank you John ! This is a good start. > > I understand that is seems more complicated than I though, but... Got the > way !!

Re: SolrCloud start up script

2016-06-23 Thread Jose-Marcio Martins da Cruz
Thank you John ! This is a good start. I understand that is seems more complicated than I though, but... Got the way !!! Regards José-Marcio On 06/23/2016 10:44 PM, John Bickerstaff wrote: So, if you installed with the install script (warning: I used 5.4 but I think everything is the same)

Re: [ANN] Relevant Search by Manning out! (Thanks Solr community!)

2016-06-23 Thread Doug Turnbull
Thanks John, and Mary Joe Yeah it's definitely more about "relevance" than ES or Solr. So the choice in search engine is more an implementation detail. We chose ES because it's more book/educational friendly, not necessarily because it's the best choice as a search engine. It's query language is c

Re: [ANN] Relevant Search by Manning out! (Thanks Solr community!)

2016-06-23 Thread John Bickerstaff
I'll add my vote that reading the book will really expand your understanding of search and "Relevance". If you're working in the Search space, this book is really worth your time! On Thu, Jun 23, 2016 at 2:59 PM, MaryJo Sminkey wrote: > > For someone familiar with Solr, will it be an issue to r

Re: [ANN] Relevant Search by Manning out! (Thanks Solr community!)

2016-06-23 Thread MaryJo Sminkey
> For someone familiar with Solr, will it be an issue to run those examples > in a Solr instance instead ? > You can't run ES code on Solr, and the syntax is quite different, so you do have to figure out how to convert it yourself and it's not always very obvious. There is an appendix that covers

Re: SolrCloud start up script

2016-06-23 Thread John Bickerstaff
So, if you installed with the install script (warning: I used 5.4 but I think everything is the same) and add this setting in your solr.in.sh file your solr boxes should start in cloud mode when the server starts up. The -c option also works, but for a production type installation, it's a lot easi

Re: [ANN] Relevant Search by Manning out! (Thanks Solr community!)

2016-06-23 Thread shamik
Hi Doug, Congratulations on the release, I guess, lot of us have been eagerly waiting for this. Just one quick clarification. You mentioned that the examples in your book are executed against elasticsearch. For someone familiar with Solr, will it be an issue to run those examples in a Solr ins

Re: SolrCloud start up script

2016-06-23 Thread Jose-Marcio Martins da Cruz
Hi John, On 06/23/2016 10:18 PM, John Bickerstaff wrote: Jose, There is a setting in the solr.in.sh script that should make Solr start in "cloud" mode... It's ZK_HOST That's where you list the IP addresses (or hostnames) of your zookeeper machines... Is this set? Non ! :-( I though I sho

Re: SolrCloud start up script

2016-06-23 Thread John Bickerstaff
Jose, There is a setting in the solr.in.sh script that should make Solr start in "cloud" mode... It's ZK_HOST That's where you list the IP addresses (or hostnames) of your zookeeper machines... Is this set? What version of Solr are you using? On Thu, Jun 23, 2016 at 2:13 PM, Jose-Marcio Marti

SolrCloud start up script

2016-06-23 Thread Jose-Marcio Martins da Cruz
Hello, I have a quite dumb question. I'm new to Nutch/Solr and we're migrating our Web indexer from a commercial product to Nutch/Solr. I haven't yet understood all internal I need. After spending some time, I have a problem... I've installed Nutch/Solr and everything works fine with Solr in

Re: Sorting & searching on the same field

2016-06-23 Thread Ahmet Arslan
Hi Jay, I don't think it can be combined. Mainly because: searching requires a tokenized field. Sorting requires a single value (token) to be meaningful. Ahmet On Thursday, June 23, 2016 7:43 PM, Jay Potharaju wrote: Hi, I would like to have 1 field that can used for both searching and case i

Re: Solr Query Processing Detail

2016-06-23 Thread John Bickerstaff
Perfect - got it. Now I know where I stand when I'm writing the bq, bf, etc... Thank you very much. On Thu, Jun 23, 2016 at 1:35 PM, Erick Erickson wrote: > bq: > > My big question however is whether I can > trust that the Boost Functions and > Boost Query are running against the entire index

Re: Solr Query Processing Detail

2016-06-23 Thread Erick Erickson
bq: My big question however is whether I can trust that the Boost Functions and Boost Query are running against the entire index In a word "no". The bf's are intended to alter the score of the documents found by the primary query by multiplying the function results by the raw score. If a documen

Re: Where is Stored values resides ?

2016-06-23 Thread Erick Erickson
stored="true" data is kept in *.fdt and *.fdx files in the index directory, see: http://lucene.apache.org/core/6_1_0/core/org/apache/lucene/codecs/lucene60/package-summary.html#package_description the "summary of file extensions" section. The stored data is compressed, so you can't really read i

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-23 Thread Joe Lawson
FYI everyone, I've updated the README.md to be fully up to date for Solr 6.0 and the latest plugin release. https://github.com/healthonnet/hon-lucene-synonyms/blob/master/README.md On Fri, Jun 17, 2016 at 2:34 PM, MaryJo Sminkey wrote: > > OK - Slapping forehead now... D'oh! > > > > 1.2 > > > Fl

Sorting & searching on the same field

2016-06-23 Thread Jay Potharaju
Hi, I would like to have 1 field that can used for both searching and case insensitive sorting. As far as i know the only way to do is to have two fields one for searching (text_en) and one for sorting(lowercase & string). Any ideas how the two can be combined into 1 field. -- Thanks Jay Pothara

Re: [ANN] Relevant Search by Manning out! (Thanks Solr community!)

2016-06-23 Thread Doug Turnbull
For those who can't get enough of me and John, you can see us live at 2PM ET today talk about the book. Come bring your questions! :) https://blab.im/matthew-l-overstreet-relevant-search-and-building-a-search-practice-jfgn2g On Wed, Jun 22, 2016 at 8:45 AM Doug Turnbull < dturnb...@opensourceconn

RE: Errors for Streaming Expressions using JDBC (Oracle) stream source

2016-06-23 Thread Hui Liu
Opened ticket: Issue SOLR-9246 - Errors for Streaming Expressions using JDBC (Oracle) stream source Regards, Hui -Original Message- From: Joel Bernstein [mailto:joels...@gmail.com] Sent: Thursday, June 23, 2016 11:56 AM To: solr-user@lucene.apache.org Subject: Re: Errors for Streaming Ex

Re: Errors for Streaming Expressions using JDBC (Oracle) stream source

2016-06-23 Thread Joel Bernstein
Ok you should be able to create the jira. Joel Bernstein http://joelsolr.blogspot.com/ On Thu, Jun 23, 2016 at 11:52 AM, Hui Liu wrote: > Joel, I just opened an account for this, my user name is h...@opentext.com; > let me know when I can open the ticket. > > And thanks for the info, I will be

RE: Errors for Streaming Expressions using JDBC (Oracle) stream source

2016-06-23 Thread Hui Liu
Joel, I just opened an account for this, my user name is h...@opentext.com; let me know when I can open the ticket. And thanks for the info, I will be glad to do any collaboration needed as a reporter on this issue, so feel free to let me know what I need to do. Regards, Hui -Original Mess

Re: A working example to play with Naive Bayes classifier

2016-06-23 Thread Alessandro Benedetti
Can you give an example of your schema, and can you run a simple query for you index, curious to see how the input fields are analyzed. Cheers On Wed, Jun 22, 2016 at 6:05 PM, Alessandro Benedetti < benedetti.ale...@gmail.com> wrote: > This is better! At list the classifier is invoked! > How ma

Where is Stored values resides ?

2016-06-23 Thread Rajendran, Prabaharan
Hi, I hope that indexed ("index=true") values resides in data/index directory. May I know where the stored ("stored=true") values placed, is that possible to see the contents ? Thanks, Prabaharan

Re: Errors for Streaming Expressions using JDBC (Oracle) stream source

2016-06-23 Thread Joel Bernstein
Sure. You can create a ticket from here https://issues.apache.org/jira/browse/SOLR/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel After you've created an account I'll need to add your username to the contributors group. If you post your username back to this thread I'll do that

Re: json.nl=arrarr json formating option with the php lib

2016-06-23 Thread Victor D'agostino
Hi guys SolrQuery implements SolrModifiableParams so we can use the setParam method : $solr_query = new SolrQuery(); $solr_query->setParam('json.nl', 'arrarr'); $solr_query->setParam('indent', 'off'); json.nl is ok but the php lib force indent to "on" so th

RE: How to configure and use updateRequestProcessorChain for Solr-5.3.1

2016-06-23 Thread Rajendran, Prabaharan
Yes, it is copied from other field. I hope that, setField() overwrites the existing value. But it appends in my case. Am I missed anything . Thanks, Prabaharan -Original Message- From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] Sent: 22 June 2016 19:24 To: solr-user Subjec

RE: Errors for Streaming Expressions using JDBC (Oracle) stream source

2016-06-23 Thread Hui Liu
Thanks Joel, I have never opened a ticket before with Solr, do you know the steps (url etc) I should follow? I will be glad to do so... At the meantime, I guess the workaround is to use 'data import handler' to get the data from Oracle into Solr? Regards, Hui -Original Message- From: Joe

Re: Errors for Streaming Expressions using JDBC (Oracle) stream source

2016-06-23 Thread Joel Bernstein
Let's open a ticket for this issue specific to Oracle. Joel Bernstein http://joelsolr.blogspot.com/ On Thu, Jun 23, 2016 at 10:54 AM, Joel Bernstein wrote: > I think we're going to have to add some debugging into the code to find > what's going on. On line 225 in JDBCStream it's getting the cla

Re: Errors for Streaming Expressions using JDBC (Oracle) stream source

2016-06-23 Thread Joel Bernstein
I think we're going to have to add some debugging into the code to find what's going on. On line 225 in JDBCStream it's getting the class name for each column. It would be good know what the class names are that the Oracles driver is returning. https://github.com/apache/lucene-solr/blob/releases/l

Re: json.nl=arrarr json formating option with the php lib

2016-06-23 Thread Victor D'agostino
Hi again Same question for the "indent" parameters i'd like to turn off. Regards Victor Message original *Sujet: *json.nl=arrarr json formating option with the php lib *De : *Victor D'agostino *Pour : *solr-user@lucene.apache.org *Date : *23/06/2016 16:31 Hi guys I try to

json.nl=arrarr json formating option with the php lib

2016-06-23 Thread Victor D'agostino
Hi guyes I try to add the json.nl=arrarr option in a solr request in addition of wt=json but i can not find how to do this using the php lib. Is there any option or way to create a custom option field ? Regards Victor  Ce message et les éventuels documents joints peuven

RE: Errors for Streaming Expressions using JDBC (Oracle) stream source

2016-06-23 Thread Hui Liu
Joel - thanks for the quick response, in my previous test, the collection 'document5' does have a field called 'date_created' which is type 'date', even though my SQL SELECT below did not select any un-supported data type (all columns are either long or String in jdbc type); but to totally rule

Re: Errors for Streaming Expressions using JDBC (Oracle) stream source

2016-06-23 Thread Joel Bernstein
I'm wondering if you're selecting an unsupported data type. The exception being thrown looks like it could happen if that were the case. The supported types are in the Java doc. https://github.com/apache/lucene-solr/blob/releases/lucene-solr/6.0.0/solr/solrj/src/java/org/apache/solr/client/solrj/io

Re: Nested documents

2016-06-23 Thread Mikhail Khludnev
Please check [child] [subquery] document transformers. 23 июня 2016 г. 10:57 пользователь "Anil" написал: > HI, > > I understand child and parent documents are individual documents in nested > document indexing. > > is there any way to get the parent documents with query of AND of two child > con

Re(2): Can we directly move the solr instance running as standalone toSOLR CLOUD?

2016-06-23 Thread scott.chu
Me and Erick have answered your question eariler. Please go check them. scott.chu,scott@udngroup.com 2016/6/23 (週四) - Original Message - From: Preeti Bhat To: solr-user CC: Date: 2016/6/23 (週四) 12:02 Subject: RE: Can we directly move the solr instance running as standalone toSOLR

Does Solr 6.0 support indexing and querying for HUNGARIAN, KOREAN, SLOVAK, VIETNAMESE and Traditional Chinese documents?

2016-06-23 Thread tjlp
Hi, I am using Solr 6.0 to indexing document from different countries. I go through the reference guide of Solr 6.0. I can't find anything about HUNGARIAN, SLOVAK, and VIETNAMESE language support. And For KOREAN and Traditional Chinese, I can find the CJK tokenizer. Is CJK tokenizer enough?

Issues with indexing: method ()V not found in Solr 6.1.0

2016-06-23 Thread Zheng Lin Edwin Yeo
Hi, I have tried to migrate from Solr 6.0.1 to Solr 6.1.0. However, when I tried to do the indexing in Solr 6.1.0, I encountered this error: *org.apache.solr.common.SolrInputDocument: method ()V not found* I have done some modification to the SolrContentHandler under org.apache.solr.handler.extr

Nested documents

2016-06-23 Thread Anil
HI, I understand child and parent documents are individual documents in nested document indexing. is there any way to get the parent documents with query of AND of two child content ? Eg : 1 Product name 1 product 1-1 Red L 1-2 Blue L