How to define facet.prefix as case-insensitive

2013-09-22 Thread Mysurf Mail
I am using facet.prefix for auto complete. This is my definition requestHandler name=/ac class=solr.SearchHandler lst name=defaults str name=echoParamsexplicit/str ... str name=lowercaseOperatorstrue/str str name=faceton/str str name=facet.fieldSuggest/str /lst this is my field

Re: requested url solr/update/extract not available on this server

2013-09-22 Thread Nutan
I did define the request handler. On Sun, Sep 22, 2013 at 12:51 AM, Erick Erickson [via Lucene] ml-node+s472066n4091391...@n3.nabble.com wrote: bq: And im not using the example config file It looks like you have not included the request handler in your solrconfig.xml, something like (from

Facet search on a docvalue field in a multi shard collection

2013-09-22 Thread Trym R. Møller
Hi I have a problem doing facet search on a doc value field in a multi shard collection. Any ideas what I may be doing wrong? My Solr schema specifies fieldA as a docvalue type and I have created a two shard collection using Solr 4.4.0. When I do a facet search on fieldA with a large

Equivalent Java client code

2013-09-22 Thread Baskar Sikkayan
Hi, I use the below query to check if the both of the word are there in the document. http://localhost:18080/solr/select?defType=dismaxpf=tagged_skills ^100q=java+ejb+Springqf=tagged_skillsq.op=AND I am not sure how to execute the same thing using Solr Java client. SolrQuery query = new

Xml file is not inserting from code java -jar post.jar *.xml

2013-09-22 Thread Kishan Parmar
hi i am new user of Solr i have done my schema file and when i write a code to insert xxl file to index from cmd .java -jar post.jar *.xml it give us error solr returned errer 404 not found what can i do??? Regards, Kishan Parmar Software Developer +91 95 100 77394 Jay Shree Krishnaa !!

Facet search on a docvalue field in a multi shard collection

2013-09-22 Thread Trym R. Møller
Hi I have a problem doing facet search on a doc value field in a multi shard collection. Any ideas what I may be doing wrong? My Solr schema specifies fieldA as a docvalue type and I have created a two shard collection using Solr 4.4.0. When I do a facet search on fieldA with a large

Re: Xml file is not inserting from code java -jar post.jar *.xml

2013-09-22 Thread Jack Krupansky
Did you start Solr? How did you verify that Solr is running? Are you able to query Solr and access the Admin UI? Most importantly, did you successfully complete the standard Solr tutorial? (IOW, you know all the necessarily steps for basic operation of Solr.) Lastly, did you verify (by

Re: Facet search on a docvalue field in a multi shard collection

2013-09-22 Thread Erick Erickson
right, I think you're running into a bug I remember going by. I can't find it now, JIRA seems to be not responding. As I remember, where if a shard doesn't have a doc on it, you get an error. Although why facet.limit should figure in here is a mystery to me, maybe a coincidence? Significant work

Re: requested url solr/update/extract not available on this server

2013-09-22 Thread Erick Erickson
Please review: http://wiki.apache.org/solr/UsingMailingLists Erick On Sun, Sep 22, 2013 at 5:52 AM, Nutan nutanshinde1...@gmail.com wrote: I did define the request handler. On Sun, Sep 22, 2013 at 12:51 AM, Erick Erickson [via Lucene] ml-node+s472066n4091391...@n3.nabble.com wrote: bq:

Re: Xml file is not inserting from code java -jar post.jar *.xml

2013-09-22 Thread Erick Erickson
Please review: http://wiki.apache.org/solr/UsingMailingLists Best, Erick On Sun, Sep 22, 2013 at 8:06 AM, Jack Krupansky j...@basetechnology.com wrote: Did you start Solr? How did you verify that Solr is running? Are you able to query Solr and access the Admin UI? Most importantly, did you

Re: How to define facet.prefix as case-insensitive

2013-09-22 Thread Erick Erickson
You'll have to lowercase the term in your app and set terms.prefix to that value, there's no analysis done on the terms.prefix value. Best, Erick On Sun, Sep 22, 2013 at 4:07 AM, Mysurf Mail stammail...@gmail.com wrote: I am using facet.prefix for auto complete. This is my definition

Re: Getting a query parameter in a TokenFilter

2013-09-22 Thread Trey Grainger
Hi Isaac, In the process of writing Solr in Action (http://solrinaction.com), I have built the solution to SOLR-5053 for the multilingual search chapter (I didn't realize this ticket existed at the time). The solution was something I called a MultiTextField. Essentially, the field let's you map

Re: dih delete doc per $deleteDocById

2013-09-22 Thread Andreas Owen
sorry, it works like this, i had a typo in my conf :-( On 17. Sep 2013, at 2:44 PM, Andreas Owen wrote: i would like to know how to get it to work and delete documents per xml and dih. On 17. Sep 2013, at 1:47 PM, Shalin Shekhar Mangar wrote: What is your question? On Tue, Sep 17,

Re: Equivalent Java client code

2013-09-22 Thread Shawn Heisey
On 9/22/2013 7:43 AM, Baskar Sikkayan wrote: http://localhost:18080/solr/select?defType=dismaxpf=tagged_skills ^100q=java+ejb+Springqf=tagged_skillsq.op=AND I am not sure how to execute the same thing using Solr Java client. SolrQuery query = new SolrQuery(); query.setQuery(

Near Duplicate Document Detection at Solr

2013-09-22 Thread Furkan KAMACI
I want to detect near duplicate documents (for web documents). I know that there is an algorithm called Winnowing and there is another technique used by Google. However I also know that Solr has a component called MoreLikeThis. Google's page explains that *mirroring and plagiarism* is easy to

Re: Near Duplicate Document Detection at Solr

2013-09-22 Thread Furkan KAMACI
I've also know that there is another mechanism at Solr: http://wiki.apache.org/solr/Deduplication I think that I should add a custom signature because that is the most usable one for me: http://wiki.apache.org/solr/TextProfileSignature On the other hand are there any limitation for deduplication

RE: Near Duplicate Document Detection at Solr

2013-09-22 Thread Markus Jelsma
-Original message- From:Furkan KAMACI furkankam...@gmail.com Sent: Sunday 22nd September 2013 21:15 To: solr-user@lucene.apache.org Subject: Re: Near Duplicate Document Detection at Solr I've also know that there is another mechanism at Solr:

import partition table from oracle

2013-09-22 Thread YouPeng Yang
Hi I want to import dataset in a partition of a partition table with DIH. And I would like to explicitly define the partition when I do import job. To be specific. 1. I define the DIH configuration like these entity name=type query=select id as tid from movie_type partition(${ part})''

import partition table from oracle

2013-09-22 Thread YouPeng Yang
Hi I want to import dataset in a partition of a partition table with DIH. And I would like to explicitly define the partition when I do import job. To be specific. 1. I define the DIH configuration like these entity name=type query=select id as tid from movie_type partition(${ part})''

Interesting edismax/qs bug in Solr 3.5

2013-09-22 Thread Arcadius Ahouansou
We have been seeing a strange bug in our prod Solr 3.5. I went to download a fresh copy of Solr3.5, with default schema and indexed (curl or post.jar) the following 2 docs [ { id:1, title:One Earth }, { id:2, title:One Love One Earth } ] I could browse and

RE: Interesting edismax/qs bug in Solr 3.5

2013-09-22 Thread Michael Ryan
Sounds like https://issues.apache.org/jira/browse/LUCENE-3821 (issue seems to be fixed but still shows as open). -Michael -Original Message- From: Arcadius Ahouansou [mailto:arcad...@menelic.com] Sent: Sunday, September 22, 2013 11:15 PM To: solr-user Subject: Interesting edismax/qs