want to subscribe
EmbeddedSolrServer Loading Core Containers Solr 4.3.1
Hi Team - I am using Solr 4.3.1. We are using this EmbeddedSolrServer to load Core Containers in one of the java application. This is setup as a cron job for every 1 hour to load the new data on to the containers. Otherwise - the new data is not getting loaded on the containers , if we access from Java application even after re-indexing also. Please help here to resolve the issue ...?
Multi-word Synonyms Solr 4.3.1 does not work
Hi All - Can you please help me out on the multi-word synonyms with Solr 4.3.1. I am using the synonyms as below test1,test2 => movie1 cinema,movie2 cinema,movie3 cinema I am able to success with the above syntax like - if I search for words like test1 or test2 then right hand side multi-word values are shown. But - I have a synonyms like below - multi-word on both the side left-hand and right-hand... test1 test, test2 test, test3 test =>movie1 cinema,movie2 cinema,movie3 cinema With the above left-hand multi-word format - not working as expected means Here below is the configuration I am using on query analyzer ... Please Help me
Re: Multi-word Synonyms Solr 4.3.1 does not work
Hi Reth & All - Thanks for your quick reply. As I can see the work-around link given by you is dealing with the different syntax of the synonyms ... like as below ... big apple new york city city of new york new york new york new york ny ny city ny ny new york But I need the synonyms like as below format - left-hand => right-hand test1 test, test2 test, test3 test =>movie1 cinema,movie2 cinema,movie3 Can you please help me out and suggest the approach. On Fri, May 6, 2016 at 12:13 PM, Reth RM wrote: > Right, this is a known issue. There is currently an active jira that you > may like to watch https://issues.apache.org/jira/browse/SOLR-5379 > > And other possible workaround is explained here : > > https://lucidworks.com/blog/2014/07/12/solution-for-multi-term-synonyms-in-lucenesolr-using-the-auto-phrasing-tokenfilter/ > > On Fri, May 6, 2016 at 11:51 AM, SRINI SOLR wrote: > > > Hi All - > > Can you please help me out on the multi-word synonyms with Solr 4.3.1. > > > > I am using the synonyms as below > > > > test1,test2 => movie1 cinema,movie2 cinema,movie3 cinema > > > > I am able to success with the above syntax like - if I search for > > words like test1 or test2 then right hand side multi-word values are > > shown. > > > > But - > > > > I have a synonyms like below - multi-word on both the side left-hand and > > right-hand... > > > > test1 test, test2 test, test3 test =>movie1 cinema,movie2 cinema,movie3 > > cinema > > > > With the above left-hand multi-word format - not working as expected > > means > > > > Here below is the configuration I am using on query analyzer ... > > > > > ignoreCase="true" expand="true" > > tokenizerFactory="solr.KeywordTokenizerFactory"/> > > > > > > Please Help me > > >
Filter query (fq) on comma seperated value does not work
Hi Team - Can you please help me out on the following ... I have a following field in the solr document which has the comma seperated values like below .. 1,456,768,345 doc1 456 doc2 1,456 doc3 So - Here I need to filter the search docs which contains category is 456... when i do like following ... fq=category:456 it is returning only one document doc2 which has only category is 456. 456 But I need other two also which as this category 456 Can you please help me out to achieve this ... Thanks & Regards
Re: Filter query (fq) on comma seperated value does not work
Hi Ahmet / Team - Thanks for your quick response... Can you please help me out on this PatternTokenizer configuration... Here we are using configuration as below ... And also - I have made changes to the field value so that it is separated by space instead of commas and indexed the data as such... And now I was able to retrieve the expected results. But Still Can you help me out in achieving the results using the comma as you suggested. Thanks & Regards On Mon, May 16, 2016 at 5:50 PM, Ahmet Arslan wrote: > Hi, > > Its all about how you tokenize the category field. > It looks like you are using a string type, which does not tokenize at all > (e.g. verbatim) > Please use a PatterTokenizer and configure it so that it splits on comma. > > Ahmet > > > > On Monday, May 16, 2016 2:11 PM, SRINI SOLR wrote: > Hi Team - > Can you please help me out on the following ... > > I have a following field in the solr document which has the comma seperated > values like below .. > > 1,456,768,345 doc1 > 456 doc2 > 1,456 doc3 > > So - Here I need to filter the search docs which contains category is > 456... > when i do like following ... > > fq=category:456 > > it is returning only one document doc2 which has only category is 456. > 456 > > But I need other two also which as this category 456 > > Can you please help me out to achieve this ... > > > Thanks & Regards >
Sorl 4.3.1 - Does not load the new data using the Java application
Hi Team - Can you please help me out on the below issue ... We are using the Solr 4.3.1 version. Integrated Solr 4.3.1 with Java application using EmbeddedSolrServer. Using this EmbeddedSolrServer in java - loading the core container as below ... *embeddedSolrServer.getCoreContainer().load();* We are loading the container at the time of initiating the ApplicationContext. And now Java application is able to access the indexed data. *Now the issue is - * *If I index the new data in Solr - the same data is not getting loaded through Java application until and un-less if I again load the Core Container using **embeddedSolrServer.getCoreContainer().load().* Can you please help me out to on how to access the new data (which is indexed on Solr) using java application with out calling every-time *embeddedSolrServer.getCoreContainer().load().* *??? * *Please help me out ... I am stuck and not able to proceed further ... It is leading to critical issue ...* *Thanks In Advance.*
Re: Sorl 4.3.1 - Does not load the new data using the Java application
Hi Upayavira / Team - Can you please explain in-detail - how to do the commit...? if we do the commit - Will the new data will be available to Java Application with-out calling *embeddedSolrServer.* *getCoreContainer().load()*. again. ...? Please help me here ... Thanks in Advance. On Thu, Jun 9, 2016 at 4:08 PM, Upayavira wrote: > Are you executing a commit? > > You must commit before your content becomes visible. > > Upayavira > > On Thu, 9 Jun 2016, at 11:13 AM, SRINI SOLR wrote: > > Hi Team - > > Can you please help me out on the below issue ... > > > > We are using the Solr 4.3.1 version. > > > > Integrated Solr 4.3.1 with Java application using EmbeddedSolrServer. > > > > Using this EmbeddedSolrServer in java - loading the core container as > > below ... > > *embeddedSolrServer.getCoreContainer().load();* > > > > We are loading the container at the time of initiating the > > ApplicationContext. And now Java application is able to access the > > indexed > > data. > > > > *Now the issue is - * > > *If I index the new data in Solr - the same data is not getting loaded > > through Java application until and un-less if I again load the Core > > Container using **embeddedSolrServer.getCoreContainer().load().* > > > > Can you please help me out to on how to access the new data (which is > > indexed on Solr) using java application with out calling every-time > > *embeddedSolrServer.getCoreContainer().load().* > > > > *??? * > > > > *Please help me out ... I am stuck and not able to proceed further ... It > > is leading to critical issue ...* > > > > *Thanks In Advance.* >
Solr 4.3.1 - Spell-Checker with MULTI-WORD PHRASE
Hi All - Could you please help me on spell check on multi-word phrase as a whole... Scenario - I have a problem with solr spellcheck suggestions for multi word phrases. With the query for 'red chillies' q=red+chillies&wt=xml&indent=true&spellcheck=true&spellcheck.extendedResults=true&spellcheck.collate=true I get 2 4 12 0 chiller4 challis2 false red chiller The problem is, even though 'chiller' has 4 results in index, 'red chiller' has none. So we end up suggesting a phrase with 0 result. What can I do to make spellcheck work on the whole phrase only? Please help me here ...
Re: Solr 4.3.1 - Spell-Checker with MULTI-WORD PHRASE
Hi all - please help me here On Thursday, July 21, 2016, SRINI SOLR wrote: > Hi All - > Could you please help me on spell check on multi-word phrase as a whole... > Scenario - > I have a problem with solr spellcheck suggestions for multi word phrases. With the query for 'red chillies' > > q=red+chillies&wt=xml&indent=true&spellcheck=true&spellcheck.extendedResults=true&spellcheck.collate=true > > I get > > > > 2 > 4 > 12 > 0 > > chiller4 > challis2 > > > false > red chiller > > > The problem is, even though 'chiller' has 4 results in index, 'red chiller' has none. So we end up suggesting a phrase with 0 result. > > What can I do to make spellcheck work on the whole phrase only? > > Please help me here ...