Re: Solr 4.3.1 - Spell-Checker with MULTI-WORD PHRASE

2016-07-22 Thread SRINI SOLR
Hi all - please help me here

On Thursday, July 21, 2016, SRINI SOLR <srini.s...@gmail.com> 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=xml=true=true=true=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 ...


Solr 4.3.1 - Spell-Checker with MULTI-WORD PHRASE

2016-07-21 Thread SRINI SOLR
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=xml=true=true=true=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: Sorl 4.3.1 - Does not load the new data using the Java application

2016-06-09 Thread SRINI SOLR
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 <u...@odoko.co.uk> 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.*
>


Sorl 4.3.1 - Does not load the new data using the Java application

2016-06-09 Thread SRINI SOLR
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: Filter query (fq) on comma seperated value does not work

2016-05-16 Thread SRINI SOLR
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 <iori...@yahoo.com.invalid>
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 <srini.s...@gmail.com> 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
>


Filter query (fq) on comma seperated value does not work

2016-05-16 Thread SRINI SOLR
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


Multi-word Synonyms Solr 4.3.1 does not work

2016-05-06 Thread SRINI SOLR
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 


EmbeddedSolrServer Loading Core Containers Solr 4.3.1

2016-05-02 Thread SRINI SOLR
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 ...?


want to subscribe

2016-04-18 Thread SRINI SOLR