Re: custom function for multivalued fields

2015-07-29 Thread Gopal Jee
Thanks Chris. On Thu, Jul 30, 2015 at 5:36 AM, Chris Hostetter wrote: > > Thanks to the SortedSetDocValues this is in fact possible -- in fact i > just uploaded a patch for SOLR-2522 that you can take a look at to get an > idea of how to make it work (the main class you're probably going > to wa

Re: Use faceted search to drill down in hierarchical structure and omit node data outside current selection

2015-07-29 Thread PeterKerk
Hi Alessandro! I'm having a hard time on how to use the PathHierarchyTokenizerFactory. I was reading here: https://lucene.apache.org/core/4_4_0/analyzers-common/org/apache/lucene/analysis/path/PathHierarchyTokenizerFactory.html And ended up with this:

Re: Use faceted search to drill down in hierarchical structure and omit node data outside current selection

2015-07-29 Thread PeterKerk
Hi Charlie, Your solution seems to remove faceting capabilities...so that's not what I'm looking for :) Thanks though! -- View this message in context: http://lucene.472066.n3.nabble.com/Use-faceted-search-to-drill-down-in-hierarchical-structure-and-omit-node-data-outside-current-selectn-tp421

Re: custom function for multivalued fields

2015-07-29 Thread Chris Hostetter
Thanks to the SortedSetDocValues this is in fact possible -- in fact i just uploaded a patch for SOLR-2522 that you can take a look at to get an idea of how to make it work (the main class you're probably going to want to look at is SortedSetSelector: you're going to want a similar "SortedDocV

Re: WordDelimiterFilter Leading & Trailing Special Character

2015-07-29 Thread Sathiya N Sundararajan
thanks for the suggestion Jack. We are already using @ and # as , will see if it makes sense to go that route. On Tue, Jul 21, 2015 at 4:52 PM, Jack Krupansky wrote: > You can also use the types attribute to change the type of specific > characters, such as to treat the "!" or "&" as an . > > --

Re: Leader election

2015-07-29 Thread Timothy Potter
Hi Olivier, Can you look at the collections to see if there are leader initiated recovery nodes in the ZooKeeper tree? Go into the Solr Admin UI -> Cloud panel -> Tree view and drill into one of the collections that's not recovering /collections//leader_initiated_recovery/ You could try deleting

PayloadSpanOrQuery

2015-07-29 Thread Jamie Johnson
I have a need for doing using payloads in a SpanOrQuery to influence the score. I noticed that there is no PayloadSpanOrQuery so I'd like to implement one. I couldn't find a ticket in JIRA for this so I created https://issues.apache.org/jira/browse/LUCENE-6706, if this feature exists I will gladl

custom function for multivalued fields

2015-07-29 Thread Gopal Jee
I have a requirement where i want to maintain a multivalued field. However, at query time, i want to query on only one value we store in multivalued field. That one value should be output of a custom function which should execute on all values of multivalued field at query time. Can we write such

Re: Parameterized values

2015-07-29 Thread William Bell
That would be pretty bizarre. I'll try it. On Wed, Jul 29, 2015 at 1:00 PM, Mikhail Khludnev < mkhlud...@griddynamics.com> wrote: > hm. Did you try > PS127 > hosp_quality_spec_boost:${pspec:${pspec}} > ? > > > On Tue, Jul 28, 2015 at 8:16 PM, William Bell wrote: > > > http://yonik.com/solr-quer

Leader election

2015-07-29 Thread Olivier Damiot
Hello everybody, I use solr 5.2.1 and am having a big problem. I have about 1200 collections, 3 shards, replicationfactor = 3, MaxShardPerNode=3. I have 3 boxes of 64G (32 JVM). I have no problems with the creation of collection or indexing, but when I lose a node (VMY full or kill) and I restart,

Re: Specifying multiple query parsers

2015-07-29 Thread Mikhail Khludnev
BlockJoinParentQParser does nothing specific just calls subroutine. The question about redundant is _query_ is worthy per se, and here is the answer: https://issues.apache.org/jira/browse/SOLR-4093 Note: spaces in subquery may lead to mistakes I'd rather recommend to use {!.. v=$childq}&childq=...

Re: Specifying multiple query parsers

2015-07-29 Thread Jamie Johnson
Sorry answered my own question. For those that are interested this is related to how BlockJoinParentQParser handles sub queries and looks like it's working as it should. On Wed, Jul 29, 2015 at 3:31 PM, Jamie Johnson wrote: > I have a use case where I want to use the block join query parser for

Specifying multiple query parsers

2015-07-29 Thread Jamie Johnson
I have a use case where I want to use the block join query parser for the top level query and for the nested portion a custom query parser. I was originally doing this, which worked {!parent which='type:parent'}_query_:{!myqp df='child_pay' v='"value foo"'} but switched to this which also worked

Re: Use faceted search to drill down in hierarchical structure and omit node data outside current selection

2015-07-29 Thread PeterKerk
Ok, I managed to get this as output via SQL for a single product: ProductId categorystring 2481445 cake > caketoppers > funny 2481445 caketoppers > funny Before I start diving into the tokenization in Solr, this is what you meant as the correct input of the data right? I should be able to suppor

Re: Parameterized values

2015-07-29 Thread Mikhail Khludnev
hm. Did you try PS127 hosp_quality_spec_boost:${pspec:${pspec}} ? On Tue, Jul 28, 2015 at 8:16 PM, William Bell wrote: > http://yonik.com/solr-query-parameter-substitution/ > > This is not working as part of QTs. > > Cannot load the core, since ${value} is being used for XML parameters for > sy

Using Update Request Handlers with Solr

2015-07-29 Thread Paden
Hello all, I've been trying to integrate NER into my solr search so I can get some really good facets out of it. I've already managed to plug in a search handler with code from searchbox.com to get a feel for how it works. And now I'm trying to plug in an update request processor so I can pull fac

How Index Xml file using solrJ or DIH or post command

2015-07-29 Thread Mugeesh Husain
I have more than 30 millions of xml files which is store in a filesystems, Please suggest me in which method i have to follows 1.) Should i have to use Solrj 1.) Should i have to use DIH 1.) Should i have to use post method(in terminal) Basically i have java and lucene developer new in solr. How

