Re: Match All terms in indexed field value
Thank You Ahmet for your reply! I tried out the magic what you mentioned and it worked. It also gave me a direction on how function queries can be combined together to address few other use cases as well. -- View this message in context: http://lucene.472066.n3.nabble.com/Match-All-terms-in-indexed-field-value-tp4243895p420.html Sent from the Solr - User mailing list archive at Nabble.com.
edismax query parser - pf field question
Clarification needed on edismax query parser "pf" field. *SOLR Query:* /query?q=refrigerator water filter&qf=P_NAME^1.5 CategoryName&wt=xml&debugQuery=on&pf=P_NAME CategoryName&mm=2&fl=CategoryName P_NAME score&defType=edismax *Parsed Query from DebugQuery results:* (+((DisjunctionMaxQuery((P_NAME:refriger^1.5 | CategoryName:refrigerator)) DisjunctionMaxQuery((P_NAME:water^1.5 | CategoryName:water)) DisjunctionMaxQuery((P_NAME:filter^1.5 | CategoryName:filter)))~2) DisjunctionMaxQuery((P_NAME:"refriger water filter")))/no_coord In the SOLR query given above, I am asking for phrase matches on 2 fields: P_NAME and CategoryName. But If you notice ParsedQuery, I see Phrase match is applied only on P_NAME field but not on CategoryName field. Why? -- View this message in context: http://lucene.472066.n3.nabble.com/edismax-query-parser-pf-field-question-tp4256845.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: edismax query parser - pf field question
It does not work with comma as well. In fact, no DisjunctionMaxQuery is added for any of pf fields if I add comma. (+((DisjunctionMaxQuery((P_NAME:refriger^1.5 | CategoryName:refrigerator)~1.0) DisjunctionMaxQuery((P_NAME:water^1.5 | CategoryName:water)~1.0) DisjunctionMaxQuery((P_NAME:filter^1.5 | CategoryName:filter)~1.0))~2) *()*)/no_coord If I change the defType to dismax instead of edismax, I see phrase queries for both pf fields. (+((DisjunctionMaxQuery((P_NAME:refriger^1.5 | CategoryName:refrigerator)~1.0) DisjunctionMaxQuery((P_NAME:water^1.5 | CategoryName:water)~1.0) DisjunctionMaxQuery((P_NAME:filter^1.5 | CategoryName:filter)~1.0))~2) *DisjunctionMaxQuery((P_NAME:"refriger water filter" | CategoryName:refrigerator water filter)~1.0)*)/no_coord Note: CategoryName is string field and P_NAME is text_en field. -- View this message in context: http://lucene.472066.n3.nabble.com/edismax-query-parser-pf-field-question-tp4256845p4256987.html Sent from the Solr - User mailing list archive at Nabble.com.
Match All terms in indexed field value
Scenario: Document should be matched/returned ONLY IF user entered search text is having ALL the terms of single indexed field in any order. Ex. Document has got only 2 fields. Id and title. Below document is indexed. {"id":"1", "title": "refrigerator water filter"} Below search text should NOT return the document as search text is subset of the indexed field value. 1) water filter 2) refrigerator Below search texts should return the document as all indexed terms of title field are present in the search term. 1) ABC refrigerator water filter 2) water filter ABC refrigerator 3) water filter refrigerator Please advise how to model this scenario in SOLR? -- View this message in context: http://lucene.472066.n3.nabble.com/Match-All-terms-in-indexed-field-value-tp4243895.html Sent from the Solr - User mailing list archive at Nabble.com.
Need Support - Apache Solr - 20180915
Dear Team, We are beginners to Apache Solr and its implementations. We need the following basic clarifications regarding Apache Solr usage and implementing with MS-SQL server database. 1. Our MS-SQL server database having the data table which contains 20 columns with billions of data. 2. How to implement Apache Solr in the particular above table to increase search capability? 3. Is there any way to call the data which is distributed across 2 shards/node of Apache Solr at a time? 4. Is there any performance difference between search the data in a single shard/node and multiple shard/node? Thanks & Regards SENTHIL KUMAR P Team Leader Office: +91-4362-243433 Skype: syxsenthilp Sardonyx Technologies Pvt. Ltd., Thanjavur - 613007 www.sardonyx.in <http://www.sardonyx.in/> From: senthil [mailto:senthilkum...@sardonyx.in] Sent: Friday, September 14, 2018 12:40 PM To: 'gene...@lucene.apache.org'; 'solr-user@lucene.apache.org'; 'd...@lucene.apache.org' Cc: kulothungand; 'karthic...@sardonyx.in' Subject: Need Support - Apache Solr - 20180914 Dear Team, We need the below clarifications and doubts in the "Apache Solr" and please give us the solution. 1. Apache Solr is the Database or not ? 2. The limitation for Apache Solr is 2 billion records and how can we increase it (unlimitted) ? 3. How many users can use / access Apache Solr through web application at a time ? Thanks & Regards SENTHIL KUMAR P Team Leader Office: +91-4362-243433 Skype: syxsenthilp Sardonyx Technologies Pvt. Ltd., Thanjavur - 613007 www.sardonyx.in <http://www.sardonyx.in/>
Unified search of relational data on Solr?
Hi, How to index relational data in Solr which can not be merged as a single file for some reasons? We have two kinds of XMLs indexed in Solr, 1_persona 1_addr washington Our aim to get a list of persons living in Washington. Can anyone suggest what is the best approach for this and to index relational data in general? Senthil Kumar P
Copy field : String Vs Text
Hi, I have a requirement as below. The field needs to be available for facet. The value will not be a single letter word. But I should be able to search like a text fields. Silver stolen Schema.xml I should be able to search for the word "silver" on actor field and should get the result facet as "Silver Stolen". But I am getting the result onle if I pass the complete "Silver Stolen" to the search query. Please help me. Am I missing anything in the config? thanks, Senthil
Re: Copy field : String Vs Text
Hi Timothy, In copyfield I used the name that was not part of the doc and matching to the dynamic text fieldType declaration. It worked. I searched on Q=gudactor:"xxx". It is able to search on actor with full text... thanks, Senthil On Fri, Apr 24, 2009 at 4:08 PM, Harsch, Timothy J. (ARC-SC)[PEROT SYSTEMS] wrote: > I'd be curious to hear someone explain the mechanics of a String field. > I'm not entirely sure but I believe a String field is not tokenized and > thus only exact matches work. I think in your case you should be searching > on your "name" field and faceting on the "actor" field. > > -Original Message- > From: Senthil Kumar [mailto:mesent...@gmail.com] > Sent: Friday, April 24, 2009 11:42 AM > To: solr-user@lucene.apache.org > Subject: Copy field : String Vs Text > > Hi, > I have a requirement as below. The field needs to be available for facet. > The value will not be a single letter word. But I should be able to search > like a text fields. > > Silver stolen > > > Schema.xml > > > > > I should be able to search for the word "silver" on actor field and should > get the result facet as "Silver Stolen". But I am getting the result onle > if > I pass the complete "Silver Stolen" to the search query. > > Please help me. Am I missing anything in the config? > > thanks, > Senthil >
Data Import Handler Scheduling
Hi, Can any one help me to identify whether schduling is possible with DataImportHandler (DIH). I have configured my DIH to pull the data through http. Currently I am reloading the data using the following request http://localhost:8983/solr/core0/dataimport?command=full-import If scheduling possible, can you let me know how to that? Thanks in advance, Senthil
Re: Data Import Handler Scheduling
Thanks Shalin. On Fri, May 1, 2009 at 11:33 AM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > On Fri, May 1, 2009 at 8:41 PM, Senthil Kumar > wrote: > > > Hi, > > > > Can any one help me to identify whether schduling is possible with > > DataImportHandler (DIH). I have configured my DIH to pull the data > through > > http. Currently I am reloading the data using the following request > > > > http://localhost:8983/solr/core0/dataimport?command=full-import > > > > If scheduling possible, can you let me know how to that? > > > > No built-in support but the usual way is to use cron jobs (or task > scheduler > in windows) to hit the full-import url through wget or curl. > > -- > Regards, > Shalin Shekhar Mangar. >
Configuring Apache SOLR with Multicore on IBM Websphere Application Server
Hi, I currently have Apache SOLR 3.6 running on Tomcat 7.0.27. I was able to successfully configure multicores too. This was my development environment and hence used tomcat - however the production environment is WAS. I need to migrate the existing multicores SOLR index from tomcat to WAS. Is there any documentation available on how to install SOLR on WebSphere and configure the multicores? Thanks, -Senthil
Embedded Server Issue : SOLRJ : No Such Core Found
Hi, I am facing an issue while trying to use the solrj EmbeddedServer to load a core. I am trying to load the example/solr packaged with solr-3.6.1. It works perfectly fine through CommonHTTPSolrSever. I am able to query and fetch the document. I used the following jar files to compile and run. apache-solr-solrj-3.6.1 apache-solr-core-3.6.1 slf4j-api-1.6.1 commons-io-2.1 lucene-core-3.6.1 commons-fileupload-1.2.2 servlet-api-2.5 commons-httpclient-3.1 commons-logging.jar commons-code-1.6 However if I try to load the same 'solr' through Embedded Server - i get No Such Core Error. 1) I tried passing the core name - 'collection1' - but same error >From solr.xml 2) I also checked my solrconfig.xml and requesthandler for "/update" is set as follows >From solrconfig.xml --Senthil