Newly added json facet api returning inconsistent results in distributed mode

2015-04-23 Thread Vamsi Krishna Devabathini
Hi, I am new to the solr community and I am sorry if this is not the right medium to bring the issue to notice. I have found following issue : https://issues.apache.org/jira/browse/SOLR-7452 as mentioned in the subject and raised a ticket for the same. Any help is appreciated! Sent from my

Re: Issue with Solr Suggester

2015-04-23 Thread Swaraj Kumar
This is working as expected but the problem I get with wrong spelling searches. When I give suggest.q=Bhopml Fuzzy lookup suggests bhopal which is correct buy in AnalyzingInfixSuggester it doesn't provide this . Regards, Swaraj Kumar Senior Software Engineer I MakeMyTrip.com Mob No- 9811774497

Re: Auto replication mechanism in SolrCloud 5.1 not working

2015-04-23 Thread Shawn Heisey
On 4/23/2015 5:59 AM, mihaela olteanu wrote: > I have setup a SolrCloud 5.1 cluster consisting of 3 nodes (let's cal them > host1, host2 and host3). I have started each node by specifying property > -DnumShards=1. Afterwards I have created a collection with the following > parameters and importe

Re: Boolean filter query not working as expected

2015-04-23 Thread Shawn Heisey
On 4/22/2015 9:27 AM, Dhutia, Devansh wrote: > I don’t know if that’s completely true, or maybe I’m misunderstanding > something. > > If it doesn’t support purely negative subqueries, this shouldn't work, but > does: > q=*:*&fq=(-(field:V1)) It's Lucene that has no support for purely negative

Re: Solr Error Message ShutDown

2015-04-23 Thread Shawn Heisey
On 4/22/2015 8:23 AM, EXTERNAL Taminidi Ravi (ETI, AA-AS/PAS-PTS) wrote: > Hi , We are having an issue without PROD environment and its say below > message when we access solr using browser.. > > > HTTP Status 503 - Server is shutting down or failed to initialize > __

Re: TIKA OCR not working

2015-04-23 Thread trung.ht
Hi Jack, Alexandre, Thanks for answering. I saw the document of Tika. Tika 1.7 support OCR and Solr 5.0 use Tika 1.7, but it looks like it does not work. Does anyone know that TIKA OCR works automatically with Solr or I have to change some settings? Trung. On Thu, Apr 23, 2015 at 10:02 PM, Ja

Re: Grouping Performance Optimation

2015-04-23 Thread shamik
You should look at CollapsinQParserPlugin. It's much faster compared to a Grouping query. https://wiki.apache.org/solr/CollapsingQParserPlugin It has a limitation though, check the following JIRA if it might affect your use-case. https://issues.apache.org/jira/browse/SOLR-6143 -- View this me

Re: and stopword in user query is being change to q.op=AND

2015-04-23 Thread Chris Hostetter
: And stopword in user query is being changed to q.op=AND, i am going to : look more into this This is an explicitly documented feature of the edismax parser... https://cwiki.apache.org/confluence/display/solr/The+Extended+DisMax+Query+Parser * treats "and" and "or" as "AND" and "OR" in Lucene

Re: Order of Copy Field and Analyzer

2015-04-23 Thread Andrea Gazzarini
Yes, the "copied" value is always the original one (the stored), regardless any analysis, which is field-scoped On 23 Apr 2015 19:13, "Kaushik" wrote: > Hello, > > > What is the order in which these occur? > > >- Copy field >- Analyzer > > The other way of asking the above question I gues

Order of Copy Field and Analyzer

2015-04-23 Thread Kaushik
Hello, What is the order in which these occur? - Copy field - Analyzer The other way of asking the above question I guess is, if I copy an _txt field to _t field, does the analyzer of _t get the orignial text sent to _txt field or the analyzed tokens from it? Thanks, Kaushik

Re: Odp.: solr issue with pdf forms

2015-04-23 Thread Dan Davis
Steve, You gave as an example: Ich�bestätige�mit�meiner�Unterschrift,�dass�alle�Angaben�korrekt�und� vollständig�sind This sentence is probably from the PDF form label content, rather than form values. Sometimes in PDF, the form's value fields are kept in a separate file. I'm 99% sure Tika w

Re: Issue with Solr Suggester

2015-04-23 Thread Erick Erickson
I'm pretty sure that FuzzyLookup only goes from the beginning of the field, so this is not surprising. To get what you're looking for you probably would get more joy from the AnalyzingInfixSuggester. Best, Erick On Thu, Apr 23, 2015 at 6:20 AM, Swaraj Kumar wrote: > I am trying to implement Sugg

Re: MLT causing Problems

2015-04-23 Thread Erick Erickson
Looks like the "rishi" core is not loaded or you really haven't configured the mlt handler for rishi. bq: no logs related to the core rishi are available How can that be if the core is loaded? Problem accessing /solr/rishi/mlt. Reason: Not FoundPowered by So you need to show us your Solr co

Re: search or filter by a list of document ids and return them in the same order.

2015-04-23 Thread Erick Erickson
Not that I know of. But your application gets the original params back, so you can order the display based on the params that are echoed back. Best, Erick On Thu, Apr 23, 2015 at 2:17 AM, Derek Poh wrote: > Hi > > I am trying to search or filter by alist ofdocuments by their ids (product > id fi

Re: Odp.: solr issue with pdf forms

2015-04-23 Thread Erick Erickson
When you say "they're not indexed correctly", what's your evidence? You cannot rely on the display in the browser, that's the raw input just as it was sent to Solr, _not_ the actual tokens in the index. What do you see when you go to the admin schema browser pate and load the actual tokens. Or use

Re: TIKA OCR not working

2015-04-23 Thread Jack Krupansky
It's not clear if OCR would happen automatically in Solr Cell, or if changes to Solr would be needed. For Tika OCR info, see: https://issues.apache.org/jira/browse/TIKA-93 https://wiki.apache.org/tika/TikaOCR -- Jack Krupansky On Thu, Apr 23, 2015 at 9:14 AM, Alexandre Rafalovitch wrote: >

Issue with Solr Suggester

2015-04-23 Thread Swaraj Kumar
I am trying to implement Suggester in SOLR 5.0, Below is my configuration :- my-suggester FuzzyLookupFactory DocumentDictionaryFactory name cityname id text_general true true 10 suggest

Re: TIKA OCR not working

2015-04-23 Thread Alexandre Rafalovitch
I think OCR is in Tika 1.8, so might be in Solr 5.?. But I haven't seen it in use yet. Regards, Alex On 23 Apr 2015 10:24 pm, "Ahmet Arslan" wrote: > Hi Trung, > > I didn't know about OCR capabilities of tika. > Someone who is familiar with sold-cell can inform us whether this > functionalit

Re: Suggestion in Solr Cloud

2015-04-23 Thread Swaraj Kumar
Do anyone has any idea on this?? Regards, Swaraj Kumar Senior Software Engineer I MakeMyTrip.com Mob No- 9811774497 On Wed, Apr 22, 2015 at 11:47 AM, Swaraj Kumar wrote: > Hi All, > > I want to use suggest option in solr but my SOLR is in cloud mode hence to > get the suggestion every time in

Solr Windows service: Access is denied

2015-04-23 Thread Marco De Rossi
Hi all, my installation of Apache Solr on Windows Server 2008 R2 SP1 always stops with error "Access is denied" or "Incorrect Function" or "The data area passed to a system call is too small". Do someone of you know how to fix this issue? Thx Marco

Re: TIKA OCR not working

2015-04-23 Thread Ahmet Arslan
Hi Trung, I didn't know about OCR capabilities of tika. Someone who is familiar with sold-cell can inform us whether this functionality is added to solr or not. Ahmet On Thursday, April 23, 2015 2:06 PM, trung.ht wrote: Hi Ahmet, I used a png file, not a pdf file. From the document, I under

Grouping Performance Optimation

2015-04-23 Thread Jens Mayer
Hey, I've working on a Geo Search and included grouping. So results which have the same score will be grouped. But since I included grouping the performance decreased very intensive. Before I implemented grouping a query need round about 6 millisecond but now the query need round about 3 seconds

Auto replication mechanism in SolrCloud 5.1 not working

2015-04-23 Thread mihaela olteanu
Hello, I have setup a SolrCloud 5.1 cluster consisting of 3 nodes (let's cal them host1, host2 and host3). I have started each node by specifying property -DnumShards=1. Afterwards I have created a collection with the following parameters and imported some data using DIH: http://host1:port/solr/

Solr Plugin: how to stop/interrupt processing of components for a redirect component

2015-04-23 Thread Marc Eilens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've got a problem with a self written component that is configured in the "first-components" section of my SearchHandler ("/select"). When a certain keyword is given in the query string, I want to write a redirect URL to the response and stop p

Re: TIKA OCR not working

2015-04-23 Thread trung.ht
Hi Ahmet, I used a png file, not a pdf file. From the document, I understand that solr will post the file to tika, and since tika 1.7, OCR is included. Is there something I misunderstood. Trung. On Thu, Apr 23, 2015 at 5:59 PM, Ahmet Arslan wrote: > Hi Trung, > > solr-cell (tika) does not do O

Re: TIKA OCR not working

2015-04-23 Thread Ahmet Arslan
Hi Trung, solr-cell (tika) does not do OCR. It cannot exact text from image based pdfs. Ahmet On Thursday, April 23, 2015 7:33 AM, trung.ht wrote: Hi, I want to use solr to index some scanned document, after settings solr document with a two field "content" and "filename", I tried to up

Re: MLT causing Problems

2015-04-23 Thread Srinivas Rishindra
Dear Eric I have two solr cores one named as semi_final and the other rishi. when i use more like this function in semi_final core, it is giving the results, but it is throwing the problem accessing mlt error in the core rishi. The schema and configuration of both rishi and semifinal are same. In

search or filter by a list of document ids and return them in the same order.

2015-04-23 Thread Derek Poh
Hi I am trying to search or filter by alist ofdocuments by their ids (product id field).The requirement is the return documents must be in the same order as search or filter by. Eg.if i search or filter on the below list of ids, the documents must be return in the same order too 1083342171 10

AW: Odp.: solr issue with pdf forms

2015-04-23 Thread Steve.Scholl
Hey Erick, thanks for your answer. They are not indexed correctly. Also throught the solr admin interface I see these typical questionmarks within a rhombus where a blank space should be. I now figured out the following (not sure if it is relevant at all): - PDF documents created with "Acrobat P

Re: Bad contentType for search handler :text/xml; charset=UTF-8

2015-04-23 Thread didier deshommes
On Wed, Apr 22, 2015 at 4:17 PM, Yonik Seeley wrote: > On Wed, Apr 22, 2015 at 11:00 AM, didier deshommes > wrote: > > curl " > > > http://localhost:8983/solr/gettingstarted/select?wt=json&indent=true&q=foundation > " > > -H "Content-type:application/json" > > You're telling Solr the body encodi