Re: Multiple Field Search on Solr

2017-07-10 Thread Erik Hatcher
I recommend first understanding the Solr API, and the parameters you need to add the capabilities with just the /select API. Once you are familiar with that, you can then learn what’s needed and apply that to the HTML and JavaScript. While the /browse UI is fairly straightforward, there’s a

Multiple Field Search on Solr

2017-07-10 Thread Clare Lee
Hello, My name is Clare Lee and I'm working on Apache Solr-6.6.0, Solritas right now and I'm not able to do something I want to do. Could you help me with this? I want to be able to search solr with multiple fields. With the basic configurations(I'm using the core techproducts and just changing t

Re: What is considered too many terms on a field search?

2016-03-12 Thread Yonik Seeley
On Sat, Mar 12, 2016 at 11:38 AM, Steven White wrote: > Thanks Yonik. > > 1) How would I enforce OR on the list of terms when AND is my default > search Boolean setting in solrconfig.xml? {!terms} is currently always a disjunction (OR) > 2) And just to confirm that I understand your solution, he

Re: What is considered too many terms on a field search?

2016-03-12 Thread Steven White
Thanks Yonik. 1) How would I enforce OR on the list of terms when AND is my default search Boolean setting in solrconfig.xml? 2) And just to confirm that I understand your solution, here is my current implementation: q=user-real-search-terms&fq={!join+fromIndex=sku_idex+from=SkuID+to=SkuFfolder

Re: What is considered too many terms on a field search?

2016-03-12 Thread Yonik Seeley
On Sat, Mar 12, 2016 at 11:00 AM, Steven White wrote: > Hi folks > > I need to search for terms in a field that will be AND'ed with user's real > search terms, such as: > > user-real-search-terms AND FooField:(a OR b OR c OR d OR e OR ...) > > The list of terms in the field FooField can be as

Re: What is considered too many terms on a field search?

2016-03-12 Thread Yonik Seeley
On Sat, Mar 12, 2016 at 11:00 AM, Steven White wrote: > Hi folks > > I need to search for terms in a field that will be AND'ed with user's real > search terms, such as: > > user-real-search-terms AND FooField:(a OR b OR c OR d OR e OR ...) > > The list of terms in the field FooField can be as

What is considered too many terms on a field search?

2016-03-12 Thread Steven White
Hi folks I need to search for terms in a field that will be AND'ed with user's real search terms, such as: user-real-search-terms AND FooField:(a OR b OR c OR d OR e OR ...) The list of terms in the field FooField can be as large as 1000 items, but will average around 100. The list of OR'ed

Re: Wild card on field search

2013-10-03 Thread Dmitry Kan
very new to Solr. Any help or suggestion would be great help for me. > > Thanks in Advance, > Soumik > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Wild-card-on-field-search-tp4093272.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Wild card on field search

2013-10-03 Thread soumikghosh05
query syntax? I am very new to Solr. Any help or suggestion would be great help for me. Thanks in Advance, Soumik -- View this message in context: http://lucene.472066.n3.nabble.com/Wild-card-on-field-search-tp4093272.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Conditional Field Search without affecting score.

2013-03-26 Thread Chris Hostetter
: document accordingly. This works good in most cases. but we had a case where : we ran into issue. : : DocA // Common title and is same for all county so no additional titles. : Fighter : : DocB : The Ultimate Street Fighter // Default : Ultimate Fighter // For UK : : : now querying f

Re: Conditional Field Search without affecting score.

2013-02-18 Thread adityab
thanks Eric, is this what you are pointing me to ? http://.../solr/select?q=if(exist(title.3),(title.3:"xyz"),(title.0:"xyz")) I believe i should be able to use boost along with proximity too. -- View this message in context: http://lucene.472066.n3.nabble.com/Cond

Re: Conditional Field Search without affecting score.

2013-02-17 Thread Erick Erickson
uch issue would really help. > We are also planning to move to Solr4.1 so anything with this new Solr > version will also do. > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Conditional-Field-Search-without-affecting-score-tp4040657.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Conditional Field Search without affecting score.

2013-02-15 Thread adityab
ng to move to Solr4.1 so anything with this new Solr version will also do. -- View this message in context: http://lucene.472066.n3.nabble.com/Conditional-Field-Search-without-affecting-score-tp4040657.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: unittest fail (sometimes) for float field search

2013-01-09 Thread Roman Chyla
Hi, It is not Eclipse related, neither codec related. There were two issues I had a wrong configuration of NumericConfig: new NumericConfig(4, NumberFormat.getNumberInstance(), NumericType.FLOAT)) I changed that to: new NumericConfig(4, NumberFormat.getNumberInstance(Locale.US), NumericType.FLO

Re: unittest fail (sometimes) for float field search

2013-01-08 Thread Roman Chyla
The test checks we are properly getting/indexing data - we index database and fetch parts of the documents separately from mongodb. You can look at the file here: https://github.com/romanchyla/montysolr/blob/3c18312b325874bdecefceb9df63096b2cf20ca2/contrib/adsabs/src/test/org/apache/solr/update/Te

Re: unittest fail (sometimes) for float field search

2013-01-08 Thread Chris Hostetter
: apparently, it fails also with @SuppressCodecs("Lucene3x") what exactly is the test failure message? When you run tests that use the lucene test framework, any failure should include information about the random seed used to run the test -- that random seed affects things like the codec used

Re: unittest fail (sometimes) for float field search

2013-01-08 Thread Roman Chyla
apparently, it fails also with @SuppressCodecs("Lucene3x") roman On Tue, Jan 8, 2013 at 6:15 PM, Roman Chyla wrote: > Hi, > > I have a float field 'read_count' - and unittest like: > > assertQ(req("q", "read_count:1.0"), > "//doc/int[@name='recid'][.='9218920']", > "//*[@nu

Re: Solr - Mutivalue field search on different elements

2011-12-28 Thread meghana
below 10 s: do i missing anything , or doing anything wrong?? i like to make a note that i am using solr version 1.4 Thanks Meghana -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Mutivalue-field-search-on-different-ele

Re: Solr - Mutivalue field search on different elements

2011-12-28 Thread Ahmet Arslan
> i can't delete 1s ,2s ...etc from my > field value , i have to keep text in > this format... so i'll apply slop in my search to do my > needed search done. It is OK if you cant delete 1s, 2s, etc from field value. We can eat up those special markups in analysis chain. PatternReplaceCharFil

Re: Solr - Mutivalue field search on different elements

2011-12-27 Thread meghana
i can't delete 1s ,2s ...etc from my field value , i have to keep text in this format... so i'll apply slop in my search to do my needed search done. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Mutivalue-field-search-on-different-elements-tp3604213p3615816

Re: Solr - Mutivalue field search on different elements

2011-12-27 Thread Ahmet Arslan
> I have changed my multiValued field to single value filed.. > and now my field > appears as below > - > 1s: This is very nice day. 3s: Christmas is about come and > christmas > 4s:preparation is just on > - > but by doing thi

Re: Solr - Mutivalue field search on different elements

2011-12-27 Thread meghana
ch i always have to apply slop in my search. Thanks for reply. Meghana. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Mutivalue-field-search-on-different-elements-tp3604213p3614365.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr - Mutivalue field search on different elements

2011-12-27 Thread Gora Mohanty
On Tue, Dec 27, 2011 at 6:11 PM, meghana wrote: > Hi iorixxx, > > I have changed my multiValued field to single value filed.. and now my field > appears as below > - > 1s: This is very nice day. 3s: Christmas is about come and christmas > 4s:preparation is just

Re: Solr - Mutivalue field search on different elements

2011-12-27 Thread meghana
don't get my search : "christmas preparation" to be matched on my search query , although i had set my positionIncrementGap to 0. any ideas why it is not matching ?? Please help me. Meghana -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Mutivalue-

Re: Solr - Mutivalue field search on different elements

2011-12-23 Thread Ahmet Arslan
> setting positionIncrementGap is worked for me and it > allowing me to search > in 2 diff. consecutive elements. > But as i explained before , i also want to display > highlighting for which > term / phrase search is made. > > So when we search with phrase and make highlighting on , it > is not

Re: Solr - Mutivalue field search on different elements

2011-12-23 Thread meghana
returning me highlighting on that phrase. Is there any solution to that ? Thanks Meghana -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Mutivalue-field-search-on-different-elements-tp3604213p3608892.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr - Mutivalue field search on different elements

2011-12-22 Thread meghana
me highlighting on that words of phrase. can i handle this by doing some configuration changes? Thanks Meghana -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Mutivalue-field-search-on-different-elements-tp3604213p3606597.html Sent from the Solr - User mailing list

Re: Solr - Mutivalue field search on different elements

2011-12-22 Thread Erick Erickson
; , then this should match. if > i set positionIncrementGap to 0 then do it will match? Or how value of > positionIncrementGap behave on my search? > > Meghana > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-Mutivalue-field-search-on-different-elements-tp3604213p3605938.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr - Mutivalue field search on different elements

2011-12-21 Thread meghana
with "christmas preparation" , then this should match. if i set positionIncrementGap to 0 then do it will match? Or how value of positionIncrementGap behave on my search? Meghana -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Mutivalue-field-search-on-differen

Re: Solr - Mutivalue field search on different elements

2011-12-21 Thread Tanguy Moal
ybody have any idea? Thanks Meghana -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Mutivalue-field-search-on-different-elements-tp3604213p3604213.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr - Mutivalue field search on different elements

2011-12-21 Thread meghana
ent). do anybody have any idea? Thanks Meghana -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Mutivalue-field-search-on-different-elements-tp3604213p3604213.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: multi value field search

2011-12-19 Thread Ronen
Many thanks.. I took the suggestion of using a and it did the trick. --Ronen -- View this message in context: http://lucene.472066.n3.nabble.com/multi-value-field-search-tp3594701p3599082.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: multi value field search

2011-12-18 Thread Lee Carroll
You could use a synonyms file for the alternative names. That way you do not need to store only index the alternatives. For faceting use a field were the analysis chain does not use the synonyms filter. For search the analysis chain will. You also get the benefit of only storing the normative value

RE: multi value field search

2011-12-17 Thread Michael Ryan
> The problem I have is that at search time, I have faceting turned on for > this field and therefore, I get the four facets "canadian", "imperial", > "bank", and "commerce", which all refer to the same record. > > How can I go about searching for any word contained in the company name but > then

multi value field search

2011-12-17 Thread rrotst...@hotmail.com
lp. --Ronen -- View this message in context: http://lucene.472066.n3.nabble.com/multi-value-field-search-tp3594701p3594701.html Sent from the Solr - User mailing list archive at Nabble.com.

[solved] Re: Multivalued field search...

2010-11-18 Thread Dario Rigolin
On Thursday, November 18, 2010 12:42:49 pm Dario Rigolin wrote: > On Thursday, November 18, 2010 12:36:40 pm Dario Rigolin wrote: > > Sorry wrong query: > > q=field1:("A BB1" AND "B BB2") > > Dario q=field1:("A BB1 B BB2"~10) I discovered that proximity search works well with multiple terms C

Re: Multivalued field search...

2010-11-18 Thread Dario Rigolin
On Thursday, November 18, 2010 12:36:40 pm Dario Rigolin wrote: Sorry wrong query: q=field1:("A BB1" AND "B BB2") Dario

Multivalued field search...

2010-11-18 Thread Dario Rigolin
I think this question is more related to Lucene query search but I'm posting here becuase I feel more "Solr User" :-) I have multiple value field named field1 containint codes separated by a space doc1 A BB1 B BB2 C BB3 A CC1 B CC2 C CC3 doc2 A BB1 B FF2 C FF3 A YY1 B BB2 C KK3 I would like

Re: multi field search

2010-01-18 Thread Sven Maurmann
Hi, you might want to use the Dismax-Handler. Sven --On Monday, January 18, 2010 02:58:09 PM +0100 Lukas Kahwe Smith wrote: Hi, I realize that I can copy all fields together into one multiValue field and set that as the defaultSearchField. However in that case I cannot leverage the variou

multi field search

2010-01-18 Thread Lukas Kahwe Smith
Hi, I realize that I can copy all fields together into one multiValue field and set that as the defaultSearchField. However in that case I cannot leverage the various custom analyzers I want to apply to the fields separately (name should use doublemetaphone, street should use the world splitter

using field search in morelikethis

2009-05-27 Thread Renz Daluz
Hi, When I'm doing normal search I'm using q=test +field:somevalue&otherparams... How can I implement this using morelikethis by posting the text and q is empty? I tried to use fq= but this is not what I want. Thanks, Renz

Re: Field Search

2008-02-24 Thread Chris Hostetter
: Now, if I try to search for, : *title:Advertise --- * I am getting following results: ... : I forgot to put my dismax request handler. dismax doesn't support any special syntax in the query string, if you want to search for words only in a single field, make sure that is the only fiel

Re: Field Search

2008-02-18 Thread Mahesh Udupa
Hi, I forgot to put my dismax request handler. explicit 0.01 text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 text^0.2 features^1.1 name^1.5 manu^1.4 manu_exact^1.9 ord(poplarity)^0.5 recip(rord(price),1,1000,100

Field Search

2008-02-18 Thread Mahesh Udupa
Hi, I have a content with *title* as "*Advertise*" under a *category* "*Sales*" And also, I have 3 other contents with *titles "{TV, Web,Radio}"* under a *category "Advertise"* ** Now, if I try to search for, *title:Advertise --- * I am getting following results: == Title

Re: Multiple field search with different values..

2007-07-27 Thread nithyavembu
AND+RES+TYPE:0+OR+RES+TYPE:1+AND+ALL:sun&fl=ALL >>> The column may need to be URL-encoded. >>> >>> Otis >>> >>> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . >>> Simpy -- http://www.simpy.com/ - Tag - Search - Share >>&g

Re: Multiple field search with different values..

2007-07-26 Thread Ryan McKinley
2007 8:00:36 PM Subject: Multiple field search with different values.. Hi All, I need to know how to form a query using multiple fields which contains same values? I worked with single field and it working well. For eg : http://localhost:8085/solr/select?q=sun*&fl=ALL whe

Re: Multiple field search with different values..

2007-07-26 Thread nithyavembu
> - Original Message > From: nithyavembu <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Tuesday, July 24, 2007 8:00:36 PM > Subject: Multiple field search with different values.. > > > Hi All, > >I need to know how to form a que

Re: Multiple field search with different values..

2007-07-25 Thread Otis Gospodnetic
inal Message From: nithyavembu <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Tuesday, July 24, 2007 8:00:36 PM Subject: Multiple field search with different values.. Hi All, I need to know how to form a query using multiple fields which contains same values? I worked w

Multiple field search with different values..

2007-07-24 Thread nithyavembu
same field and different values using OR operator? Thanks. -Nithya.V. -- View this message in context: http://www.nabble.com/Multiple-field-search-with-different-values..-tf4137672.html#a11768630 Sent from the Solr - User mailing list archive at Nabble.com.