Re: analyzer for _text_ field

2016-07-15 Thread Waldyr Neto
tks a lot, i'll try soon and give u a feed back :) On Fri, Jul 15, 2016 at 4:07 PM, David Santamauro < david.santama...@gmail.com> wrote: > > The opening and closing single quotes don't match > > -data-binary '{ ... }’ > > it should be: > > -data-binary '{ ... }' > > > > On 07/15/2016 02:59 PM,

Re: Multilevel grouping?

2016-07-15 Thread William Bell
On grouping, if I only want the first 5 responses, it would be great if the code short-circuited to improve performance. I am not sure I want it grouping 10M results, when I already have 5 that are good enough. ? On Thu, Jul 14, 2016 at 10:33 AM, Callum Lamb wrote: > Look at

Adding solr to existing web application

2016-07-15 Thread Natarajan, Rajeswari
Hi, We have a springboot application and we would like to add Solr to it as the same process as the springboot application. Tried to add SolrDispatchFilter in the springboot. Could add the filter successfully ,but then the solr admin panel is not reachable ,there are no errors. We use solr

SOLR-8297 - Join on sharded collections

2016-07-15 Thread Shikha Somani
Hi, Solr Join on sharded from collections was supported in Solr 4.x but broke in Solr 5.x (8297). This issue is blocking issue as it directly impacts search functionality. A fix for this ?issue is committed and ready for merge. Please review

Re: index sql databases

2016-07-15 Thread kostali hassan
Thank you Shawn the prb is when I display the field type date I get the value in this forme -MM-dd'T'hh:mm:ss'Z'

Re: index sql databases

2016-07-15 Thread Shawn Heisey
On 7/15/2016 12:42 PM, kostali hassan wrote: > I use solr5.4.1 when a attribute the type date is null (:00:00) > the processus of indexation stop and the log had an Error , how i have > to change in driver="com.mysql.jdbc.Driver" to ignore null date; Last > question how to set

Re: Reusing `geodist()` value in a function query

2016-07-15 Thread Aakash Sabharwal
Hey! Any help on this would be appreciated. I tried tracing through the code and I couldn't find evidence of any level of geodist() caching. Aakash On Thu, Jul 14, 2016 at 7:33 PM Aakash Sabharwal wrote: > Alternatively if I do the following: > > *q={!boost

Re: using lucene parser syntax with eDisMax

2016-07-15 Thread Erick Erickson
Yes on both counts. Although it takes a bit of practice, if you add =query to the query you'll see a section of the response showing you exactly what the resulting query is after all the rules are applied. Best, Erick On Fri, Jul 15, 2016 at 12:32 PM, Whelan, Andy wrote: >

Indexing documents stored in HDFS

2016-07-15 Thread Rishabh Patel
Hello, I am trying to find a way to index some documents, all located in a directory in HDFS. Since HDFS has a REST API, I was trying to use the DataImportHandler(DIH) along with the datasource type as URLDataSource, to index the documents. Is this approach wrong? If so, then is there a

using lucene parser syntax with eDisMax

2016-07-15 Thread Whelan, Andy
Hello, I am using the eDisMax parser and have the following question. With the eDisMax parser we can pass a query, q="brown and mazda", and configure a bunch of fields in a solrconfig.xml SearchHandler to query on as "qf". Let's say I have a SOLR schema.xml with the following fields: and

Re: Solr Cloud setup and deoployment in Azure cloud

2016-07-15 Thread Aniket Khare
Just wanted to add few more details. I want to create 7 VM set where 4 servers will be used for solrcloud setup and 3 VM as zokkeper instance. On Thu, Jul 14, 2016 at 4:15 PM, Aniket Khare wrote: > Hi, > > I was looking for option to deploy SolrCloud in Azure. I am using

Re: analyzer for _text_ field

2016-07-15 Thread David Santamauro
The opening and closing single quotes don't match -data-binary '{ ... }’ it should be: -data-binary '{ ... }' On 07/15/2016 02:59 PM, Steve Rowe wrote: Waldyr, maybe it got mangled by my email client or yours? Here’s the same command:

Re: analyzer for _text_ field

2016-07-15 Thread Steve Rowe
Waldyr, maybe it got mangled by my email client or yours? Here’s the same command: -- Steve www.lucidworks.com > On Jul 15, 2016, at 2:16 PM, Waldyr Neto wrote: > > Hy Steves, tks for the help >

index sql databases

2016-07-15 Thread kostali hassan
I use solr5.4.1 when a attribute the type date is null (:00:00) the processus of indexation stop and the log had an Error , how i have to change in driver="com.mysql.jdbc.Driver" to ignore null date; Last question how to set to to field date and time< hh:mm:ss>

Re: analyzer for _text_ field

2016-07-15 Thread Waldyr Neto
Hy Steves, tks for the help unfortunately i'm making some mistake when i try to run >> curl -X POST -H 'Content-type: application/json’ \ http://localhost:8983/solr/gettingstarted/schema --data-binary '{"add-field-type": { "name": "my_new_field_type", "class": "solr.TextField","analyzer":

Re: analyzer for _text_ field

2016-07-15 Thread Steve Rowe
Hi Waldyr, An example of changing the _text_ analyzer by first creating a new field type, and then changing the _text_ field to use the new field type (after starting Solr 6.1 with “bin/solr start -e schemaless”): - PROMPT$ curl -X POST -H 'Content-type: application/json’ \

