Re: Join solr

2014-04-24 Thread hungctk33
Thanks reply ! I use Solr to name products for storing search information, and core categories I use for reference, because it CATEGORY_NAME fields. to use the sort asc | desc. If so, the field CATEGORY_NAME on products later CATEGORY_NAME I edit. with 10 million rows is very dangerous. -

Re: UnsupportedOperationException when DIH in SolrCloud

2014-04-24 Thread YouPeng Yang
Hi Mikhail Khludnev Thanks very much. I go through the src,and make sure that the reason about the UnsupportedOperationException is that the FunctionValues be something unsupportable,like the string type do not override the longVal of the FunctionValue class so that it throws the exeception

Re: Join solr

2014-04-24 Thread Aman Tandon
First of all here are the something that might help others to understand your problem. - what is your current logic - what you are trying to achieve? - what problem you are facing in achieving the results? - mail's subject I am not familiar that we can do sort by query of the results

Re: SpanQuery with Boolean Queries

2014-04-24 Thread Vijay Kokatnur
Thanks Ahmet. It worked! Does solr execute these nested queries in parallel? On Thu, Apr 24, 2014 at 12:53 PM, Ahmet Arslan wrote: > Hi Vijay, > > May be you can use _query_ hook? > > _query_:"{!span}BookingRecordId:234 OrderLineType:11" OR _query_:"{!span} > OrderLineType:13 + BookingRecordId

Re: StopFilter:enablePositionIncrements question

2014-04-24 Thread Ahmet Arslan
Hi, All of your examples are OK and normal/expected. Regarding "need speed", please see Uwe's post for a similar question : http://search-lucene.com/m/WwzTb2PybMJ1 Ahmet On Thursday, April 24, 2014 11:15 PM, ku3ia wrote: Hi all! My question is not new in maillist, but I can't found a soluti

StopFilter:enablePositionIncrements question

2014-04-24 Thread ku3ia
Hi all! My question is not new in maillist, but I can't found a solution. I'm using Solr 4.6.0. My text field definition is In SolrConfig – LUCENE_46 Via core/Documents I'm adding a document, ex, {"id":"1","title":"Need for speed"}. Keyword "for" is in

Re: Search for a mask that matches the requested string

2014-04-24 Thread Ahmet Arslan
Hi, Please see : https://github.com/flaxsearch/luwak Ahmet On Thursday, April 24, 2014 8:40 PM, Muhammad Gelbana wrote: (Please make sure you reply to my address because I didn't subscribe to this mailing list) I'm using Solr 4.6 I need to store string masks in Solr. By masks, I mean string

Re: SpanQuery with Boolean Queries

2014-04-24 Thread Ahmet Arslan
Hi Vijay, May be you can use _query_ hook? _query_:"{!span}BookingRecordId:234 OrderLineType:11" OR _query_:"{!span} OrderLineType:13 + BookingRecordId:ID_N" Ahmet On Thursday, April 24, 2014 9:34 PM, Vijay Kokatnur wrote: Hi, I have defined a SpanQuery for proximity search like - val q1 =

Solr 4.7 not showing parsedQuery / parsedquery_toString information

2014-04-24 Thread Shamik Bandopadhyay
Hi, Not sure if this has been a feature change, but I've observed that "parsedquery" and "parsedquery_toString" information are not displayed if the search doesn't return any result. Here's what is being returned. 54.215.121.xx-collection1-1398xx4900921-48

Solr 4.7 not showing parsedQuery / parsedquery_toString information

2014-04-24 Thread shamik
Hi, Not sure if this has been a feature change, but I've observed that "parsedquery" and "parsedquery_toString" information are not displayed if the search doesn't return any result. Here's what is being returned. 54.215.121.xx-collection1-1398xx4900921-48

SpanQuery with Boolean Queries

2014-04-24 Thread Vijay Kokatnur
Hi, I have defined a SpanQuery for proximity search like - val q1 = new SpanTermQuery(new Term("BookingRecordId", "234")) val q2 = new SpanTermQuery(new Term("OrderLineType", "11")) val q2m = new FieldMaskingSpanQuery(q2, "BookingRecordId") val sp = Array[SpanQuery](q1, q2m) val q = new SpanNear

