Payload with Local Params?

2014-10-10 Thread William Bell
Reading... http://lucidworks.com/blog/end-to-end-payload-example-in-solr/ I want to call: http://localhost:8983/solr/collection1/query?defType=myqp&yy=electronics&q=payloads:$yy How do I pass $yy to the parser and have it use "electronics" instead of the literal $yy? -- Bill Bell billnb...

Re: DateMathParser question

2014-10-10 Thread Shawn Heisey
On 10/10/2014 5:13 PM, Jack Krupansky wrote: > Sounds reasonable. File a Jira! Yes, file a Jira. Does your project already depend on SolrJ? Wading through all the interdependencies is not something I'm really good at ... but if it's useful for clients, perhaps it might be a good idea to move Dat

Re: DateMathParser question

2014-10-10 Thread Jack Krupansky
Sounds reasonable. File a Jira! -- Jack Krupansky -Original Message- From: Jamie Johnson Sent: Friday, October 10, 2014 11:45 AM To: solr-user@lucene.apache.org Subject: DateMathParser question I have found that DateMathParser is extremely useful in providing nice labels back to c

Re: Tika Integration problem with DIH and JDBC

2014-10-10 Thread Dan Davis
Thanks, Alexandre.My role is to kick the tires on this. We're trying it a couple of different ways. So, I'm going to assume this could be resolved and move on to trying ManifestCF and see whether it can do similar things for me, e.g. what it adds for free to our bag of tricks. On Fri, Oct

Re: Stemming breaks highlighting?

2014-10-10 Thread Nicholas Violi
Hey Ahmet, Thanks for the quick response. Yes, I reindexed; to be sure I just wiped out the whole data directory and made a fresh index again. Nick On Fri, Oct 10, 2014 at 3:20 PM, Ahmet Arslan wrote: > Hi Nick, > > Did you re-index after schema change? > > Ahmet > > > > On Friday, October 10,

Re: [ANNOUNCE] Luke 4.10.1 released

2014-10-10 Thread Dmitry Kan
Hi Bernd, I have just fixed both issues, thanks for reporting! The hadoop core dependency was upgraded to 1.2.1. If by any chance you read lucene indices directly from hdfs and can verify this still works, that'd be great. Dmitry On Fri, Oct 10, 2014 at 12:49 PM, Bernd Fehling < bernd.fehl...@u

Re: Stemming breaks highlighting?

2014-10-10 Thread Ahmet Arslan
Hi Nick, Did you re-index after schema change? Ahmet On Friday, October 10, 2014 10:19 PM, Nicholas Violi wrote: Hi all, I changed some of my fields from text_general to text_en, hoping to take advantage of stemming and some other improvements, but unfortunately the change has broken highli

Stemming breaks highlighting?

