Getting many slorconfig.xml's in the example folder

2014-11-30 Thread ASHOK SARMAH
Hi I am not getting why there are many solrconfig.xml file.
Is that everytime when we upload a file to solr solrconfig.xml file is
generated.


Re: Getting many slorconfig.xml's in the example folder

2014-11-30 Thread ASHOK SARMAH
Hii thanx for the reply.i am new to solr. i am giving som mre details here.
Actually i upload files through post.jar format.whn i search for
solrconfig.xml files thre are around 5 files nd 5 files for solr.xml by
default.i want to know is that the default configuration...
 On 30-Nov-2014 9:55 PM, "Alexandre Rafalovitch"  wrote:

> If you are talking about default distribution, it is because Solr
> comes with multiple examples actually. Look for the file solr.xml.
> That's the rule of a full example each of which may have one or more
> collections.
>
> If you start Solr with java -Dsolr.solr.home=/x/y/z -jar start.jar you
> will see the rest of them. Where /x/y/z is the location of the
> solr.xml file.
>
> Regards,
>Alex.
>
> Personal: http://www.outerthoughts.com/ and @arafalov
> Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
> Solr popularizers community: https://www.linkedin.com/groups?gid=6713853
>
>
> On 30 November 2014 at 07:33, ASHOK SARMAH 
> wrote:
> > Hi I am not getting why there are many solrconfig.xml file.
> > Is that everytime when we upload a file to solr solrconfig.xml file is
> > generated.
>


Re: Getting many slorconfig.xml's in the example folder

2014-11-30 Thread ASHOK SARMAH
Thanx fr reply.
I had one more doubt as if in solrconfig.xml i hav added spellcheckr
setting within browse request handler.when i am trying to add same
spellchecker setting in another request handler ie query within same
solrconfig.xml the spellchecker functionality is not being shown.
On 01-Dec-2014 12:23 AM, "Alexandre Rafalovitch"  wrote:

> It's a default configuration. Nothing to do with post.jar. Easy to
> check this by just looking at what's inside the zip file. Reread my
> other email for details again.
>
> Also try the tutorials, both the one online and the one in the docs folder.
>
> Regards,
>Alex.
>
>
> Personal: http://www.outerthoughts.com/ and @arafalov
> Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
> Solr popularizers community: https://www.linkedin.com/groups?gid=6713853
>
>
> On 30 November 2014 at 13:39, ASHOK SARMAH 
> wrote:
> > Hii thanx for the reply.i am new to solr. i am giving som mre details
> here.
> > Actually i upload files through post.jar format.whn i search for
> > solrconfig.xml files thre are around 5 files nd 5 files for solr.xml by
> > default.i want to know is that the default configuration...
> >  On 30-Nov-2014 9:55 PM, "Alexandre Rafalovitch" 
> wrote:
> >
> >> If you are talking about default distribution, it is because Solr
> >> comes with multiple examples actually. Look for the file solr.xml.
> >> That's the rule of a full example each of which may have one or more
> >> collections.
> >>
> >> If you start Solr with java -Dsolr.solr.home=/x/y/z -jar start.jar you
> >> will see the rest of them. Where /x/y/z is the location of the
> >> solr.xml file.
> >>
> >> Regards,
> >>Alex.
> >>
> >> Personal: http://www.outerthoughts.com/ and @arafalov
> >> Solr resources and newsletter: http://www.solr-start.com/ and
> @solrstart
> >> Solr popularizers community:
> https://www.linkedin.com/groups?gid=6713853
> >>
> >>
> >> On 30 November 2014 at 07:33, ASHOK SARMAH 
> >> wrote:
> >> > Hi I am not getting why there are many solrconfig.xml file.
> >> > Is that everytime when we upload a file to solr solrconfig.xml file is
> >> > generated.
> >>
>


Contextual search

2014-12-01 Thread ASHOK SARMAH
Hii all .i wanted to know how solr performs contextual search.actually in
my search list i had given the query as "three book".i got the suggestn as
"a book of three".which i wanted.but when i specify it as "thri book".it
specifies me of spelling check for thri as three its fyn.but why i dont get
in this case result as "a book of three".like previous.


Re: Contextual search

2014-12-02 Thread ASHOK SARMAH
Hi alex thnx .i was able to get the get the suggestion for thri book as "
the book of three".but when i search for threebook (three and book are now
combined)then i am not able to get the suggestn for "a book of three".how
we solve this?
On 01-Dec-2014 9:34 PM, "Alexandre Rafalovitch"  wrote:

> If you need Solr to treat 'thri' (invalid English) as 'three', you
> need to tell it to do so. Look at the synonym modules in the example's
> schema.xml.
>
> Or you could do phonetic matches. You have a couple of choices for
> those, but basically it's all about the specific analyzer chains to
> experiment with. So, start with that and come back if you still have
> troubles once you understand the way analyzers work.
>
> Regards,
>Alex.
> Personal: http://www.outerthoughts.com/ and @arafalov
> Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
> Solr popularizers community: https://www.linkedin.com/groups?gid=6713853
>
>
> On 1 December 2014 at 09:46, ASHOK SARMAH 
> wrote:
> > Hii all .i wanted to know how solr performs contextual search.actually in
> > my search list i had given the query as "three book".i got the suggestn
> as
> > "a book of three".which i wanted.but when i specify it as "thri book".it
> > specifies me of spelling check for thri as three its fyn.but why i dont
> get
> > in this case result as "a book of three".like previous.
>