RE: [Non-DoD Source] Re: SimplePostTool error (UNCLASSIFIED)

2016-07-15 Thread Musshorn, Kris T CTR USARMY RDECOM ARL (US)
CLASSIFICATION: UNCLASSIFIED Thanks Yonik and Eric, If I set -filetypes csv,pdf,doc,docx,ppt,pptx,xls,xlsx,odt,odp,ods,ott,otp,rtf,htm,html,txt would this prevent indexing of xml files? Why does the simple post tool index .cfm files with this or default settings? Thanks, Kris

analyzer for _text_ field

2016-07-15 Thread Waldyr Neto
Hy, How can i configure the analyzer for the _text_ field?

Re: SimplePostTool error (UNCLASSIFIED)

2016-07-15 Thread Yonik Seeley
On Fri, Jul 15, 2016 at 12:29 PM, Erick Erickson wrote: > simplePostTool is just that, simple. It's intended to get you started. > It is not a full-featured web crawler. As such, if you're encountering > wonky web pages that are not well formed HTML there's no guarantee >

Re: A working example to play with Naive Bayes classifier

2016-07-15 Thread Alessandro Benedetti
But how big it is your index ? Are you expecting Solr to automatically classify your documents without any knowledge groundbase ? Please attach an example of schema. There was a reason if I asked you :) Seems related the fact we get no token from the text analysis. Cheers On Fri, Jul 15, 2016 at

Re: Changing scoring in RankQuery

2016-07-15 Thread Joel Bernstein
I think you'll have to handle the complexities you describe if you use the RankQuery. The RankQuery does bring with it a fair amount of complexity to get everything right. The ReRankQParserPlugin provides a pretty good example to review. Joel Bernstein http://joelsolr.blogspot.com/ On Fri, Jul

Re: search documents that have a specific field populated

2016-07-15 Thread Erick Erickson
First of all I get an error message on startup with a field definition like: default=EMPTY. So I'm assuming you are puttint in quotes default="EMPTY" The query q=field:[* TO *] should be fine, as is John's query fq:field:[* TO *] So something's wonky here. I'd start by deleting the entire index

Re: SimplePostTool error (UNCLASSIFIED)

2016-07-15 Thread Erick Erickson
simplePostTool is just that, simple. It's intended to get you started. It is not a full-featured web crawler. As such, if you're encountering wonky web pages that are not well formed HTML there's no guarantee that it'll handle them gracefully. Crawling websites is a pain, so if you require

SimplePostTool error (UNCLASSIFIED)

2016-07-15 Thread Musshorn, Kris T CTR USARMY RDECOM ARL (US)
CLASSIFICATION: UNCLASSIFIED How do I correct this error when running the simple post tool against a website? The tool successfully indexed for about 30 mins before throwing this error and terminating. [Fatal Error] :642:15: XML document structures must start and end within the same entity.

Re: solrcloud so many connections

2016-07-15 Thread Kent Mu
hello, does anybody also come across the issue? can anybody help me? with an addition, besides the query speed become slow. the speed of writing index also becomes slow. looking forward to your reply. Thanks. Kent 2016-07-14 13:01 GMT+08:00 Kent Mu : > Hi friends! > >

Changing scoring in RankQuery

2016-07-15 Thread Ankit Singh
Hi, I am trying to understand how to influence scoring via RankQuery in solr >= 4.9. My requirements are two fold: 1) Use a custom collector 2) Change scoring of docs As far as i could understand, if we just want to change the scoring, we can write a QueryParserPlugin and extend

Re: search documents that have a specific field populated

2016-07-15 Thread John Blythe
we use something in between: fq=fieldName[* TO *] -- *John Blythe* Product Manager & Lead Developer 251.605.3071 | j...@curvolabs.com www.curvolabs.com 58 Adams Ave Evansville, IN 47713 On Fri, Jul 15, 2016 at 10:17 AM, Valentina Cavazza wrote: > Hi, > I need to

RE: search documents that have a specific field populated

2016-07-15 Thread Jamal, Sarfaraz
If I understand you properly, I do it using a Filter Query: fq=NOT(field:EMPTY) Hope that helps - Sas -Original Message- From: Valentina Cavazza [mailto:valent...@step-net.it] Sent: Friday, July 15, 2016 10:17 AM To: solr-user@lucene.apache.org Subject: search documents that have a

search documents that have a specific field populated

2016-07-15 Thread Valentina Cavazza
Hi, I need to search documents that have a specific field populated, so I want to display all the documents that have the field not empty. This field in schema is set multivalued=true, indexed=true, stored=true, default=EMPTY. This field type is solr.TextField class, use

RE: How to create highlight search component using Config API

2016-07-15 Thread Alexandre Drouin
Hi, Thanks for info, however I got an error when adding the field using curl (sorry for the long lines): Command I used: curl -k -u user:password https://solr:8443/solr/q/config -H 'Content-type:application/json' -d '{ "add-searchcomponent": { "highlight": { "name": "myHighlight",

Re: A working example to play with Naive Bayes classifier

2016-07-15 Thread Tomas Ramanauskas
Hi, Allesandro, sorry for the delay. What do you mean? As I mentioned earlier, I followed a super simply set of steps. 1. Download Solr 2. Configure classification 3. Create some documents using curl over HTTP. Is it difficult to reproduce the steps / problem? Tomas > On 23 Jun 2016,