Re: normalize accent solr

2015-07-29 Thread ojalà
I have different result number for joelè and joele -- View this message in context: http://lucene.472066.n3.nabble.com/normalize-accent-solr-tp4219721p4219726.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: normalize accent solr

2015-07-29 Thread Ahmet Arslan
Hi, What happens when you test some sample text on admin/analysis page? You should see that accents are removed in the first analysis step. On Wednesday, July 29, 2015 6:06 PM, ojalà wrote: yes i put in index and query -- View this message in context: http://lucene.472066.n3.nabble.com/nor

Re: normalize accent solr

2015-07-29 Thread ojalà
yes i put in index and query -- View this message in context: http://lucene.472066.n3.nabble.com/normalize-accent-solr-tp4219721p4219723.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: normalize accent solr

2015-07-29 Thread Ahmet Arslan
Hi Ojala, Do you have that charFilter configured in index analyser too? Ahmet On Wednesday, July 29, 2015 6:00 PM, ojalà wrote: Hi! I'm using solr 3.4 and I need to normalize for example é to e if I search joelè solr must give me result for joelè and for joele if I search joele solr must give m

normalize accent solr

2015-07-29 Thread ojalà
Hi! I'm using solr 3.4 and I need to normalize for example é to e if I search joelè solr must give me result for joelè and for joele if I search joele solr must give me result for joelè and for joele In my server.xml I put: and I try to use solr.MappingCharFilterFactory in this way:

RE: [ANN] New Features For Splainer

2015-07-29 Thread Davis, Daniel (NIH/NLM) [C]
I usually protect https://whatever.nlm.nih.gov/solr deeply, requiring CAS authentication against NIH Login, but I also make sure handleSelect=false, and reverse proxy https://whatever.nlm.nih.gov/search/core-name to /solr/select. I'm surprised and gratified that http://splainer.io/ works in my e

Re: SOLR Exception with SOLR Cloud 5.1 setup on Linux

2015-07-29 Thread Shawn Heisey
On 7/28/2015 5:10 PM, Yonik Seeley wrote: > On Tue, Jul 28, 2015 at 6:54 PM, Shawn Heisey wrote: >> To get out of the hole you're in now, either build a new collection with >> the actual shard count that you want so it's correctly set up, or edit >> the clusterstate in zookeeper to change the hash

Query token access in solr function queries

2015-07-29 Thread Nutch Solr User
How can i access each query token seperately in function query . I want to pass each token to ttf function to get total term frequency for that token. Currently I have access to main query using $q parameter. Do I have to write some code to tokenize original query and add tokens as additional par

Re: DIH solr cloud

2015-07-29 Thread Erick Erickson
Just pick a node to run it on. I vastly prefer, though, using a SolrJ client, here's a sample: https://lucidworks.com/blog/indexing-with-solrj/ Best, Erick On Wed, Jul 29, 2015 at 4:37 AM, Midas A wrote: > Hi, > > I have to create DIH with solr cloud shared with multi node architecture > for s

Re: Question about Stemmer

2015-07-29 Thread Erick Erickson
I really can't imagine ngrams followed by a stemmer really being that useful, but I've been wrong once or twice before. Well, a lot more than once or twice. But this pair isn't something I've ever really seen before. I'd make use of the admin/analysis page for your field to see why it appears to w

How can I use solr for hbase

2015-07-29 Thread weibaohui
Hi Everyone, Recently, I want to use solr for the query of hbase ,but I cann't find a effective way. So,how can I use solr with hbase,is solr supported hbase? Hope for any answer, Thank you! weibaohui

Question about Stemmer

2015-07-29 Thread Ashish Mukherjee
Hello, I am using Stemmer on a Ngram field. I am getting better results with Stemmer factory after Ngram, but I was wondering what is the recommended practice when using Stemmer on Ngram field? Regards, Ashish

Problem with Highlighting results

2015-07-29 Thread Zheng Lin Edwin Yeo
Hi, I'm using Solr 5.2.1, and sometimes, the highlighting return with results, but there is no correct match in all the fields that are listed in hl.fl, and there is also no tag on the results at all. What could be the reason that this is happening? I've include my highlighting request handler

Re: Use faceted search to drill down in hierarchical structure and omit node data outside current selection

2015-07-29 Thread Charlie Hull
We've been doing some work on heirarchical faceting as part of the BioSolr project: https://github.com/flaxsearch/BioSolr/tree/master/spot/solr-hierarchical-facet This is mainly to support indexing of biological ontologies/taxonomies. Cheers Charlie On 28/07/2015 17:19, Alessandro Benedetti wr

DIH solr cloud

2015-07-29 Thread Midas A
Hi, I have to create DIH with solr cloud shared with multi node architecture for solr 5.2.1. Please advise where should i create this. ~M