Re: Contextual search

2014-12-02 Thread ASHOK SARMAH
HI Alex,

I have specified following in my solrconfig.xml ::

 on
   true
   5
   2
   5
   true
   true
   5
   3
wordbreak
5


I have written wordbreak
5   to break the words with
minimum length 5.then it should break my word threebook as three and book
right?correct me if I am wrong.But I am not getting the required search
results.Kindly suggest.

On Wed, Dec 3, 2014 at 12:08 AM, Alexandre Rafalovitch 
wrote:

> Well, how would you expect it to solve it - in non-technical terms.
> What's the high level description of "book of three" matching
> "threebook" and not say "threeof"? Random permutation of any two
> words? It's a bit of a strange requirement so far.
>
> Regards,
>Alex.
> Personal: http://www.outerthoughts.com/ and @arafalov
> Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
> Solr popularizers community: https://www.linkedin.com/groups?gid=6713853
>
>
> On 2 December 2014 at 12:55, ASHOK SARMAH 
> wrote:
> > Hi alex thnx .i was able to get the get the suggestion for thri book as "
> > the book of three".but when i search for threebook (three and book are
> now
> > combined)then i am not able to get the suggestn for "a book of three".how
> > we solve this?
> > On 01-Dec-2014 9:34 PM, "Alexandre Rafalovitch" 
> wrote:
> >
> >> If you need Solr to treat 'thri' (invalid English) as 'three', you
> >> need to tell it to do so. Look at the synonym modules in the example's
> >> schema.xml.
> >>
> >> Or you could do phonetic matches. You have a couple of choices for
> >> those, but basically it's all about the specific analyzer chains to
> >> experiment with. So, start with that and come back if you still have
> >> troubles once you understand the way analyzers work.
> >>
> >> Regards,
> >>    Alex.
> >> Personal: http://www.outerthoughts.com/ and @arafalov
> >> Solr resources and newsletter: http://www.solr-start.com/ and
> @solrstart
> >> Solr popularizers community:
> https://www.linkedin.com/groups?gid=6713853
> >>
> >>
> >> On 1 December 2014 at 09:46, ASHOK SARMAH 
> >> wrote:
> >> > Hii all .i wanted to know how solr performs contextual
> search.actually in
> >> > my search list i had given the query as "three book".i got the
> suggestn
> >> as
> >> > "a book of three".which i wanted.but when i specify it as "thri
> book".it
> >> > specifies me of spelling check for thri as three its fyn.but why i
> dont
> >> get
> >> > in this case result as "a book of three".like previous.
> >>
>


Re: Contextual search

2014-12-02 Thread ASHOK SARMAH
HI Alex,

I have specified these in the solrconfig.xml as::

on
   true
   5
   2
   5
   true
   true
   5
   3
wordbreak
5 .



The lines  wordbreak
5  are for breaking the
word threebook as three and book .But then too its not searching for the
string "A book of three".Kindly suggest what all ways it can be done

On Wed, Dec 3, 2014 at 12:08 AM, Alexandre Rafalovitch 
wrote:

> Well, how would you expect it to solve it - in non-technical terms.
> What's the high level description of "book of three" matching
> "threebook" and not say "threeof"? Random permutation of any two
> words? It's a bit of a strange requirement so far.
>
> Regards,
>Alex.
> Personal: http://www.outerthoughts.com/ and @arafalov
> Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
> Solr popularizers community: https://www.linkedin.com/groups?gid=6713853
>
>
> On 2 December 2014 at 12:55, ASHOK SARMAH 
> wrote:
> > Hi alex thnx .i was able to get the get the suggestion for thri book as "
> > the book of three".but when i search for threebook (three and book are
> now
> > combined)then i am not able to get the suggestn for "a book of three".how
> > we solve this?
> > On 01-Dec-2014 9:34 PM, "Alexandre Rafalovitch" 
> wrote:
> >
> >> If you need Solr to treat 'thri' (invalid English) as 'three', you
> >> need to tell it to do so. Look at the synonym modules in the example's
> >> schema.xml.
> >>
> >> Or you could do phonetic matches. You have a couple of choices for
> >> those, but basically it's all about the specific analyzer chains to
> >> experiment with. So, start with that and come back if you still have
> >> troubles once you understand the way analyzers work.
> >>
> >> Regards,
> >>Alex.
> >> Personal: http://www.outerthoughts.com/ and @arafalov
> >> Solr resources and newsletter: http://www.solr-start.com/ and
> @solrstart
> >> Solr popularizers community:
> https://www.linkedin.com/groups?gid=6713853
> >>
> >>
> >> On 1 December 2014 at 09:46, ASHOK SARMAH 
> >> wrote:
> >> > Hii all .i wanted to know how solr performs contextual
> search.actually in
> >> > my search list i had given the query as "three book".i got the
> suggestn
> >> as
> >> > "a book of three".which i wanted.but when i specify it as "thri
> book".it
> >> > specifies me of spelling check for thri as three its fyn.but why i
> dont
> >> get
> >> > in this case result as "a book of three".like previous.
> >>
>