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 Sf
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 contain
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 ord
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 words.
ene - Solr - Nutch
>
>
>
> - Original Message
>> From: dabboo
>> To: solr-user@lucene.apache.org
>> Sent: Wednesday, May 20, 2009 1:35:00 AM
>> Subject: Issue with AND/OR Operator in Dismax Request
>>
>>
>> Hi,
>>
>> I am not
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)
?q=((intAgeFrom_product_i:[0+TO+3]+AND+intAgeTo_product_i:[3+TO+*])+OR+(intAgeFrom_product_i:[0+TO+3]+AND+intAgeTo_product_i:[0+TO+3])+OR+(ageFrom_product_s:Adu
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
> --
> Semate
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:0
Mon, May 11, 2009 at 12:18 PM, dabboo 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 h
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 o
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
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 more
imes 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 wrote:
>
>>
>> Hi,
>>
>> I am searching for "English Portal&
;m sure this has been 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 wrote:
>
>>
>> Hi,
>>
>
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 pass
6, 2009 at 10:56 AM, dabboo wrote:
>
>>
>> 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 al
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
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 to
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,
>&g
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 Revolution"&qt=dismaxrequest
I am passin
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
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
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
numeric
values etc etc.
Please suggest.
Thanks,
Amit
Shalin Shekhar Mangar wrote:
>
> On Fri, Mar 20, 2009 at 4:00 PM, dabboo wrote:
>
>>
>> Hi Shalin,
>>
>> One more thing,
>>
>>
>> facet.field=productPrice_product_str_s&facet.query=p
Hi,
this is my facet query.
facet.field=productPrice_product_str_s&facet.query=productPrice_product_str_s:[0%20TO%20100]
This is my query and these are results, I am getting:
202
57
14
11
10
9
9
7
6
5
4
2
2
2
2
2
1
1
1
1
1
1
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
>
> Shal
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 wrote:
>
>>
>> Shalin, thanks a lot. One quick question:
>>
>> Now, after putting the quer
Shekhar Mangar wrote:
>
> On Fri, Mar 20, 2009 at 1:49 PM, dabboo wrote:
>
>>
>> Thanks a lot for this information. But is there any way, I can impose the
>> range on the facet.
>> for e.g. If I want to search the data between a specific range, how
>> shou
On Fri, Mar 20, 2009 at 1:14 PM, dabboo wrote:
>
>>
>> Hi,
>>
>> I am searching the indexes with facet query. Below is the query.
>>
>>
>> q=Answer&version=2.2&start=0&rows=10&indent=on&qt=dismaxrequest&facet=true&facet.field=
Hi,
I am searching the indexes with facet query. Below is the query.
q=Answer&version=2.2&start=0&rows=10&indent=on&qt=dismaxrequest&facet=true&facet.field=productPrice_product_str_s:[0%20TO%2020]
It is giving me an exception saying:
str name="exception">org.apache.solr.common.SolrException: u
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=true&facet.fiel
Hi,
I want to use date field with facet query.
This is my query:
q=productPublicationDate_product_dt:[*%20TO%20NOW]&facet=true&facet.field=productPublicationDate_product_dt:[*%20TO%20NOW]&qt=dismaxrequest
This is exception, I am facing after running this query.
-
org.apache.solr.common
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 wrote:
>
>>
>> Hi,
>>
>> I am creat
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,
On Tue, Mar 17, 2009 at 8:40 AM, dabboo wrote:
>
>>
>> This is the entry in schema.xml
>>
>>> positionIncrementGap="100"
>> omitNorms="true">
>>
>>
>>
>>
>>
>&g
This is the entry in schema.xml
dabboo
s. Start by looking at the ISOLatin1AccentFilter.
>
> -Grant
>
> On Mar 17, 2009, at 7:31 AM, dabboo wrote:
>
>>
>> Hi,
>>
>> I am searching with any query string, which contains special
>> characters like
>> è in it. for e.g. If I searc
Maybe a "light" stemmer plus 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
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 U
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 o
s? Info on the Wiki.
>
>
> Otis
> --
> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
>
>
>
> - Original Message
>> From: dabboo
>> To: solr-user@lucene.apache.org
>> Sent: Monday, March 16, 2009 3:04:54 AM
>> Subject: Lin
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.
Pleas
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:
http:
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 Nabble.
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
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
than
> record 1 as it's media type is DVD.
>
> At the moment I have in my config:
>
> title
>
> And i was trying to boost by media having a specific value by using 'bq'
> but from what you told me that is incorrect.
>
> Cheers,
> Pete
>
>
>
ur reply. What you said makes things a bit
> 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'
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.
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.
Tha
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 param
2-01t12'
description 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 wrote:
>
>>
>> Hi,
>>
>> I am able
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]
>
>
>
> ______
Hi,
I am implementing date search criteria in Solr using q query parameter with
dismax request.
This is the data, I have.
2.4177726E-8
product_4100025
product_4100025
productIndex
productIndex
Fiction
Fiction
CE
CE
0205583527
0205583527
9781592402939
9781592402939
Daughter of the Mountains
Dau
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 co
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
>> have
>> achieved the sa
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:amitg&version=2.2&start=0&rows=10&indent=on&qt=dismaxrequ
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 do
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, ho
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 fr
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 plugin.
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 - U
relevant details (what URL was it? What was the complete stack
> 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
>>
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:
http://www.nabble.com/Phrase-Que
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.
>
> bq does).
>
> Query parsing 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, dab
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
--
View this message in context:
http://www.nabble.com/Field-Boosting-with-q.alt-parameter-Query-tp22304491p22
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 c
0.0
-
0.0
-
0.0
-
0.0
-
16.0
Also, even 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
t displaying any records.
Please 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 bet
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
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.
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 the
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. B
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 |
i
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 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 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,
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,
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
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:
http://www.nabble
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
--
Vie
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
happe
x time 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 writ
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
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 m
86 matches
Mail list logo