How solr text search finding work

2013-11-28 Thread Viresh Modi
For instance,When we searched for “Kredit” and received hits containing the
words “Kredit”, “Kredite” and “Kredit-“. However, entries containing the
word “Kreditgeber” are not coming up in the results list. Would you know
why?


Regards
Viresh Modi


Re: How solr text search finding work

2013-11-28 Thread Viresh Modi
Declaration:
 
My Field Type Defination as below:


  









  
  







  



On 28 November 2013 19:31, Ahmet Arslan  wrote:

> Hi Viresh,
>
> It all about analysis (field type) of the text you are indexing searching.
> http://localhost:8983/solr/#/collection1/analysis page is very helpful to
> obverse/debug how your text is indexed analyzed. It is probably because of
> your stemmer. Can you paste your field type definition?
>
>
>
>
> On Thursday, November 28, 2013 3:47 PM, Viresh Modi 
> wrote:
> For instance,When we searched for “Kredit” and received hits containing the
> words “Kredit”, “Kredite” and “Kredit-“. However, entries containing the
> word “Kreditgeber” are not coming up in the results list. Would you know
> why?
>
>
> Regards
> Viresh Modi
>



-- 

Regards,
Viresh Modi
Software Engineer (Publisher)

Email: viresh.m...@highq.com 
Mobile: +919714567430


dismax request handler will give wrong result in solr 4.3

2014-01-22 Thread Viresh Modi
When i use dismax query type handler in *SOLR 1.4 *and then same for *SOLR
4.3 *then both give different numFound record both have same index profile
as well.
means Solr 1.4 gives 9 records
and Solr 4.3 gives  99 records.

*My Query is:*

start=0&rows=10&hl=true&hl.fl=content&qt=dismax
&q=system admin
&fl=id,application,timestamp,name,score,metaData,metaDataDate
&fq=application:PunitR3_8
&fq= NOT ( id:OnlineR3_8_page_410_0 OR id:OnlineR3_8_page_411_0 OR
id:OnlineR3_8_page_628_0 )
&fq=(metaData:channelId/100 OR metaData:channelId/10 OR
metaData:channelId/160 OR  metaData:channelId/12)&sort=score desc

*and In Solr Config.xml has handler::*



 dismax
 explicit
 
 content name
 
 1000
 
 true
 content
 
 150
 
 name
     regex 

  


-- 

Regards,
Viresh Modi


support for and Why remove dismax handler remove in solr 4.3

2014-01-23 Thread Viresh Modi
i checked solrconfig.xml in solr 4.3 and solr 1.4
In both i have checked

*Solr 1.4::*


*Solr 4.3::*



so how to handle dismax query type(qt) in solr 4.3
in solr 1.4.1 we have used qt=dismax
but solr 4.3 there is no such configuration.


so both give different result.
-- 

Regards,
Viresh Modi


How can i search maximum number of word in particular docs

2013-09-24 Thread Viresh Modi
Mu Query Looks Like:

start=0&rows=10&hl=true&hl.fl=content&qt=dismax
&q=pookan
&fl=id,application,timestamp,name,score,metaData,metaDataDate
&fq=application:OnlineR3_6_4
&fq=(metaData:channelId/101 OR metaData:channelId/104)
&sort=score desc


but not getting result as per desired

 OnlineR3_6_4_101_7
 pookan pookan pookan


OnlineR3_6_4_101_20
 pookan pookan pookan pookan pookan


 OnlineR3_6_4_101_19
 pookan pookan pookan pookan


  OnlineR3_6_4_101_21
 pookan pookan



Acutually i want particular word for that match max in content tag that
come first (relevancy based)


Exact Word Match Search comes in first come In Solr4.3

2013-09-26 Thread Viresh Modi
I want to get ORDER As Per Exact Search match:

Search with "EMIR" comes First exact match  “Emir”  not “United Arab
Emirates”.

 For example, when you search for “EMIR” the first result has nothing to do
with that and is all about “United Arab Emirates”, which obviously contains
“Emir” as part of “Emirates”. This is obviously less relevant than an exact
match on “EMIR”.

*MY SOLR INDEX RESULT:*



Weight  United Arab Emirates




Emir My Search Content



*Debug for Query :*

 
0.4016216 = (MATCH) weight(text:emir in 0) [DefaultSimilarity], result of:
  0.4016216 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
  1.0 = termFreq=1.0
3.2129729 = idf(docFreq=48, maxDocs=448)
0.125 = fieldNorm(doc=0)

0.4016216 = (MATCH) weight(text:emir in 0) [DefaultSimilarity], result of:
  0.4016216 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
  1.0 = termFreq=1.0
3.2129729 = idf(docFreq=48, maxDocs=448)
0.125 = fieldNorm(doc=0)

*MY Schema.xml Looks like :*





  

   




  
  







  



Solr 3.5 Optimization takes index file size almost double

2013-06-13 Thread Viresh Modi
Hi,
I have solr server 1.4.1 with index file size 428GB.Now When I upgrade solr
Server 1.4.1 to Solr 3.5.0 by replication method. Size remains same.
But when optimize index for Solr 3.5.0 instance its size reaches 791GB.so
what is solutions for size remains same or lesser.
I optimize Solr 3.5 with Query:
/update?optimize=true&commit=true