Re: Join solr

2014-04-24 Thread hungctk33
Thanks Kranti Parisa ! I have 2 core : products(id, product_name, category_id ); categories(category_id, category_name); query similar SQL: SELECT p.* from Products AS p Inner join Categories AS c ON p.category_id = c.category_id Order by c.category_name asc; Purpose sorting by category_name,

Search for a mask that matches the requested string

2014-04-24 Thread Muhammad Gelbana
(Please make sure you reply to my address because I didn't subscribe to this mailing list) I'm using Solr 4.6 I need to store string masks in Solr. By masks, I mean strings that can match other strings. Then I need to search for masks that match the string I'm providing in my query. For example,

Research Scientist - Information Retrieval at GE Global Research (Data Mining Lab)

2014-04-24 Thread Yavar Husain
I am an avid Solr user so thought of posting an Information Retrieval/Text Mining requirement that we have for our GE Data Mining Research Labs. I hope it is not considered inappropriate here. Here goes the JD: If Information Retrieval, Text Mining, Natural Language Processing & Machine Learning

Solr Training in San Francisco and NYC next week!

2014-04-24 Thread Stephanie Huynh
Hey Everyone, We have Solr training tickets still available for week of 4/28/14. If you are interested in attending, please register at the link below: http://www.datastax.com/what-we-offer/products-services/training Thanks, Steph -Original Message- From: Christopher Gross [mailto:cogr..

Re: Error on startup

2014-04-24 Thread Christopher Gross
Thanks Shawn and Rafal. That was the culprit -- left over from my 4.1 installations where I had a conf directory for each core. I'll move up to the 4.7.2 line and get everything switched over to the new style of solr.xml. -- Chris On Thu, Apr 24, 2014 at 11:53 AM, Shawn Heisey wrote: > On 4/

Re: Error on startup

2014-04-24 Thread Shawn Heisey
On 4/24/2014 9:44 AM, Christopher Gross wrote: These get added to the startup of Tomcat: -DhostPort=8181 -Djetty.port=8181 -DzkHost=localhost:2181,localhost:2182,localhost:2183,localhost:2184,localhost:2185 -Dbootstrap_conf=true -Dport=8181 -DhostContext=solr -DzkClientTimeout=2 I think t

Re: Error on startup

2014-04-24 Thread Rafał Kuć
Hello! You have bootstrap_conf=true. It uploads a configuration set for each core in the solr.xml file. I would suggest dropping that parameter and upload the configuration once, using the scripts provided with Solr. -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytic

Re: Data Import Handelr Question

2014-04-24 Thread Shawn Heisey
On 4/24/2014 9:24 AM, Yuval Dotan wrote: I want to use the DIH component in order to import data from old postgresql DB. I want to be able to recover from errors and crashes. If an error occurs I should be able to restart and continue indexing from where it stopped. Is the DIH good enough for my

Re: Error on startup

2014-04-24 Thread Christopher Gross
These get added to the startup of Tomcat: -DhostPort=8181 -Djetty.port=8181 -DzkHost=localhost:2181,localhost:2182,localhost:2183,localhost:2184,localhost:2185 -Dbootstrap_conf=true -Dport=8181 -DhostContext=solr -DzkClientTimeout=2 -- Chris On Thu, Apr 24, 2014 at 11:41 AM, Rafał Kuć wro

Re: Error on startup

2014-04-24 Thread Rafał Kuć
Hello! What are the start-up parameters for Tomcat? -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr & Elasticsearch Support * http://sematext.com/ > Running Solr 4.6.1, Tomcat 7.0.29, Zookeeper 3.4.6, Java 6 > I have 3 Tomcats running, each with their own

Error on startup

2014-04-24 Thread Christopher Gross
Running Solr 4.6.1, Tomcat 7.0.29, Zookeeper 3.4.6, Java 6 I have 3 Tomcats running, each with their own Solr war, all on the same box, along with 5 ZK nodes. It's a dev box. I can get the SolrCloud up and running, then use the Collections API to get everything going. It's all fine until I stop

Data Import Handelr Question

2014-04-24 Thread Yuval Dotan
Hi I want to use the DIH component in order to import data from old postgresql DB. I want to be able to recover from errors and crashes. If an error occurs I should be able to restart and continue indexing from where it stopped. Is the DIH good enough for my requirements ? If not is it possible to

Re: Join solr

2014-04-24 Thread Kranti Parisa
Can you describe what is your business requirement (how'z your data indexed, what is the request and what should be the response). and give us some examples. If you want to sort the results of the first core based on the sorting preference of the second core that you are joining with, that doesn't

Question about a group by user and having sum(field) >= x in a date range

2014-04-24 Thread Iulian M
Hey guys, We have a use case which we’re trying to solve using SOLR. This is the input data, which of course can be manipulated as we desire to comply with a certain solution: user_id day (days since 1970 - eg. 16100; this can be the current day - 60 days at most). item1_count (optional - the val

RE: How can I convert xml message for updating a Solr index to a javabin file

2014-04-24 Thread Elran Dvir
I want to measure xml vs javabin update message indexing performance. -Original Message- From: Upayavira [mailto:u...@odoko.co.uk] Sent: Thursday, April 24, 2014 2:04 PM To: solr-user@lucene.apache.org Subject: Re: How can I convert xml message for updating a Solr index to a javabin file

Re: UnsupportedOperationException when DIH in SolrCloud

2014-04-24 Thread yypvsxf19870706
yes , i am sure? 发自我的 iPhone 在 2014-4-24,18:30,Mikhail Khludnev 写道: > Are you sure that field _version_ is declared correctly in schema.xml? > > > On Thu, Apr 24, 2014 at 12:30 PM, YouPeng Yang > wrote: > >> SolrCloud 4.6.0 >> >> I am using SolrCloud 4.6.0 with a master and replica.I adop

Re: How can I convert xml message for updating a Solr index to a javabin file

2014-04-24 Thread Upayavira
Why would you want to do this? Javabin is used by SolrJ to communicate with Solr. XML is good enough for communicating from the command line/curl, as is JSON. Attempting to use javabin just seems to add an unnecessary complication. Upayavifra On Thu, Apr 24, 2014, at 10:20 AM, Elran Dvir wrote: >

Re: UnsupportedOperationException when DIH in SolrCloud

2014-04-24 Thread Mikhail Khludnev
Are you sure that field _version_ is declared correctly in schema.xml? On Thu, Apr 24, 2014 at 12:30 PM, YouPeng Yang wrote: > SolrCloud 4.6.0 > > I am using SolrCloud 4.6.0 with a master and replica.I adopt the > DistributedUpdateProcessorFactory to distribute the doc between the master > and

Re: Join solr

2014-04-24 Thread hungctk33
Pls! Help me. -- View this message in context: http://lucene.472066.n3.nabble.com/Join-solr-tp4132615p4132830.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Having trouble with German compound words in Solr 4.7

2014-04-24 Thread Siegfried Goeschl
Hi Alistair, it seems that there are many ways to skin the cat so I describe the approach I used with SOLR 3.6 :-) * Using a patched DictionaryCompoundWordTokenFilterFactory in the "index" phase - so the german compound noun "Leinenhose" (linen trousers) would be indexed in addition to "Lein

How can I convert xml message for updating a Solr index to a javabin file

2014-04-24 Thread Elran Dvir
Hi all, Is there a way I can covert a xml Solr update message file to javabin file? If so, How? How can I use curl to update Solr by javabin message file? Thank you very much.

UnsupportedOperationException when DIH in SolrCloud

2014-04-24 Thread YouPeng Yang
SolrCloud 4.6.0 I am using SolrCloud 4.6.0 with a master and replica.I adopt the DistributedUpdateProcessorFactory to distribute the doc between the master and replica. Firstly,If the master and replica both empty,the DIH will be succeed. And then, DIH again,the replica always thow an Unsupp