Hi Naveen,
I am not too sure what you're after but the sorting mechanism is applied
after search results are fetched.
>From Solr Ref Guide:
https://cwiki.apache.org/confluence/display/solr/Common+Query+Parameters#CommonQueryParameters-ThesortParameter
The sort parameter *arranges search
one-to-one.
> >
> > Regards,
> >Alex.
> >
> > Newsletter and resources for Solr beginners and intermediates:
> > http://www.solr-start.com/
> >
> >
> > On 29 April 2016 at 20:48, Sandeep Mestry <sanmes...@gmail.com> wrote:
> > > Hi Al
Hi All,
Hope the day is going on well for you.
This question has been asked before, but I couldn't find answer to my
specific request. I have many to many relationship and the mapping table
has additional columns. Whats the best way I can model this into solr
entity?
For example: a user has
+1
On 3 July 2013 14:58, Jack Krupansky j...@basetechnology.com wrote:
Design your own application layer for both indexing and query that knows
about both SQL and Solr. Give it a REST API and then your client
applications can talk to your REST API and not have to care about the
details of
Hi Fabio,
No, Solr isn't the database replacement for MS SQL.
Solr is built on top of Lucene which is a search engine library for text
searches.
Solr in itself is not a replacement for any database as it does not support
any relational db features, however as Jack and David mentioned its fully
Hi Fabio,
Yes, you're on right track.
I'd like to now direct you to first reply from Jack to go through solr
tutorial.
Even with Solr,, it will take some time to learn various bits and pieces
about designing fields, their field types, server configuration, etc. and
then tune the results to match
Hi Sri,
This depends on how the fields (that hold the value) are defined and how
the query is generated.
Try running the query in solr console and use debug=true to see how the
query string is getting parsed.
If that doesn't help then could you answer following 3 questions relating
to your
Hi Hoss,
Thanks for your reply, Please find answers to your questions below.
*Well, for starters -- have you considered at least looking into using the java
based Replicationhandler instead of the rsync scripts?*
- There was an attempt to to implement java based replication but it was
very slow
*str name=msgorg.apache.solr.search.SyntaxError: Cannot parse
'*mm_state_code:(**TX)*': Encountered : : at line 1, column 14.
Was expecting one of:*
This suggests to me that you kept the df parameter in the query hence it
was forming mm_state_code:mm_state_code:(TX), can you try exactly they
Hi Oussama,
This is explained very nicely on Solr Wiki..
http://wiki.apache.org/solr/SolrRelevancyFAQ#index-time_boosts
http://wiki.apache.org/solr/UpdateXmlMessages#Optional_attributes_for_.22add.22
All you need to do is something similar to below..
-
add doc boost=2.5field
this is independent from any field value.
Any ideas ?
On 05/22/2013 10:30 AM, Sandeep Mestry wrote:
Hi Oussama,
This is explained very nicely on Solr Wiki..
http://wiki.apache.org/solr/**SolrRelevancyFAQ#index-time_**boostshttp://wiki.apache.org/solr/SolrRelevancyFAQ#index-time_boosts
http
query is somthing like : Suggestion:Olive Oil.
The result is 9 documents, wich all has the same score 11.287682, even
if they had been indexed with different boosts (I am sure of this).
On 05/22/2013 10:54 AM, Sandeep Mestry wrote:
I think that is applicable only for the field level boosting
one value is indexed in them (so no multiValue is required and it works
perfectly).
On 05/22/2013 11:18 AM, Sandeep Mestry wrote:
Did you use the debugQuery=true in solr console to see how the query is
being interpreted and the result calculation?
Also, I'm not sure but this copyfield
be _really_ cautious about using a 4.1 or later jar with 4.0.
FWIW,
Erick
On Tue, May 21, 2013 at 12:05 PM, Sandeep Mestry sanmes...@gmail.com
wrote:
Thanks Steve,
I could find solr-core.jar in the repo but could not find
apache-solr-core.jar.
I think my issue got misunderstood - which
Hi There,
Not sure I understand your problem correctly, but is 'mm_state_code' a real
value or is it field name?
Also, as Erick pointed out above, the facets are not calculated if there
are no results. Hence you get no facets.
You have mentioned which facets you want but you haven't mentioned
I doubt if there is any straight out of the box feature that supports this
requirement, you will probably need to handle this at the index time.
You can play around with Function Queries
http://wiki.apache.org/solr/FunctionQuery for any such feature.
On 22 May 2013 16:37, Sam Lee
From the response you've mentioned it appears to me that the query term TX
is searched against sa_site_city instead of mm_state_code.
Can you try your query like below:
http://xx.xx.xx.xx/solr/collection1/select?q=*mm_state_code:(**TX)*
wt=xmlindent=truefacet=truefacet.field=sa_site_citydebug=all
not think this is
the ideal solution.
Thanks,
Sandeep
On 20 May 2013 15:18, Shawn Heisey s...@elyograg.org wrote:
On 5/20/2013 8:01 AM, Sandeep Mestry wrote:
And I do remember the discussion on the forum about dropping the name
*apache* from solr jars. If that's what caused this issue
Hi Steve,
Solr 4.0 - mentioned in the subject.. :-)
Thanks,
Sandeep
On 21 May 2013 14:58, Steve Rowe sar...@gmail.com wrote:
Sandeep,
What version of Solr are you using?
Steve
On May 21, 2013, at 6:55 AM, Sandeep Mestry sanmes...@gmail.com wrote:
Hi Shawn,
Thanks for your reply
,
Sandeep
On 21 May 2013 16:46, Steve Rowe sar...@gmail.com wrote:
The 4.0 solr-core jar is available in Maven Central:
http://search.maven.org/#artifactdetails%7Corg.apache.solr%7Csolr-core%7C4.0.0%7Cjar
Steve
On May 21, 2013, at 11:26 AM, Sandeep Mestry sanmes...@gmail.com wrote:
Hi Steve
Dear All,
I have a requirement to highlight a field only when all keywords entered
match. This also needs to support phrase, operator or wildcard queries.
I'm using Solr 4.0 with edismax because the search needs to be carried out
on multiple fields.
I know with highlighting feature I can
* terms
match.
Thanks,
Sandeep
On 20 May 2013 11:40, Jaideep Dhok jaideep.d...@inmobi.com wrote:
Sandeep,
If you AND all keywords, that should be OK?
Thanks
Jaideep
On Mon, May 20, 2013 at 3:44 PM, Sandeep Mestry sanmes...@gmail.com
wrote:
Dear All,
I have a requirement to highlight
are the fields that you have to search)
(f1:kw1 AND f1:kw2 ... f1:kwn) OR (f2:kw1 AND f2:kw2 ... f2:kwn)
-
Jaideep
On Mon, May 20, 2013 at 4:22 PM, Sandeep Mestry sanmes...@gmail.com
wrote:
Hi Jaideep,
The edismax config I have posted mentioned that the default operator is
AND. I am sorry
implementation that you can include in your Solr setup. Or, if
you make it generic enough, offer it back as a contribution that can be
included in future Solr releases.
Upayavira
On Mon, May 20, 2013, at 12:14 PM, Sandeep Mestry wrote:
I doubt if that will be the correct approach as it will be hard
Hi All,
I want to override a component from solr-core and for that I need solr-core
jar.
I am using the solr.war that comes from Apache mirror and if I open the
war, I see the solr-core jar is actually named as apache-solr-core.jar.
This is also true about solrj jar.
If I now provide a
catenateNumbers=0 catenateAll=0
splitOnCaseChange=1 splitOnNumerics=0 preserveOriginal=0 /
-- Jack Krupansky
-Original Message- From: Sandeep Mestry
Sent: Thursday, May 16, 2013 5:50 PM
To: solr-user@lucene.apache.org
Subject: Re: Question about Edismax - Solr 4.0
Hi Jack,
Thanks for your
-- *Edismax and Filter Queries with Commas and spaces* --
Dear Experts,
This appears to be a bug, please suggest if I'm wrong.
If I search with the following filter query,
1) fq=title:(, 10)
- I get no results.
- The debug output does NOT show the section containing
parsed_filter_queries
if
commas and spaces (but spaces would need to be
escaped or the term text enclosed in parentheses.)
Let us know what your symptom is though, first.
I mean, the filter query looks perfectly reasonable from an abstract
perspective.
-- Jack Krupansky
-Original Message- From: Sandeep
Krupansky
-Original Message- From: Sandeep Mestry
Sent: Thursday, May 16, 2013 12:42 PM
To: solr-user@lucene.apache.org
Subject: Re: Question about Edismax - Solr 4.0
Thanks Jack for your reply..
The problem is, I'm finding results for fq=title:(,10) but not for
fq=title:(, 10
Good Morning All,
The alphabetical sorting is causing slight issues as below:
I have 3 documents with title value as below:
1) Acer Palmatum (Tree)
2) Aceraceae (Tree Family)
3) Acer Pseudoplatanus (Tree)
I have created title_sort field which is defined with field type as
alphaNumericalSort
That's not ideal.
Can you post solrconfig.xml?
On 3 May 2013 07:41, vicky desai vicky.de...@germinait.com wrote:
Hi sandeep,
I made the changes u mentioned and tested again for the same set of docs
but
unfortunately the commit time increased.
--
View this message in context:
Hi Vicky,
I faced this issue as well and after some playing around I found the
autowarm count in cache sizes to be a problem.
I changed that from a fixed count (3072) to percentage (10%) and all commit
times were stable then onwards.
filterCache class=solr.FastLRUCache size=8192 initialSize=3072
Dear Experts,
I have a requirement for the exact matches and applying alphabetical
sorting thereafter.
To illustrate, the results should be sorted in exact matches and all later
alphabetical.
So, if there are 5 documents as below
Doc1
title: trees
Doc 2
title: plum trees
Doc 3
it.
You'll need two queries I'd guess.
Best
Erick
On Mon, Apr 29, 2013 at 9:44 AM, Sandeep Mestry sanmes...@gmail.com
wrote:
Dear Experts,
I have a requirement for the exact matches and applying alphabetical
sorting thereafter.
To illustrate, the results should be sorted in exact matches
Dear Experts,
I have a requirement for the exact matches and applying alphabetical
sorting thereafter.
To illustrate, the results should be sorted in exact matches and all later
alphabetical.
So, if there are 5 documents as below
Doc1
title: trees
Doc 2
title: plum trees
Doc 3
title: Money
Hi Pawel,
Not sure which parser you are using, I am using edismax and tried using the
bq parameter to boost the results having exact matches at the top.
You may try something like:
q=cats AND London NOT Leedsbq=cats^50
In edismax, pf and pf2 parameters also need some tuning to get the results
at
I think in that case, making a field String type is your option, however
remember that it'd be case sensitive.
Another approach is to create a case insensitive field type and doing
searches on those fields only.
fieldType name=string_ci class=solr.TextField sortMissingLast=true
omitNorms=true
Agree with Jack.
The current field type text_general is designed to match the query tokens
instead of exact matches - so it's not able to fulfill your requirements.
Can you use flat file
http://wiki.apache.org/solr/FileBasedSpellCheckeras spell check
dictionary instead and that way you can
it with the fieldType. See https://github.com/cominvent/exactmatch for a
possible solution.
--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Solr Training - www.solrtraining.com
3. apr. 2013 kl. 15:55 skrev Sandeep Mestry sanmes...@gmail.com:
Hi All,
I have
this copyfield directive be an issue? Should it be other way round or
does it matter?*
Thanks,
Sandeep
On 4 April 2013 10:38, Sandeep Mestry sanmes...@gmail.com wrote:
Hi Jan,
Thanks for your reply. I have defined string_ci like below:
fieldType name=string_ci class=solr.TextField
Hi All,
I have a requirement where in exact matches for 2 fields (Series Title,
Title) should be ranked higher than the partial matches. The configuration
looks like below:
requestHandler name=assetdismax class=solr.SearchHandler
lst name=defaults
str name=defTypeedismax/str
Hi Pragyanshis,
I faced a similar problem few days ago and I was advised on this forum to
override Solr DefaultSimilairy calculation to return always a constant
value for idf. I think, in your case you'd also want to suppress the length
norm which will require re-indexing as length norm is
Hi Bruno,
[image: !] Solr 4.0 added regular expression support, which means that
'/' is now a special character and must be escaped if searching for literal
forward slash.
http://wiki.apache.org/solr/SolrQuerySyntax
So, you can either escape it or use quotes like A01H2/001
Cheers,
Sandeep
* doesn't work.
Do you have an other solution for Solr 3.6 ?
thanks a lot,
Bruno
Le 19/02/2013 13:05, Sandeep Mestry a écrit :
Hi Bruno,
[image: !] Solr 4.0 added regular expression support, which means that
'/' is now a special character and must be escaped if searching for
literal
forward
Mestry sanmes...@gmail.com wrote:
Brilliant! Thanks very much for your response. .
On 1 Feb 2013 20:37, Felipe Lahti fla...@thoughtworks.com wrote:
It's not necessary. It's only query time.
On Fri, Feb 1, 2013 at 5:00 PM, Sandeep Mestry sanmes...@gmail.com
wrote:
Hi..
Could you
).
On Thu, Jan 31, 2013 at 5:31 AM, Sandeep Mestry sanmes...@gmail.com
wrote:
Thanks Felipe..
Can you point me an example please?
Also forgive me but if a document has matches in more searchable fields
then should it not rank higher?
Thanks,
Sandeep
On 30 Jan 2013 19:30
Brilliant! Thanks very much for your response. .
On 1 Feb 2013 20:37, Felipe Lahti fla...@thoughtworks.com wrote:
It's not necessary. It's only query time.
On Fri, Feb 1, 2013 at 5:00 PM, Sandeep Mestry sanmes...@gmail.com
wrote:
Hi..
Could you tell me if changing default similarity
=qfseries_title^500 title^100 description^15 contribution/str)
you
have to override the method of DefaultSimilarity.
On Wed, Jan 30, 2013 at 4:12 PM, Sandeep Mestry sanmes...@gmail.com
wrote:
I have pasted it below and it is slightly variant from the dismax
configuration I have
Hi All,
I'm facing an issue in relevancy calculation by dismax query parser.
The boost factor applied does not work as expected in certain cases when
the keyword is generic and by generic I mean, if the keyword is appearing
many times in the document as well as in the index.
I have parser
PM, Sandeep Mestry sanmes...@gmail.com
wrote:
Hi All,
I'm facing an issue in relevancy calculation by dismax query parser.
The boost factor applied does not work as expected in certain cases when
the keyword is generic and by generic I mean, if the keyword is appearing
many times
queries. From the debug query, I see that
field boosted with lesser factor (contribution) is still resulting higher
than the one with higher boost factor (series_title).
Thanks,
Sandeep
On 30 January 2013 16:02, Sandeep Mestry sanmes...@gmail.com wrote:
Thanks Felipe, yes I have seen
frequency)... If I understood
correctly by your first e-mail, you are interested in get rid of IDF. So
for that, you can create a NoIDFSimilarity class to override the default
similarity.
Can you paste here the score calculation for one document?
On Wed, Jan 30, 2013 at 2:06 PM, Sandeep Mestry
Hi There, I think Andre has already guided you in your earlier mail..
This should be fixed in 3.6.2 which is available since Dec 25.
From the
Hi All,
I followed the advice Michael and the timings reduced to couple of hours
now from 6-8 hours :-)
I have attached the solrconfig.xml we're using, can you let me know if I'm
missing something..
Thanks,
Sandeep
?xml version=1.0 encoding=UTF-8 ?
!--
Licensed to the Apache Software Foundation
--
Performance Monitoring - http://sematext.com/spm
On Dec 4, 2012 6:29 PM, Sandeep Mestry sanmes...@gmail.com wrote:
Hi All,
I have recently migrated from solr 1.4 to solr 4 and have done the
basic
changes required for solr 4 in solrconfig.xml and schema.xml. I have
also
rebuilt
Hi Amit/Shanu,
You can create the solr document for only the updated record and index it
to ensure only the updated record gets indexed.
You need not rebuild indexes from scratch for every record update.
Thanks,
Sandeep
Hi All,
I have recently migrated from solr 1.4 to solr 4 and have done the basic
changes required for solr 4 in solrconfig.xml and schema.xml. I have also
rebuilt the index set for solr 4.
We run optimize every morning at 4 am and we keep the index updates off
during this process.
Previously,
Dear All, Can anyone suggest how long it will take to get SOLR-1632 patch
into Solr 4?
Also, it'd be good if someone has used any alternate method like Ultraseek
XPA Java library to calculate the distributed ranking?
Many Thanks,
Sandeep
On 22 October 2012 13:23, Sascha SZOTT sz...@gmx.de
Dear All,
I have a requirement to search against multiple fields like title,
description, annotations, comments, text and the query can contain multiple
boolean operators.
So, can someone point me out in right direction.
If the user enters a query like ,
- (day AND world) NOT night
I want to
Thanks Ahmet, however as I have mentioned in my e-mail, we're using Solr
1.4 here and edismax is supported from Solr 3.1.
:-)
On 23 October 2012 13:42, Ahmet Arslan iori...@yahoo.com wrote:
--- On Tue, 10/23/12, Sandeep Mestry sanmes...@gmail.com wrote:
From: Sandeep Mestry sanmes
60 matches
Mail list logo