Thanks & regards
Viresh Modi

-- 

--
This email and its attachments are intended for the above named only and 
may be confidential. If they have come to you in error you must take no 
action based on them, nor must you copy or show them to anyone; please 
reply to this email and highlight the error.


Re: Solr 3.5 Optimization takes index file size almost double

2013-06-13 Thread Viresh Modi
Thanks Rafal for reply...

I agree with you. But Actually After optimization , it does not reduce size
and it remains double. so is there any thing we missed or need to do for
achieving index size reduction ?

Is there any special setting we need to configure for replication?




On 13 June 2013 16:53, Rafał Kuć  wrote:

> Hello!
>
> Optimize command needs to rewrite the segments, so while it is
> still working you may see the index size to be doubled. However after
> it is finished the index size will be usually lowered comparing to the
> index size before optimize.
>
> --
> Regards,
>  Rafał Kuć
>  Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch
>
> > Hi,
> > I have solr server 1.4.1 with index file size 428GB.Now When I upgrade
> solr
> > Server 1.4.1 to Solr 3.5.0 by replication method. Size remains same.
> > But when optimize index for Solr 3.5.0 instance its size reaches 791GB.so
> > what is solutions for size remains same or lesser.
> > I optimize Solr 3.5 with Query:
> > /update?optimize=true&commit=true
>
> > Thanks & regards
> > Viresh Modi
>
>

-- 

--
This email and its attachments are intended for the above named only and 
may be confidential. If they have come to you in error you must take no 
action based on them, nor must you copy or show them to anyone; please 
reply to this email and highlight the error.


Re: Solr 3.5 Optimization takes index file size almost double

2013-06-14 Thread Viresh Modi
Hi pravin

I have nearly 2 TB Disk space for optimization.And  after optimization get
response of Qtime nearly 7hours (Obvious which  in milisecond).So i think
not issue of disk space.


Thanks&  Regards,
Viresh modi
Mobile: 91 (0) 9714567430


On 14 June 2013 20:10, Pravin Bhutada  wrote:

> Hi Viresh,
>
> How much free disc space do you have?  if you have dont have enough space
> on disc, optimization process stops and rollsback to some intermediate
> state.
>
>
> Pravin
>
>
>
>
> On Fri, Jun 14, 2013 at 2:50 AM, Viresh Modi <
> viresh.m...@highqsolutions.com
> > wrote:
>
> > Hi Rafal
> >
> > Here i attached solr index file snapshot as well ..
> > So can you look into this and any another information required regarding
> > it then let me know.
> >
> >
> > Thanks&  Regards,
> > Viresh modi
> > Mobile: 91 (0) 9714567430
> >
> >
> > On 13 June 2013 17:41, Rafał Kuć  wrote:
> >
> >> Hello!
> >>
> >> Do you have some backup after commit in your configuration? It would
> >> also be good to see how your index directory looks like, can you list
> >> that ?
> >>
> >> --
> >> Regards,
> >>  Rafał Kuć
> >>  Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch
> >>
> >> > Thanks Rafal for reply...
> >>
> >> > I agree with you. But Actually After optimization , it does not reduce
> >> size
> >> > and it remains double. so is there any thing we missed or need to do
> for
> >> > achieving index size reduction ?
> >>
> >> > Is there any special setting we need to configure for replication?
> >>
> >>
> >>
> >>
> >> > On 13 June 2013 16:53, Rafał Kuć  wrote:
> >>
> >> >> Hello!
> >> >>
> >> >> Optimize command needs to rewrite the segments, so while it is
> >> >> still working you may see the index size to be doubled. However after
> >> >> it is finished the index size will be usually lowered comparing to
> the
> >> >> index size before optimize.
> >> >>
> >> >> --
> >> >> Regards,
> >> >>  Rafał Kuć
> >> >>  Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch
> >> >>
> >> >> > Hi,
> >> >> > I have solr server 1.4.1 with index file size 428GB.Now When I
> >> upgrade
> >> >> solr
> >> >> > Server 1.4.1 to Solr 3.5.0 by replication method. Size remains
> same.
> >> >> > But when optimize index for Solr 3.5.0 instance its size reaches
> >> 791GB.so
> >> >> > what is solutions for size remains same or lesser.
> >> >> > I optimize Solr 3.5 with Query:
> >> >> > /update?optimize=true&commit=true
> >> >>
> >> >> > Thanks & regards
> >> >> > Viresh Modi
> >> >>
> >> >>
> >>
> >>
> >
> > --
> > This email and its attachments are intended for the above named only and
> > may be confidential. If they have come to you in error you must take no
> > action based on them, nor must you copy or show them to anyone; please
> > reply to this email and highlight the error.
> >
>

-- 

--
This email and its attachments are intended for the above named only and 
may be confidential. If they have come to you in error you must take no 
action based on them, nor must you copy or show them to anyone; please 
reply to this email and highlight the error.