2014-10-10 Thread Nicholas Violi
Hi all, I changed some of my fields from text_general to text_en, hoping to take advantage of stemming and some other improvements, but unfortunately the change has broken highlighting. It seems that it only wants to highlight non-stemmed words (i.e. words whose stemmed version is the same as the

Fwd: Tika Integration problem with DIH and JDBC

2014-10-10 Thread Alexandre Rafalovitch
I would concentrate on the stack traces and try reading them. They often provide a lot of clues. For example, you original stack trace had org.apache.solr.handler.dataimport.DataImportHandlerException.wrapAndThrow(DataImportHandlerException.java:71) at org.apache.solr.handler.dataimport.JdbcDataS

Re: Tika Integration problem with DIH and JDBC

2014-10-10 Thread Alexandre Rafalovitch
You say "dataSource='bin'" but I don't see you defining that datasource. E.g.: So, there might be some weird default fallback that's just causes strange problems. Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http://www.solr-start.com/

Tika Integration problem with DIH and JDBC

2014-10-10 Thread Dan Davis
What I want to do is to pull an URL out of an Oracle database, and then use TikaEntityProcessor and BinURLDataSource to go fetch and process that URL. I'm having a problem with this that seems general to JDBC with Tika - I get an exception as follows: Exception in entity : extract:org.apache.sol

Re: Stripping html from text before indexing to solr

2014-10-10 Thread Vishal Sharma
Oh gotcha. Thanks for that! *Vishal Sharma**TL, Grazitti Interactive*T: +1 650­ 641 1754 E: vish...@grazitti.com www.grazitti.com [image: Description: LinkedIn] [image: Description: Twitter] [image: fbook]

Re: Facets for Child Documents?

2014-10-10 Thread atawfik
Yes. One way is using a join query to link authors to books. The query will look like this: q={!join to=author_id_fk to=author_id} publication_date:[...] The other way is using grouping. Here, you first retrieved books based their publication then group them on their authors. -- View this mes

DateMathParser question

2014-10-10 Thread Jamie Johnson
I have found that DateMathParser is extremely useful in providing nice labels back to clients, but having to bring in all of solr-core to get it is causing us issues in our current implementation. Are there any thoughts about moving this to another jar (say solr-utils?) that would allow clients to

Re: Delete in Solr based on foreign key (like SQL delete from … where id in (select id from…)

2014-10-10 Thread Mikhail Khludnev
On Fri, Oct 10, 2014 at 6:16 AM, Matthew Nigl wrote: > But I get the same response as in > https://issues.apache.org/jira/browse/SOLR-6357 > there is a mention for cure (SOLR-6234 ) over there -- Sincerely yours Mikhail Khludnev Principal Engine

RE: Data Import Handler for CSV file

2014-10-10 Thread Dyer, James
Nabil, Unfortunately, the out-of-the box functionality for DIH lacks a lot of what the csv handler has to offer. There is a LineEntityProcessor (see http://wiki.apache.org/solr/DataImportHandler#LineEntityProcessor), but this will just output each line in a field called "rawLine". It is up to

Re: Multiple shards in the same Solr instance server

2014-10-10 Thread nabil Kouici
Thank you Aurélien. This is exactly what I'm looking for. Regards, Nabil. Le Vendredi 10 octobre 2014 11h54, "aurelien.mazo...@francelabs.com" a écrit : Hi Nabil, Does this blog answer to your question? : http://solr.pl/en/2013/01/07/solr-4-1-solrcloud-multiple-shards-on-the-same-solr-no

ERROR CommitTracker auto commit error...:org.apache.solr.common.SolrException: Error opening new searcher

2014-10-10 Thread Mou
I am using Solr cloud 4.10.0 and I have been seeing this for a while now. Does anyone has similar experience or clue what's happening ? auto commit error...:org.apache.solr.common.SolrException: Error opening new searcher at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1565)

Re: Multiple shards in the same Solr instance server

2014-10-10 Thread aurelien . mazoyer
Hi Nabil, Does this blog answer to your question? : http://solr.pl/en/2013/01/07/solr-4-1-solrcloud-multiple-shards-on-the-same-solr-node/ Regards, Aurélien On 10.10.2014 11:48, nabil Kouici wrote: Hi All, in Solr, is it possible to create for the same index multiple shards in the same Sol

Re: [ANNOUNCE] Luke 4.10.1 released

2014-10-10 Thread Bernd Fehling
Hi Dmitry, Done, added issue #7 and #8. Best regards, Bernd Am 09.10.2014 um 17:41 schrieb Dmitry Kan: > Hi Bernd, > > Thanks for checking out these warnings. Would you like to create a pull > request on github? Or alternatively, create an issue there and describe > what you did to fix this. >

Multiple shards in the same Solr instance server

2014-10-10 Thread nabil Kouici
Hi All, in Solr, is it possible to create for the same index multiple shards in the same Solr instance (or server)? Regards, Nabil.

Re: Solr Cloud has lower performance with more servers

2014-10-10 Thread Yannick
Hi guys, Thanks a lot for the cogent feedback, much appreciated. I'll group my answers in one message. 1- (Charlie): regarding the type of queries I make: here is a typical one; it's fairly vanilla, no faceting or anything fancy. q=+((titleStart:"was sixteen")(subTitleStart:"was sixteen"))+(p

Re: SolrCloud - Cloud tab on admin dashboard not loading

2014-10-10 Thread arild.nils...@gmail.com
Thanks for the replays. We solved the problem, it turned out that we had not set up the Zookeeper servlet, adding the following to web.xml solved it: Zookeeper org.apache.solr.servlet.ZookeeperInfoServlet Zookeeper /zookeeper We are using Jetty

Re: Delete in Solr based on foreign key (like SQL delete from … where id in (select id from…)

2014-10-10 Thread Luis Festas Matos
Hi matthew, I'm more than glad getting the ids and deleting them in a separate query, if need be. But how do I do it? It's dozens of thousands of ids that I have to delete. What's the strategy to delete them? On Fri, Oct 10, 2014 at 4:16 AM, Matthew Nigl wrote: > I was going to say that the bel