Using OR along with join query results causing NullPointerException in Solr 4.7.2

2015-11-30 Thread SuReN
datefield1:{* TO 2015-11-30T14:28:11Z } AND datefield2:{2015-11-30T14:28:11Z TO *}* Please suggest if any other way is there to do this. Thanks in advance. Regards, Suren.

Not able to query strings ending with special characters.

2013-12-19 Thread suren
Unable to query strings ending with special characters, it is skipping the last special character and giving the results. I am including the string in double quotes. For example i am unable to query strings like "JOHNSON &", "PEOPLES'". It queries well for "JOHNSON & SONS", "PEOPLES' SELF-HELP"

adding wild card at the end of the text and search(like sql like search)

2013-12-27 Thread suren
My field type is text and i am using WhitespaceTokenizer. I want to search like SQL like search ie I want to search for ORGANIZATION_NAME field ORGANIZATION_NAM:"JOHNSON & SO"* should return "JOHNSON & SON", "JOHNSON & SONS", "JOHNSON & SONS COMPANY"... I tried ORGANIZATION_NAM:"JOHNSON &" AND

Re: adding wild card at the end of the text and search(like sql like search)

2013-12-30 Thread suren
Ahmet, I am using solr 4.3.1. do i still need to apply this patch ? if yes please tell me the steps to follow. In the given link i see lot of patches, not sure which patch for what version of solr also i don't see the patch note how to apply. Thanks, Suren. -- View this messa

Re: adding wild card at the end of the text and search(like sql like search)

2014-01-02 Thread suren
Ahmet, It did not solve the problem. I added 1)ComplexPhrase-4.2.1.jar to my local solr "solr-4.3.1\example\solr\collection1\lib" 2)added the below content to "solrConfig.xml" false 3)re-started solr, appended the Query param "defType=unorderedcomplexphrase" and ran the query

Re: adding wild card at the end of the text and search(like sql like search)

2014-01-06 Thread suren
by using Q command and passing query parameter defType=unorderedcomplexphrase it worked for me. http://localhost:8999/solr/MACSearch/select?q=LAST_NAM%3A%22DE+PAR*%22%0A&wt=xml&indent=true&defType=unorderedcomplexphrase Thanks. -- View this message in context: http://lucene.472066.n3.nabble.c

Re: "delta-import" giving Total Documents Processed = 0

2014-01-06 Thread suren
I think issue was with deltaImportQuery, it is case sensitive. I was using '${dataimporter.delta.clai_idn}' instead of '${dataimporter.delta.CLAI_IDN}' -- View this message in context: http://lucene.472066.n3.nabble.com/delta-import-giving-Total-Documents-Processed-0-tp4089118p4109798.html Se

RE: Need help with delta import

2013-09-10 Thread suren
Any update? I am also having the same issue. pls reply. This XML file does not appear to have any style information associated with it. The document tree is shown below. 0 7 db-data-config.xml delta-import idle 2 1 0 2013-09-10 07:46:34 2013-09-10 07:46:34 2013-09-10 07:46:35 2013-09-10 0

"delta-import" giving Total Documents Processed = 0

2013-09-10 Thread suren
--- 0 7 db-data-config.xml delta-import idle 2 1 0 2013-09-10 07:46:34 2013-09-10 07:46:34 2013-09-10 07:46:35 2013-09-10 07:46:35 1 0 0:0:1.30 This response format is experimental. It is likely to change in the future. Thanks, Suren. -- View this message in context: http://luc

Re: "delta-import" giving Total Documents Processed = 0

2013-09-10 Thread suren
I am aware of this..my actual delta query is like below, to test the issue, i restricted the delta query to one record earlier. deltaQuery ="select distinct clai_idn as clai_idn from claim_history where TO_CHAR(EVENT_DTE , '-MM-D

sorting using org.apache.solr.client.solrj.SolrQuery not working

2013-09-13 Thread suren
I tried below 3 methods to sort the output from solr 4.3.1., no error and not sorting on any given field. 1)addSort(field, order) 2)addOrUpdateSort(field, order) 3)setSort(field, order) my schema setting for the fields i tried are Any one please tell me why the sorting is not working? -- Vi

Re: sorting using org.apache.solr.client.solrj.SolrQuery not working

2013-09-16 Thread suren
Shawn, I am doing exactly same. Data output is not sorting on "LAST_NAME" column , but it is always sorting on different column "CLAIM_NUM", and I am not adding this sorting condition( sort on CLAIM_NUM). solrQuery.setQuery("*:*"); solrQuery.setSort("LAST_NAM",SolrQuery.ORDER.asc); solrQ

Help on solr more like this functionality

2013-10-25 Thread Suren Raju
. I wanna provide more boost for match field *title *than the description. Query im trying so far is mysolrhost:8983/solr/mlt?q=id:UTF8TEST&mlt.fl=title,description&mlt.mindf=1&mlt.mintf=1 Is there any way to provide different boost for title and description? Many thanks, Suren.