Hi,
I was looking into the Solr code and was trying to figure out as where the
code for field boosting is written. I am specifically looking for classes,
which gets called for that functionality.
If somebody knows as where the code is, it will be of great help.
Thanks,
Amit Garg
--
View this
Hi,
Can anyone please tell me where I can find the actual logic/implementation
of field boosting in Solr. I am looking for classes.
Thanks,
Amit Garg
--
View this message in context:
http://www.nabble.com/Boosting-Code-tp22119017p22119017.html
Sent from the Solr - User mailing list archive at
and not boosting the term (text + field name) at
query time.
On Feb 20, 2009, at 6:26 AM, dabboo wrote:
Hi,
I was looking into the Solr code and was trying to figure out as
where the
code for field boosting is written. I am specifically looking for
classes,
which gets called
Hi,
I am trying to achieve field boosting with alt query. I am giving wildcard
in the query and it is working fine and field boosting is working with
normal q query. I want to achieve both with q query. I am able to do
wildcard search with q query but now I am not getting the field boosting
Hi,
I am trying to perform wildcard search using q query.
e.g. If I give tes* as the query, it works fine and returns the results as
expected.
But if I give *tes*, then it throws an exception saying that we cant have
wildcards in front of any string.
Please suggest.
Thanks,
Amit Garg
--
Hi,
I am trying to achieve the field boosting in wild card search. If I do
normal search, then this field boosting works fine but if I use wildcard in
the search string, then it field boosting doesnt work.
Please suggest.
thanks,
Amit garg
--
View this message in context:
Hi,
Thanks for the information. But can we achieve wildcards with q query
instead of q.alt parameter.
thanks,
Amit
dabboo wrote:
Hi,
I am trying to achieve the field boosting in wild card search. If I do
normal search, then this field boosting works fine but if I use wildcard
Hi,
can we achieve wildcard search with q query parameter. wildcard search works
fine with q.alt parameter but not with q parameter.
Also, I am trying to debug the QueryParser class for the same issue, but the
control is not going in the right place in the eclipse. Hence, I am not able
to debug
Hi,
I am trying to debug code of QueryParser class and other related files. I
have also taken the code of lucene from its SVN, but it is not going to the
right control during debug.
I wnated to know if I have taken the latest code and if not, from where I
can take the code.
Thansk,
Amit Garg
Hi,
I am using q.alt parameter for passing the query. But with this q.alt
parameter, it doesnt read the QF parameter from solrConfig file. It reads BQ
parameter but not the QF. Hence the field boosting is not working with q.alt
parameter.
Please help how I can achieve that.
Thanks in advance.
Hi,
I am trying to override getFieldQuery method of QueryParser class, which
uses 2 classed i.e. PositionIncrementAttribute TokenAttribute of
org.apache.lucene.analysis.tokenattributes package. I\
I am not able to find out this package.
Please help.
Thanks,
Amit Garg
--
View this message in
Hi,
I am trying to search the schema with the q query parameter. Query which
gets form is:
+(programJacketImage_program_s:test | courseCodeSeq_course_s:test |
authorLastName_product_s:test | Index_Type_s:test | prdMainTitle_s:test^10.0
| discCode_course_s:test | sourceGroupName_course_s:test |
Hi Hoss,
Thanks a lot for the information. Here is what I am trying to achieve.
1. I am trying to customize the search with q query parameter, so that it
can support wildcard and field boosting. I customize QueryParser and created
the wildcard query in the same way as it does for non wildcard.
Hi,
I am trying to do the wildcard search using the q query parameter with
dismax request. Wildcard search works fine with q.alt parameter but field
boosting doesnt work with q.alt parameter.
I customized the QueryParser class and now the query which is getting formed
for wildcard is exactly
Hi,
Can somebody please tell me as what is the actual difference between q.alt
q parameter queries.
I am trying to do the wildcard search with q query parameter, which is
supported by q.alt parameter. Please let me know how it is treating the
query with wildcard in case of q.alt parameter.
Thanks for the information. Where do we defined the deftype parameter.
dabboo wrote:
Hi,
Can somebody please tell me as what is the actual difference between q.alt
q parameter queries.
I am trying to do the wildcard search with q query parameter, which is
supported by q.alt
suggest.
Thanks,
Amit
dabboo wrote:
Thanks for the information. Where do we defined the deftype parameter.
dabboo wrote:
Hi,
Can somebody please tell me as what is the actual difference between
q.alt q parameter queries.
I am trying to do the wildcard search with q query
if works, would I be able to achieve the field boosting with q
query parameter.
Thanks,
Amit Garg
Erik Hatcher wrote:
On Mar 2, 2009, at 10:15 AM, dabboo wrote:
Thanks for the information. I gave it in my url as the request
parameter like
http://localhost:8080/apache-solr-1.3.0
Hi,
I am trying to implement the spell check feature in solr with lucene. for
e.g. if any record contains elephants and user enters elepents, even
then also, it should return the results with the correct spelling i.e.
elephants.
Please suggest.
Thanks,
Amit Garg
--
View this message in
is tricky business. Mark Miller blogged a great entry
about the various options available:
http://www.lucidimagination.com/blog/2009/02/22/exploring-query-parsers/
Erik
On Mar 2, 2009, at 11:06 PM, dabboo wrote:
Here is what I am getting with debugQuery=true
?xml version=1.0
I can achieve the field boosting with this q.alt
parameter.
Thanks,
Amit Garg
dabboo wrote:
Hi,
Is there any way, we can implement field boosting with q.alt parameter
query. I would appreciate if somebody can suggest if there is any
workaround for the same.
Thanks,
Amit Garg
Hi,
I want to search tes*t, where * is not considering as wildcard but as
character. So, I am expecting the results which have tes*t as string as one
of their field value.
Please suggest how to achieve it.
Thanks,
Amit Garg
--
View this message in context:
trace? What version of Solr?)
Erik
On Mar 3, 2009, at 5:21 AM, dabboo wrote:
Hi,
I tried this url but it threw nullpointer exception. Also, I am having
underscores in the field name like ProductUrl_s etc.
I also debug the query which gets formed with q.alt, it doesnt
calculate
Hi,
Date search is not happening in solr. I am giving the field name and date
value as the request but it is not returning any value.
Please suggest.
Thanks,
Amit Garg
--
View this message in context:
http://www.nabble.com/Search-with-Date-field-tp22324779p22324779.html
Sent from the Solr -
Hi,
Can someone please tell me if we can write our own Custom Request Handler
and Custom Solr Core?
I want to call execute method of custom solrcore class instead of SolrCore
class.
Actually, I have to modify getQParser method of SolrCore class, so that it
shud start returning my custom
Hi,
I am trying to implement stemming in solr. If user searches for walk then
all the records which have walk, walking, walks, walked etc should display.
Please suggest.
Thanks,
Amit Garg
--
View this message in context:
http://www.nabble.com/Stemming-in-Solr-tp22328850p22328850.html
Sent
Hi,
I am implementing column specific query with q query parameter. for e.g.
?q=prdMainTitle_product_s:math qt=dismaxrequest
The above query doesnt work while if I use the same query with q.alt
parameter, it works.
?q=q.alt= prdMainTitle_product_s:math qt=dismaxrequest
Please suggest, how
Hi,
Can somebody please give me an example as how to achieve it.
Thanks,
Amit Garg
dabboo wrote:
Hi,
I am implementing column specific query with q query parameter. for e.g.
?q=prdMainTitle_product_s:math qt=dismaxrequest
The above query doesnt work while if I use the same query
Hi,
I am implementing column specific search with q query parameter. I have
achieved the same but field boosting is not working in that.
Below is the query which is getting formed for this URL:
/?q=productURL_s:amit%20OR%20prdMainTitle_s:amitgversion=2.2start=0rows=10indent=onqt=dismaxrequest
, wildcard with q query. But with
field operations, field boosting is not working.
If required, I can write you a separate email.
Please suggest.
Thanks,
Amit Garg
Erik Hatcher wrote:
On Mar 5, 2009, at 8:31 AM, dabboo wrote:
I am implementing column specific search with q query parameter. I
Hi,
I am facing an issue with the date field, I have in my records.
e.g. I am using q query parameter and passing some string as search criteria
like test. While creating query with q parameter, how query forms is:
column1:test | column2:test | column3:test . ...
I have one column as date
The request sent by the client was syntactically incorrect
(Invalid Date String:'1993-02-01t12').
thanks,
Amit Garg
Shalin Shekhar Mangar wrote:
On Thu, Mar 12, 2009 at 4:39 PM, dabboo ag...@sapient.com wrote:
Hi,
I am able to rectify that exception but now what I am looking for is :
How
I
can
it throws an
exception saying that it is expecting TO ..
Please suggest.
thanks,
Amit Garg
Venu Mittal wrote:
Is your final query in this format ?
col1:[2009-01-01T00:00:00Z+TO+2009-01-01T23:59:59Z]
From: dabboo ag...@sapient.com
To: solr-user
Hi Pete,
bq parameter works with q,alt query parameter. If you are passing the search
criteria using q.alt query parameter then this bq parameter comes into
picture. Also, q.alt doesnt support field boosting.
If you want to boost the records with their field value then you must use q
query
Hi,
I am implementing 2 way synonyms in solr using q query parameter. One way
synonym is working fine with q query parameter but 2 way is not working.
for e.g.
If I defined 2 way synonyms in the file like:
value1, value2
It doesnt show any result for either of the value.
Please suggest.
Hi,
Can someone please tell me how to implement phrase synonyms in solr.
Thanks,
Amit
--
View this message in context:
http://www.nabble.com/Phrase-Synonyms-in-solr-tp22492440p22492440.html
Sent from the Solr - User mailing list archive at Nabble.com.
clearer but I am still a bit confused.
On Thu, 2009-03-12 at 23:14 -0700, dabboo wrote:
If you want to boost the records with their field value then you must use
q
query parameter instead of q.alt. 'q' parameter actually uses qf
parameters
from solrConfig for field boosting.
From
.
Cheers,
Pete
On Fri, 2009-03-13 at 03:21 -0700, dabboo wrote:
Pete,
Sorry, if wasnt clear. Here is the explanation.
Suppose you have 2 records and they have films and media as 2 columns.
Now first record has values like films=Indiana and media=blue ray
and 2nd record has values like
Yes, I have defined expand=true for synonym definition.
But still, 2 way synonym are not working.
Also, is there any way, phrase synonym starts working.
Koji Sekiguchi-2 wrote:
dabboo wrote:
Hi,
I am implementing 2 way synonyms in solr using q query parameter. One way
synonym
Hi,
Can someone please let me know how to implement stemming in solr. I am
particularly looking of the changes, I might need to do in the config files
and also if I need to use some already supplied libraries/factories etc etc.
It would be a great help.
Thanks,
Amit Garg
--
View this message
Hi,
I want to implement lemmatisation in solr search engine. Can someone please
let me know how to achieve the same.
Thanks,
Amit Garg
--
View this message in context:
http://www.nabble.com/Lemmatisation-in-Solr-tp22532678p22532678.html
Sent from the Solr - User mailing list archive at
Hi,
I am implementing linguistic variations in solr search engine. I want to
implement this for US/UK/CA/AU english.
e.g. Color (UK) = Colour (US)
when user searches for either of the word, both results should appear.
Please suggest.
Thanks,
Amit Garg
--
View this message in context:
Hi,
I am implementing multiple language support feature with solr. My
requirement is to support US/UK/CA/AU english within the search.
for e.g. if there are 2 records, one with COLOR (UK) and COLOUR (US), then
both the records should display whenever user searches with either of the
word.
.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
From: dabboo ag...@sapient.com
To: solr-user@lucene.apache.org
Sent: Monday, March 16, 2009 3:04:54 AM
Subject: Linguistic Variations in Solr
Hi,
I am implementing linguistic
Hi,
I am implementing Lemmatisation in Solr, which means if user looks for
Mouse then it should display results of Mouse and Mice both. I understand
that this is something context search. I think of using synonym for this but
then synonyms.txt will be having so many records and this will keep on
Hi,
I am searching with any query string, which contains special characters like
è in it. for e.g. If I search for tèst then it shud return all the results
which contains tèst and test etc. There are other special characters also.
I have updated my server.xml file of tomcat server and included
synonyms might suffice?
On Mar 17, 2009, at 6:02 AM, dabboo wrote:
Hi,
I am implementing Lemmatisation in Solr, which means if user looks for
Mouse then it should display results of Mouse and Mice both. I
understand
that this is something context search. I think of using synonym
=solr.ShingleFilterFactory outputUnigrams=true
outputUnigramIfNoNgram=true maxShingleSize=99/
/analyzer
/fieldType
dabboo wrote:
I have added this filter factory in my schema.xml also but still that is
not working. I am sorry but I didnt get as how to create the field
But if I already have some indexes in the index folder then these old indexes
will also get deleted. Is there any way to roll back the operation.
Shalin Shekhar Mangar wrote:
On Wed, Mar 18, 2009 at 3:15 PM, dabboo ag...@sapient.com wrote:
Hi,
I am creating indexes in Solr and facing
Hi,
I am creating indexes in Solr and facing an unusual issue.
I am creating 5 indexes and xml file of 4th index is malformed. So, while
creating indexes it properly submits index #1, 2 3 and throws exception
after submission of index 4.
Now, if I look for index #1,2 3, it doesnt show up,
Hi,
I want to use date field with facet query.
This is my query:
q=productPublicationDate_product_dt:[*%20TO%20NOW]facet=truefacet.field=productPublicationDate_product_dt:[*%20TO%20NOW]qt=dismaxrequest
This is exception, I am facing after running this query.
- lst name=facet_counts
lst
Thanks Eric. But where in schema.xml, I will have to give this value and how.
Erik Hatcher wrote:
On Mar 19, 2009, at 1:57 AM, dabboo wrote:
This is my query:
q=productPublicationDate_product_dt:[*%20TO
%20NOW]facet=truefacet.field=productPublicationDate_product_dt:[*
%20TO%20NOW]qt
Hi,
I am searching the indexes with facet query. Below is the query.
q=Answerversion=2.2start=0rows=10indent=onqt=dismaxrequestfacet=truefacet.field=productPrice_product_str_s:[0%20TO%2020]
It is giving me an exception saying:
str name=exceptionorg.apache.solr.common.SolrException: undefined
20, 2009 at 1:14 PM, dabboo ag...@sapient.com wrote:
Hi,
I am searching the indexes with facet query. Below is the query.
q=Answerversion=2.2start=0rows=10indent=onqt=dismaxrequestfacet=truefacet.field=productPrice_product_str_s:[0%20TO%2020]
facet.field takes a field name. It does
But it is not returning me records. Do I need to enter this field entry in
schema.xml to get the records or anywhere else.
Thanks,
Amit Garg
Shalin Shekhar Mangar wrote:
On Fri, Mar 20, 2009 at 1:49 PM, dabboo ag...@sapient.com wrote:
Thanks a lot for this information. But is there any way, I can
Thanks Shalin, thanks a lot. I appreciate your help in resolving this issue.
Thanks,
Amit
Shalin Shekhar Mangar wrote:
On Fri, Mar 20, 2009 at 2:27 PM, dabboo ag...@sapient.com wrote:
Shalin, thanks a lot. One quick question:
Now, after putting the query in the way, you suggested, I am
Hi,
this is my facet query.
facet.field=productPrice_product_str_sfacet.query=productPrice_product_str_s:[0%20TO%20100]
This is my query and these are results, I am getting:
int name=100202/int
int name=1057/int
int name=10.614/int
int name=10.211/int
int name=10.6710/int
started with 2, 3, 4
or some other integer instead of only 1. It is not returning records in
which value is 10 and 100.
Please suggest.
thanks,
Amit
dabboo wrote:
Thanks Shalin, thanks a lot. I appreciate your help in resolving this
issue.
Thanks,
Amit
Shalin Shekhar Mangar wrote
. Do I need to make any entry in
schema or solrConfig xml files. Do I need to convert the string into numeric
values etc etc.
Please suggest.
Thanks,
Amit
Shalin Shekhar Mangar wrote:
On Fri, Mar 20, 2009 at 4:00 PM, dabboo ag...@sapient.com wrote:
Hi Shalin,
One more thing
Hi,
I have to take backup of the indexes, which are there in my solr server. I
know that we will have to give the target path in scripts.conf file, but I
want to know below things.
1. What is the userId to be given in scripts.conf file.
2. How where to run the scripts given in bin folder under
Hi,
I am searching for all the records in the index where author's last name
starts with a or b. I am giving my query like
au_last_name:[a* TO b*]
But it is returning all the other records where last name starts with E, P
or other letter.
Please suggest how I can achieve this. I dont want to
Did you try creating your indexes again after modifying the schema.xml
The way Solr search is, whatever string you have
Radha C. wrote:
Thanks Grant,
I used the analysis page in the example, the StandardTokenizerFactory does
not split by dots, It is passing the L.I.C
as it is to
Hi,
I am implementing phrase search query using my application. I am trying to
search Glorious Revolution, I am expecting all the records which contains
this as whole string in any of its field should display.
Below is my query:
?q=fieldname:Glorious Revolutionqt=dismaxrequest
I am passing
Erik Hatcher wrote:
Also note that the dismax parser does NOT support fielded clauses, so
fieldname:some phrase is not parsed as you might expect with dismax.
Erik
On Apr 3, 2009, at 3:41 AM, dabboo wrote:
Hi,
I am implementing phrase search query using my application. I am
Hi,
I want to pass double quotes to my solr from the front end, so that it can
return the specific results of that particular phrase which is there in
double quotes.
If I use httpClient, it doesnt allow me to send the query in this format. As
it throws me an invalid query exception.
I want
Hi,
I am sending a query to the solr search engine from my application using
httpClient. I want to search for a specific title from the available.
for e.g. If user wants to search for the book which have titled Complete
Java Reference, I am sending this query to Solr having double quotes with
My application is using the httpclient. I will have to replace this from
solrj client.
But do Solrj client supports passing query with double quotes in it.
like
?q=Glorious Revolutionqt=dismaxrequest
Thanks,
Amit Garg
Shalin Shekhar Mangar wrote:
On Mon, Apr 6, 2009 at 10:56 AM, dabboo ag
Hi,
I am searching for English Portal using double quotes and I am getting all
the records which contains English Portal as together anywhere in any
field.
for e.g. records are appearing which have, English Portal, English Portal
Sacromanto, Core English Portal etc.
Problem is, if I am passing
discussed
many times on the mailing list. Have you tried searching that? You're
essentially asking about wildcarded phrase queries
Best
Erick
On Tue, May 5, 2009 at 9:52 AM, dabboo ag...@sapient.com wrote:
Hi,
I am searching for English Portal using double quotes and I am getting
. Have you tried searching that? You're
essentially asking about wildcarded phrase queries
Best
Erick
On Tue, May 5, 2009 at 9:52 AM, dabboo ag...@sapient.com wrote:
Hi,
I am searching for English Portal using double quotes and I am getting
all
the records which contains English
Hi,
I am facing a n wierd issue while searching.
I am searching for word *sytem*, it displays all the records which contains
system, systems etc. But when I tried to search *systems*, it only returns
me those records, which have systems-, systems/ etc etc. It is considering
wildcard as 1 or
Yes, thats correct. I have applied EnglishPorterFilterFactory at index time
as well. Do you think, I should remove it and do the indexing again.
Erick Erickson wrote:
Are you by any chance stemming the field when you index?
Erick
On Fri, May 8, 2009 at 2:29 AM, dabboo ag...@sapient.com
Hi,
Presently OR is the default operator for search in Solr. for e.g. If I am
searching for these 2 words with a space: abc xyz then it will return all
the records which has either abc or xyz or both. It means it is executing
query like abc or xyz.
But my requirement is that it should return
On Mon, May 11, 2009 at 12:18 PM, dabboo ag...@sapient.com wrote:
Hi,
Presently OR is the default operator for search in Solr. for e.g. If I
am
searching for these 2 words with a space: abc xyz then it will return all
the records which has either abc or xyz or both. It means it is executing
Hi,
I already have done this but still I am not getting any record. But if I
remove the qt=dismaxrequest, then it works fine.
Erik Hatcher wrote:
With dismax, to get all terms required, set mm (minimum match) to 100%
Erik
On May 11, 2009, at 4:08 AM, dabboo wrote:
Sorry
Hi,
Thanks for the information. I would appreciate if somebody can share the URL
of the JIRA issue.
Otis Gospodnetic wrote:
Prerna,
Yes, DisMax doesn't take in queries with Boolean operators. But I believe
there is a patch in JIRA that makes that possible.
Otis
--
Sematext --
Hi,
I am not getting correct results with a Query which has multiple AND | OR
operator.
Query Format q=((A AND B) OR (C OR D) OR E)
patches.
I think the patch I was thinking about is actually for something else -
allowing field names to be specified in query string and DixMax handling
that correctly.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
From: dabboo ag
Hi,
I am facing one issue in phrase query. I am entering 'Top of the world' as
my search criteria. I am expecting it to return all the records in which,
one field should all these words in any order.
But it is treating as OR and returning all the records, which are having
either of these
with Dismax.
Please suggest.
Thanks,
Amit Garg
dabboo wrote:
Hi,
I am facing one issue in phrase query. I am entering 'Top of the world' as
my search criteria. I am expecting it to return all the records in which,
one field should all these words in any order.
But it is treating
Hi,
I am facing very strange issue on solr, not sure if it is already a bug.
If I am searching for 'Top 500' then it returns all the records which
contains either of these anywhere, which is fine.
But if I search for 'Top 500 Companies' in any order, it gives me all those
records, which
Hi,
I am facing very strange issue with query with dismaxrequest.
Issue: I am Querying solr for field specific value, Query is returning
correct results with Pfqs Cassette Sfqs while it does not work with Pfqs
ePub eBook Sfqs.
Sample queries:
?q=facetFormat_product_s:Pfqs ePub eBook Sfqs -
82 matches
Mail list logo