Re: Spellchecking

2013-09-23 Thread Gastone Penzo
Thank you!! 2013/9/20 Dyer, James > If you're using "spellcheck.collate" you can also set > "spellcheck.maxCollationTries" to validate each collation against the index > before suggesting it. This validation takes into account any "fq" > parameters on your query, so if your original query ha

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

2013-09-23 Thread Mysurf Mail
thanks. On Sun, Sep 22, 2013 at 6:24 PM, Erick Erickson wrote: > 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 > wrote: > > I am using f

solr - searching part of words

2013-09-23 Thread Mysurf Mail
My field is defined as *text_en is defined as in the original schema.xml that comes with solr Now, my field has the following vaues - "one" - "one1" searching for "one" returns only the field "one". What causes it? how can I change it?

Re: import partition table from oracle

2013-09-23 Thread YouPeng Yang
Hi Shalin Thanks a lot. It is the point that I need. Regards 2013/9/23 Shalin Shekhar Mangar > You can use request parameters in your query e.g. > > > > http://wiki.apache.org/solr/DataImportHandler#Accessing_request_parameters > > On Mon, Sep 23, 2013 at 8:26 AM, YouPeng Yang > wrote: >

Re: Storing/indexing speed drops quickly

2013-09-23 Thread Per Steffensen
Now running the tests on a slightly reduced setup (2 machines, quadcore, 8GB ram ...), but that doesnt matter We see that storing/indexing speed drops when using IndexWriter.updateDocument in DirectUpdateHandler2.addDoc. But it does not drop when just using IndexWriter.addDocument (update-requ

Re: isolating solrcloud instance from peer updates

2013-09-23 Thread Anshum Gupta
Though as Shalin said, there's no way to do it other than just taking it off completely, can you specify the use case ? On Sun, Sep 22, 2013 at 3:17 AM, Aditya Sakhuja wrote: > Hello all, > > Is there a way to isolate an active solr-cloud instance from all incoming > replication update requests

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

2013-09-23 Thread Trym R. Møller
Hi Erick Thanks for your input. I have retrieved and build the branch http://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_5 Doing the same setup as in my previous post (two shard collection, fieldA af docValue type, index a single document and doing a facet search on fieldA), I

Re: Hash range to shard assignment

2013-09-23 Thread lochri
Thanks for the clarification. Still I would think it is sub-optimal to split shards when we actually don't know which mailboxes we actually split. It may create splits of small users which leads to unnecessary distribution of the smaller users. We thought about doing the routing ourself. As far a

deployee issu on solr

2013-09-23 Thread Ramesh
Unable to deploying solr 4.4 on JBoss -4.0.0 I am getting error like

Re: deployee issu on solr

2013-09-23 Thread Furkan KAMACI
Could you send your error? 2013/9/23 Ramesh > Unable to deploying solr 4.4 on JBoss -4.0.0 I am getting error like > > > >

Re: SolrCloud - Path must not end with / character

2013-09-23 Thread capesonlee
Hi guys, I just met this problem too. After read the source code, I found collection1 is missing in the zookeeper configuration. You can solve this problem by just remove the version-2 folder of zookeeper configration and init the zookeeper again. Hope this helps. -- View this message in context

[Solr Join Score Mode] Query parser lack

2013-09-23 Thread Alessandro Benedetti
Hi guys, I was studying in deep the join feature, and I noticed that in Solr , the join query parser is not working in scoring. If you add the parameter "scoreMode" it is completely ignored... Checking the source code it's possible to see that the join query is built as follow : public class Join

Re: Problems with gaps removed with SynonymFilter

2013-09-23 Thread Michael McCandless
Unfortunately the current SynonymFilter cannot handle posInc != 1 ... we could perhaps try to fix this ... patches welcome :) So for now it's best to place SynonymFilter before StopFilter, and before any other filters that may create graph tokens (posLen > 1, posInc == 0). Mike McCandless http:/

Get only those documents that are fully satisfied.

2013-09-23 Thread asuka
Hi, I've got an scenario similar to the following one. ID1 PAUL MCCARTNEY FLOWERS IN THE DIRT 1989 LP2 ALICE IN CHAINS DIRT 1992 LP3

[DIH] Logging skipped documents

