Re: generate uuid/ id for table which do not have any primary key

2015-04-16 Thread Kaushik
You seem to have defined the field, but not populating it in the query. Use a combination of fields to come up with a unique id that can be assigned to uuid. Does that make sense? Kaushik On Thu, Apr 16, 2015 at 2:25 PM, Vishal Swaroop wrote: > How to generate uuid/ id (maybe in d

Mutli term synonyms

2015-04-20 Thread Kaushik
, Kaushik

Re: generate uuid/ id for table which do not have any primary key

2015-04-20 Thread Kaushik
ataSource="test" > query="select name, age from test_user"> > > > > > On Thu, Apr 16, 2015 at 3:18 PM, Vishal Swaroop > wrote: > > > Thanks Kaushik & Erick.. > > > > Though I can populate uuid by using combination of fields but nee

Correct usage for Synonyms.txt

2015-04-21 Thread Kaushik
ist of synonyms and the searchable document can only have a preferred term (for e.g. Apple) Apple, Fuji, Gala, Braeburn, Crisp OR Fuji, Gala, Braeburn, Crisp => Apple Is there any other format that I am missing? Thank you, Kaushik

Order of Copy Field and Analyzer

2015-04-23 Thread Kaushik
Hello, What is the order in which these occur? - Copy field - Analyzer The other way of asking the above question I guess is, if I copy an _txt field to _t field, does the analyzer of _t get the orignial text sent to _txt field or the analyzed tokens from it? Thanks, Kaushik

Re: Mutli term synonyms

2015-04-28 Thread Kaushik
characters, spaces, etc. Is there a way to implment synonyms even in such case? Thanks, Kaushik On Mon, Apr 20, 2015 at 11:03 AM, Davis, Daniel (NIH/NLM) [C] < daniel.da...@nih.gov> wrote: > Handling MESH descriptor preferred terms and such is similar. I > encountered this during e

Re: Mutli term synonyms

2015-04-29 Thread Kaushik
y foo bar > > possible readings: > > ((hey foo) +bar) OR (hey +(foo bar)) > > i'm simplifying it here, the fun starts when you are seeing a phrase query > :) > > On Tue, Apr 28, 2015 at 10:31 AM, Kaushik wrote: > > Hi there, > > > > I tried the solut

Re: Mutli term synonyms

2015-04-29 Thread Kaushik
ueries, what do you mean? Please clarify. response": { "numFound": 0, "start": 0, "docs": [] }, "debug": { "rawquerystring": "tween 20", "querystring": "tween 20", "parsedquery&q

Re: Mutli term synonyms

2015-04-29 Thread Kaushik
n", "code": 400 If I am able to solve this, I think I am pretty close to the solution. Any thoughts there? I appreciate your help on this matter. Thank you, Kaushik On Wed, Apr 29, 2015 at 5:48 PM, Roman Chyla wrote: > Hi Kaushik, I meant to compare tween 20 again

Re: analyzer, indexAnalyzer and queryAnalyzer

2015-04-29 Thread Kaushik
term searches on most phrases, barring the one's which have special characters used in SOLR. ie. [], etc. Your help is much appreciated. Thanks, Kaushik On Wed, Apr 29, 2015 at 9:24 PM, Doug Turnbull < dturnb...@opensourceconnections.com> wrote: > So Solr has the idea of a query par

Re: Injecting synonymns into Solr

2015-04-30 Thread Kaushik
I am facing the same problem; currently I am resorting to a custom program to create this file. Hopefully there is a better solution out there. Thanks, Kaushik On Thu, Apr 30, 2015 at 3:58 AM, Zheng Lin Edwin Yeo wrote: > Hi, > > Does anyone knows any faster method of popul

Number of occurrences in Solr Documents

2017-06-29 Thread Kaushik
Hello, We are trying to get the most frequently used words in a collection. My understanding is that using facet.field=content_txt. An e.g. of content_txt value is "The fox jumped over another fox". In such a scenario, I am expecting the facet to return with "fox" and with a count value of 2. Howe

Re: Number of occurrences in Solr Documents

2017-06-29 Thread Kaushik
n better. Thanks, Shawn. > > On Thu, Jun 29, 2017 at 11:45 AM, Shawn Heisey > wrote: > > > On 6/29/2017 8:40 AM, Kaushik wrote: > > > We are trying to get the most frequently used words in a collection. > > > My understanding is that using facet.field=content_txt. An

Solr Deleting Docs after Indexing

2017-09-11 Thread Kaushik
Admin console is Num Docs: 1 Max Doc: 4 Deleted Docs: 3 How and where in Solr/logs can I find why the documents are being deleted? Thanks, Kaushik

Re: Solr Deleting Docs after Indexing

2017-09-11 Thread Kaushik
It was indeed the duplicate Id's. Somehow I thought I had it unique all the way. Thanks, Kaushik On Mon, Sep 11, 2017 at 3:21 PM, Susheel Kumar wrote: > Does all 4 document's have same docID (Unqiue key)? > > On Mon, Sep 11, 2017 at 2:44 PM, Kaushik wrote: > > > I

Is there Solr limitation on size for document retrieval?

2017-01-05 Thread Kaushik
entire document? Also, the only reason why we need the whole document is because of the highlighting feature. It would be great if we can just get a snippet of the text, instead of the entire content field for highlighting. Thanks, Kaushik

How does using cacheKey and lookup behave?

2017-01-18 Thread Kaushik
I use the cacheKey, cacheLookup, SortedMapBackedCache in the Data Import Handler of Solr 5.x to join two or more entities. Does this give me an equivalent of Sql's inner join? If so, how can I get something similar to left join? Thank you, Kaushik

How to delete documents

2014-03-31 Thread Kaushik
>From a database table, we have figured out a way to do the full load and the delta loads. However, there are scenarios where some of the DB rows get deleted. How can we have such documents deleted from SOLR indices? Thanks, Kaushik

Problem with SOLR Collection creation

2014-08-28 Thread Kaushik
Hello, We have deployed a solr.war file to a weblogic server. The web.xml has been modified to have the path to the SOLR home as follows: solr/homejava.lang.StringD:\SOLR\4.7.0\RegulatoryReview The deployment of the Solr comes up fine. In the D:\SOLR\4.7.0\RegulatoryReview directory we have RR fo

Re: Problem with SOLR Collection creation

2014-08-28 Thread Kaushik
The issue I was facing was that there were additonal librarires on the classpath that were conflicting and not required. Removed those and the problem dissapeared. Thank you, Kaushik On Thu, Aug 28, 2014 at 11:50 AM, Shawn Heisey wrote: > On 8/28/2014 8:28 AM, Kaushik wrote: > &

Adding multiple entities to single core

2015-06-08 Thread Naman Kaushik
Hi Admin,I am a new-bee to SOLR.I want to establish multiple entities within a single core so that each entity refers data from two different tables and hence indexing the data.Please help me outĀ Attached are my schema.xml and data-config.xml files Looking forward for a positive response --Naman

SOLR DIH importing MySQL "text" column as a BLOB

2011-03-15 Thread Kaushik Chakraborty
The `schema.xml` : solr_post_status_message_id solr_post_message Thanks, Kaushik

Re: SOLR DIH importing MySQL "text" column as a BLOB

2011-03-16 Thread Kaushik Chakraborty
The query's there in the data-config.xml. And the query's fetching as expected from the database. Thanks, Kaushik On Wed, Mar 16, 2011 at 9:21 PM, Gora Mohanty wrote: > On Wed, Mar 16, 2011 at 2:29 PM, Stefan Matheis > wrote: > > Kaushik, > > > > i just r

Faceting on multivalued field

2011-04-03 Thread Kaushik Chakraborty
ot; and faceting the result on "comment_post_id" so that it gives the count of comment occurred for that post. But I'm getting incorrect result e.g. if a post has 2 comments, the multivalued fields are populated alright but the facet count is coming as 1 (for that post_id). What else do I need to do? Thanks, Kaushik

Re: Faceting on multivalued field

2011-04-03 Thread Kaushik Chakraborty
the post 46 has 2 comments. What other way can I approach? Thanks, Kaushik On Mon, Apr 4, 2011 at 4:29 AM, Erick Erickson wrote: > Hmmm, I think you're misunderstanding faceting. It's counting the > number of documents that have a particular value. So if you're > face

Re: Faceting on multivalued field

2011-04-04 Thread Kaushik Chakraborty
Are you implying to change the DB query of the nested entity which fetches the comments (query is in my post) or something can be done during the index like using Transformers etc. ? Thanks, Kaushik On Mon, Apr 4, 2011 at 8:07 AM, Erick Erickson wrote: > Why not count them on the way in