2013-09-23 Thread jerome . dupont
Hello, I have a question, I index documents and a small part them are skipped, (I am in onError="skip" mode) I'm trying to get a list of them, in order to analyse what's worng with these documents Is there a mean to get the list of skipped documents, and some more information (my onError="skip" i

Re: Get only those documents that are fully satisfied.

2013-09-23 Thread Jack Krupansky
It all depends on your query parameters and schema field type analyzers, of which you have told us nothing. -- Jack Krupansky -Original Message- From: asuka Sent: Monday, September 23, 2013 7:57 AM To: solr-user@lucene.apache.org Subject: Get only those documents that are fully satisf

Re: solr - searching part of words

2013-09-23 Thread Jack Krupansky
Solr is very flexible and you can configure it in lots of amazing ways. You need to start with carefully specifying the rules that you wish to implement. Is the numeric the boundary, or do you want to support arbitrary prefixes, or... what? Be specific, because that determines what features of

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

2013-09-23 Thread Erick Erickson
I haven't dived into the code, but it sure looks like a JIRA to me, can you open one? Best, Erick On Mon, Sep 23, 2013 at 1:48 AM, "Trym R. Møller" wrote: > Hi Erick > > Thanks for your input. > > I have retrieved and build the branch > http://svn.apache.org/repos/asf/lucene/dev/branches/lucene_

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

2013-09-23 Thread Trym R. Møller
Hi I have created https://issues.apache.org/jira/browse/SOLR-5260 as proposed by Erick. I hope anyone working with doc values can lead me in a direction of how to solve the bug. Best regards Trym Den 23-09-2013 16:01, Erick Erickson skrev: I haven't dived into the code, but it sure looks li

Complez query combining fq and q with join

2013-09-23 Thread marotosg
Hi all,Thanks in advance for your help.I am trying to create a query joining two cores using {!join} functionality.I have two cores, "personcore" and "personjobcore". *Person core schema*PersonIDGenderAge*Company core schema*PersonJobIDPersonIDCompanyNameCompanyTypeAddressI have to create a comple

Re: Get only those documents that are fully satisfied.

2013-09-23 Thread asuka
Hi Jack, I've been working with the following schema field analyzer: Regarding the query, the one I'm using right now is: But with this query, I just get results by the presence of any of the words at the sentence. -- View this message in context: http://lucene.472066.n3.nabble.com/Get

OpenNLP Analyzers not working properly

2013-09-23 Thread rashi gandhi
Hi, iam working on OpenNLP with SOLR. I have successfully applied the patch LUCENE-2899-x.patch to latest SOLR code branch_4x. I desgined some analyers based on OpenNLP filters and tokenziers and index some documnets on that fields. Searching on OpenNLP field is not constant. Not able to searc

Re: Hash range to shard assignment

2013-09-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
Custom routers is an idea that is floated around ad easy to implement. Just that it is something we resist to add another extension point. The point is we are planning other features which would obviate the need for a custom router. Something like splitting a shard by a query. Will it be a good en

How to sort over all documents by score after Result Grouping / Field Collapsing

2013-09-23 Thread go2jun
Hi, I have solr documents like this: I know I can use solr Result Grouping / Field Collapsing to get the top 2 result by grouping by source_id. Within each groups, documents sorted by scroe by query like this: http://localhost:8983/solr/select?q=bank&group.field=source_id&group=true&group.l

Solr query processing

2013-09-23 Thread Scott Smith
I just want to state a couple of things and hear someone say, "that's right". 1. In a solr query you can have multiple fq's, but only a single q. And yes, I can simply AND the multiple "q"s together. Just want to avoid that if I'm wrong. 2. A subtler issue is that when a full que

Indexing bulk loads of PDF files and extracting information from them

2013-09-23 Thread Sadika Amreen
Hi all, I am looking to index the entire directory of PDF files. We have a very large volume of PDFs (3000+, possibly much more), so adding them manually would be cumbersome. I have seen more than a couple of dozen links explaining how to index PDF using SOLR, but none were details enough

SolrParams to and from NamedList

2013-09-23 Thread Peter Kirk
Hi, In a request-handler, if I run the below code, I get an exception from Solr undefined field: "[Ljava.lang.String;@41061b68" It appears the conversion between SolrParams and NamedList and back again fails if one of the parameters is an array. This could be a couple of configuration parameter

Re: Hash range to shard assignment

2013-09-23 Thread lochri
Yes, actually that would be a very comfortable solution. Is that planned ? And if so, when will it be released ? -- View this message in context: http://lucene.472066.n3.nabble.com/Hash-range-to-shard-assignment-tp4091204p4091591.html Sent from the Solr - User mailing list archive at Nabble.com

Searching for closed polylines that contain a given point

2013-09-23 Thread Mark Backman
I'm new to spatial search within solr.  If I have a set of records containing closed polylines describing, say, the boundaries of nations, can I use solr to build an index of these records against which I can search to see if a point is contained within any of them? Thanks, -Mark  

Re: Searching for closed polylines that contain a given point

2013-09-23 Thread Smiley, David W.
Mark, Yes you can. You should index polygons, not polylines. A polyline semantically refers to the actual line but rather you want to index the coverage of the nation (the space encircled by the polyline), not the border literally. One thing to be aware of is that indexed non-point shapes are p

Using CachedSqlEntityProcessor with delta imports in DIH

2013-09-23 Thread David Larochelle
I'm trying to use the CachedSqlEntityProcessor on a child entity that also has a delta query. Full imports and delta imports of the parent entity work fine however delta imports for the child entity have no effect. If I remove the processor="CachedSqlEntityProcessor" attribute from the child entit

Select all descendants in a relation index

2013-09-23 Thread Semiaddict
Hello, I am using Solr to index Drupal node relations (over 300k relations on over 500k nodes), where each relation consists of the following fields: - id : the id of the relation - source_id : the source (parent) node id - targe_id : the targe (child) node id I need to be able to find all desce

SolrCloud High Availability during indexing operation

2013-09-23 Thread Saurabh Saxena
Hello, I am testing High Availability feature of SolrCloud. I am using the following setup - 8 linux hosts - 8 Shards - 1 leader, 1 replica / host - Using Curl for update operation I tried to index 80K documents on replicas (10K/replica in parallel). During indexing process, I stopped 4 Leader n

Re: SolrCloud High Availability during indexing operation

2013-09-23 Thread Otis Gospodnetic
Interesting. Did the doc count change after you started the nodes again? Can you tell us about commits? Which version? 4.5 will be out soon. Otis Solr & ElasticSearch Support http://sematext.com/ On Sep 23, 2013 8:37 PM, "Saurabh Saxena" wrote: > Hello, > > I am testing High Availability feature

Re: Solr query processing

2013-09-23 Thread Otis Gospodnetic
That's right. Otis Solr & ElasticSearch Support http://sematext.com/ On Sep 23, 2013 12:55 PM, "Scott Smith" wrote: > I just want to state a couple of things and hear someone say, "that's > right". > > > 1. In a solr query you can have multiple fq's, but only a single q. > And yes, I can

Re: java.lang.LinkageError when using custom filters in multiple cores

2013-09-23 Thread Hayden Muhl
Upgraded to 4.4.0, and that seems to have fixed it. The transition was mostly painless once I realized that the interface to the AbstractAnalysisFactory had changed between 4.2 and 4.3. Thanks. - Hayden On Sat, Sep 21, 2013 at 3:28 AM, Alexandre Rafalovitch wrote: > Did you try latest solr? T

join datas from muliti collections

2013-09-23 Thread YouPeng Yang
Hi I have two collections with different schema. And I want to do inner join like SQL: select A.xx,B.xx from A,B where A.yy=B.yy How can I achieve this in Solr. I'm using SolrCloud with solr 4.4 regards

Re: solr4.4 admin page show "loading"

2013-09-23 Thread William Bell
Use Chrome. On Thu, Sep 19, 2013 at 7:32 AM, Micheal Chao wrote: > hi, I have installed solr4.4 on tomcat7.0. the problem is I can't see the > solr admin page, it's always show "loading". I can't find any error in > tomcat logs, and I can send search request, and get the result. > > what can I d

Re: SolrCloud High Availability during indexing operation

2013-09-23 Thread Saurabh Saxena
Doc count did not change after I restarted the nodes. I am doing a single commit after all 80k docs. Using Solr 4.4. Regards, Saurabh On Mon, Sep 23, 2013 at 6:37 PM, Otis Gospodnetic < otis.gospodne...@gmail.com> wrote: > Interesting. Did the doc count change after you started the nodes again?