Re: SOLR Exact phrase search issue

2020-07-15 Thread Erick Erickson
Heck, Charlie, it explains 90% of the problems I’ve personally had with programming in general over my entire career... > On Jul 15, 2020, at 5:08 AM, Charlie Hull wrote: > > On 14/07/2020 12:48, Erick Erickson wrote: >> This is almost certainly a mismatch between what you think is >> happenin

Re: SOLR Exact phrase search issue

2020-07-15 Thread Charlie Hull
On 14/07/2020 12:48, Erick Erickson wrote: This is almost certainly a mismatch between what you think is happening and what you’ve actually told Solr to do ;). That's a great one-line explanation of 90% of the issues people face with Solr :-) Charlie Best, Erick On Jul 14, 2020, at 7:05

Re: SOLR Exact phrase search issue

2020-07-14 Thread Erick Erickson
This is usually a result of either indexing or querying not quite doing what you expect. The screenshots don’t help diagnose as they’re just the results, but don’t really help understand why. So here’s what I do to try to figure out why: 1> add &debug=query to the query You can check the “debug

Re: Phrase search and WordDelimiterGraphFilter not working as expected with mixed delimited and non-delimited tokens

2020-02-19 Thread Michael Gibney
(Lucene, so applies also to Solr) https://michaelgibney.net/lucene/graph/ On Wed, Feb 19, 2020 at 10:27 AM Jeroen Steggink | knowsy wrote: > > Hi, > > I have a question regarding phrase search in combination with a > WordDelimiterGraphFilter (Solr 8.4.1). > > Whenever I try to search using a p

Phrase search and WordDelimiterGraphFilter not working as expected with mixed delimited and non-delimited tokens

2020-02-19 Thread Jeroen Steggink | knowsy
Hi, I have a question regarding phrase search in combination with a WordDelimiterGraphFilter (Solr 8.4.1). Whenever I try to search using a phrase where token combination consists of delimited and non-delimited tokens, I don't get any matches. This is the configur

Re: Two field phrase search

2018-11-23 Thread NewMelchizedec sundararaj
Thanks Mikhail, I will check this FieldMaskingSpanQuery out. Thanks Melchi On Fri, 23 Nov 2018 at 19:17, Mikhail Khludnev wrote: > > There's no way to search with positions across other fields. I can only > recommend to prepend prefix terms to distinguish them. > But hold on, what about FieldMas

Re: Two field phrase search

2018-11-23 Thread NewMelchizedec sundararaj
Hi Alex, Thanks for your reply. I am keeping the original with the edge, but not sure how to mark them as original. I would like to avoid a prefix match for the full words. You mentioned post-filter - can you shed some light on this?. If only I can remove these over-matches, that would be great

Re: Two field phrase search

2018-11-23 Thread NewMelchizedec sundararaj
Thanks Erick for your inputs, Yes, i was indeed looking for this. I was little worried about the * expansion. As it is already part of a large query. But this sounds like the simplest way I can achieve this for now. If I indeed slows down, will revisit this. Was wondering if some how I can cre

Re: Two field phrase search

2018-11-23 Thread Mikhail Khludnev
There's no way to search with positions across other fields. I can only recommend to prepend prefix terms to distinguish them. But hold on, what about FieldMaskingSpanQuery? It's available in XMLQparser, you may try. On Fri, Nov 23, 2018 at 3:37 AM NewMelchizedec sundararaj wrote: > Hi Fellow Se

Re: Two field phrase search

2018-11-23 Thread Alexandre Rafalovitch
It is not clear how much flexibility you expect in those queries. Can the second word never be full name? Can there be more than 2 words? How do you know the length of the prefix? When you say prefix, do you mean 'jo' is expected to match 'joseph'? So, just generically, I would say why not index e

Re: Two field phrase search

2018-11-22 Thread Erick Erickson
There's no capability in Solr to do this. Given that different fields have different analyzer chains, how would position information be preserved across two fields? It'd be tricky at best. ComplexPhrase should do what you want by itself, assuming you want matches for any doc with "steve jobs", "st

Two field phrase search

2018-11-22 Thread NewMelchizedec sundararaj
Hi Fellow Searchers, I am indexing some content (say name) in to two fields with different analyzer chains. One that would do edge prefix and the other regular tokenization. Let me call them name_prefix and name_term When an incoming partial query comes up, like "steve jo", I want the first word

Re: Exact Phrase search not returning results.

2018-07-20 Thread Tim Casey
s working fine ass expected > expect for one feature. > > > > The exact phrase search does not return any value for some search > criteria, and this used to work fine with the older version. Based on our > research, those search terms with stop words and more than one word >

Re: Exact Phrase search not returning results.

2018-07-20 Thread Shawn Heisey
expect for one feature. > >   > > The exact phrase search does not return any value for some search > criteria, and this used to work fine with the older version. Based on > our research, those search terms with stop words and more than one > word following it is not working. >

Re: Exact Phrase search not returning results.

2018-07-20 Thread Steve Rowe
When we initially launched > the site we were using the 5.5.3 version and last sprint we updated it to the > 7.3.1 version. Everything is working fine ass expected expect for one feature. > > The exact phrase search does not return any value for some search criteria, > and this

Exact Phrase search not returning results.

2018-07-20 Thread Krishnan, Deepti (NIH/OD) [C]
Hi, We are working on a .net application using Solr. When we initially launched the site we were using the 5.5.3 version and last sprint we updated it to the 7.3.1 version. Everything is working fine ass expected expect for one feature. The exact phrase search does not return any value for

Re: Solr 7, exact phrase search, empty results for some records

2018-06-01 Thread damian.pawski
Thank you for a quick response, I have moved the / / from // to // section and it is working fine. Once again Thank you Damian -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Solr 7, exact phrase search, empty results for some records

2018-05-31 Thread Erick Erickson
The analysis page has one major thing to be aware of: It sees what would be in the field _after_ query parsing. I applaud your use of it, it's where lots of problems are found ;). Try adding &debug=query in the two cases. Particularly look at the parsedquery_tostring in the response and compare.

Solr 7, exact phrase search, empty results for some records

2018-05-31 Thread damian.pawski
Hi, I have updated Solr from 5.4.1 to 7.2.1. I have updated the settings accordingly, but in some cases when I am searching for an exact phrase surrounded by quotes I am getting 0 results. In 5.4.1 I have

Re: Phrase search with Solr 7.2

2018-03-26 Thread Steven White
Please ignore this. It was a user error. I was pointing to the wrong analyzer in my app's cfg file. Steve On Mon, Mar 26, 2018 at 10:17 AM, Steven White wrote: > Setting "sow=true" didn't make a difference. > > Here is what I'm using now: http://localhost:8983/ > solr/ccfts/select_test?q=%22r

Re: Phrase search with Solr 7.2

2018-03-26 Thread Steven White
Setting "sow=true" didn't make a difference. Here is what I'm using now: http://localhost:8983/solr/ccfts/select_test?q=%22record%20type%20session%22&wt=json&indent=true&sow=true&debugQuery=true And here is the output: { "responseHeader":{ "status":0, "QTime":1, "params":{ "q

Re: Phrase search with Solr 7.2

2018-03-25 Thread Mikhail Khludnev
Hello, Steven. Have you tried sow=true? see https://lucene.apache.org/solr/guide/7_2/the-extended-dismax-query-parser.html Anyway, you can start from debugQuery=true, then try to explore explainOther, and get to Analysis page after all. On Mon, Mar 26, 2018 at 3:10 AM, Steven White wrote: > H

Phrase search with Solr 7.2

2018-03-25 Thread Steven White
Hi everyone, I switched over from Solr 5.2.1 to 7.2.1 other than re-indexing my data and schema design remain the same. The issue I see now is I'm getting 0 hits on phrase searches, why? Here is the query I'm sending that gives me 0 hits: http://localhost:8983/solr/ccfts/select_test?q=%22cat+do

Re: Disable phrase search in edismax?

2016-02-27 Thread Binoy Dalal
There's also an autogeneratephrasequeries parameter that goes with your field definitions in the schema. Make sure that is set to false. On Sat, 27 Feb 2016, 03:56 Ahmet Arslan wrote: > > > Hi, > > If you don't set (phrase fields) pf* parameters, phrase creation is > automatically disabled, no?

Re: Disable phrase search in edismax?

2016-02-26 Thread Ahmet Arslan
Hi, If you don't set (phrase fields) pf* parameters, phrase creation is automatically disabled, no? Ahmet On Friday, February 26, 2016 11:51 PM, Walter Underwood wrote: I’m creating a query from MLT terms, then sending it to edismax. The neighboring words in the query are not meaningfu

Disable phrase search in edismax?

2016-02-26 Thread Walter Underwood
I’m creating a query from MLT terms, then sending it to edismax. The neighboring words in the query are not meaningful phrases. Is there a way to turn off phrase creation and search for one query? Or should I separate them all with “OR”? wunder Walter Underwood wun...@wunderwood.org http://obse

Re: Exact phrase search on very large text

2015-06-26 Thread Alessandro Benedetti
You are tokenising … "" Be careful in doing first the lowercase token filter. It's a best practice to first charFilter, then Tokenize and finally the set of Token Filters. Cheers 2015-06-26 13:27 GMT+01:00 Mike Thomsen : > I tried creating a simplified new text field type that only did lower > c

Re: Exact phrase search on very large text

2015-06-26 Thread Mike Thomsen
I tried creating a simplified new text field type that only did lower casing and exact phrasing worked this time. I'm not sure what the problem was. Perhaps it was a case of copypasta gone bad because I could have sworn that I tried exact phrase matching against a simple text field with bad results

Re: Exact phrase search on very large text

2015-06-26 Thread Jack Krupansky
Lucene, the underlying search engine library, imposes this 32K limit for individual terms. Use tokenized text instead. -- Jack Krupansky On Thu, Jun 25, 2015 at 8:36 PM, Mike Thomsen wrote: > I need to be able to do exact phrase searching on some documents that are a > few hundred kb when treat

Re: Exact phrase search on very large text

2015-06-26 Thread Alessandro Benedetti
I agree with Updaya, furthermore It doesn't make any sense to try to solve a "Phrase search" problem , not tokenising at all the text … It's not going to work and it is fundamentally wrong to not tokenise long textual fields if you want to do free text search in them. Can y

Re: Exact phrase search on very large text

2015-06-26 Thread Upayavira
Why do you want to use the KeywordTokenizer? Why not use a text field, and use Solr's phrase search features? q="some phrase" will match those terms next to each other, and should be fine with a large block of text. Combine that with hit highlighting, and it'll return a snip

Exact phrase search on very large text

2015-06-25 Thread Mike Thomsen
I need to be able to do exact phrase searching on some documents that are a few hundred kb when treated as a single block of text. I'm on 4.10.4 and it complains when I try to put something larger than 32kb in using a textfield with the keyword tokenizer as the tokenizer. Is there any way I can ind

Exact phrase search not working

2015-06-11 Thread Mike Thomsen
This is my field definition: Then I query for this exact phrase (which I can see in various documents) and get no results... my_field: "baltimore po

Re: Include stopwords in phrase search

2015-02-04 Thread shamik
Well, I somehow made it work by using CommonGramsFilterFactory. Just wondering if it's the right approach ? -- View this message in context: http://lucene.472066.n3.nabble.com/Include-stopwords-in-phrase-search-tp4184067p4184068.html Sent from the Solr - User mailing list archi

Include stopwords in phrase search

2015-02-04 Thread Shamik Bandopadhyay
Hi, I'm having an issue running phrase quires with stopwords. Looks like Solr is ignoring the stopword during search. Here's my search term. "cannot open device" When I'm executing title:"cannot open device" , it's bringing back titles with "Find Open Devices". Here's my field definition for

Re: Edismax Phrase Search

2014-11-13 Thread Ahmet Arslan
wrote: Hi All, How to do a phrase search and then term proximity search using edismax query parser? For ex: If the search term is "red apples", the products having "red apples" in their fields should be returned first and then products having red apples with term proximity of n. Thanks. David

Edismax Phrase Search

2014-11-13 Thread David Philip
Hi All, How to do a phrase search and then term proximity search using edismax query parser? For ex: If the search term is "red apples", the products having "red apples" in their fields should be returned first and then products having red apples with term proximity of n. Thanks. David

Re: * not working in Phrase Search in solar 4.4

2013-09-26 Thread Otis Gospodnetic
gt; > words="stopwords.txt" /> > ignoreCase="true" expand="true"/> > > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/not-working-in-Phrase-Search-in-solar-4-4-tp4092205.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: * not working in Phrase Search in solar 4.4

2013-09-26 Thread Erick Erickson
Certain parts of the analysis chain can be included in wildcard processing, see anything impolementing MultiTermAware. See: http://wiki.apache.org/solr/MultitermQueryAnalysis But phrases are different, and as Shawn says the analysis chain isn't applied similarly. The data is lowercased, but the wi

Re: * not working in Phrase Search in solar 4.4

2013-09-26 Thread Shawn Heisey
On 9/26/2013 10:15 AM, soumikghosh05 wrote: I have a doc that contains "Hello World" in the title field and title is of type of text_general. When I am searching with title:"Hello Wo*" -- not returning title:"Hello World" -- returning When you use wildcards, your analysis chain is not use

* not working in Phrase Search in solar 4.4

2013-09-26 Thread soumikghosh05
aceTokenizerFactory instead of StandardTokenizerFactory. But no luck. -- View this message in context: http://lucene.472066.n3.nabble.com/not-working-in-Phrase-Search-in-solar-4-4-tp4092205.html Sent fro

Re: Phrase search without stopwords

2013-07-09 Thread Parul Gupta(Knimbus)
Hey thanks. Its some what works for me -- View this message in context: http://lucene.472066.n3.nabble.com/Phrase-search-without-stopwords-tp4076527p4076598.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Phrase search without stopwords

2013-07-09 Thread It-forum
h without stopwords is working but all the 3 title are coming as output.Please reply ASAP. -- View this message in context: http://lucene.472066.n3.nabble.com/Phrase-search-without-stopwords-tp4076527.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Phrase search without stopwords

2013-07-09 Thread Ahmet Arslan
Hi Parul, You might find this useful : https://github.com/cominvent/exactmatch/ From: Parul Gupta(Knimbus) To: solr-user@lucene.apache.org Sent: Tuesday, July 9, 2013 12:03 PM Subject: Phrase search without stopwords Hi solr-user!!! I have an issue I

Phrase search without stopwords

2013-07-09 Thread Parul Gupta(Knimbus)
en exact search is working but search without stopwords is not working and if I use WhitespaceTokenizer instead of KeywordTokenizer then search without stopwords is working but all the 3 title are coming as output.Please reply ASAP. -- View this message in context: http://lucene.472066.n3.na

Re: is phrase search possible in solr

2013-04-22 Thread Jack Krupansky
different semantics in the new field's analyzer. But also to be clear, in case anybody is simply reading the message subject line literally, yes, phrase search is possible in Solr. -- Jack Krupansky -Original Message- From: vicky desai Sent: Monday, April 22, 2013 1:50 A

Re: is phrase search possible in solr

2013-04-22 Thread Erick Erickson
have a query in double quotes it simply ignores all the > tokenizers and analyzers. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/is-phrase-search-possible-in-solr-tp4057312p4057804.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: is phrase search possible in solr

2013-04-21 Thread vicky desai
requirement -- View this message in context: http://lucene.472066.n3.nabble.com/is-phrase-search-possible-in-solr-tp4057312p4057812.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: is phrase search possible in solr

2013-04-21 Thread qibaoyuan
Shingling filter may be help. > I want to do a phrase search in solr without analyzers being applied to it > eg - If I search for *"DelhiDareDevil"* (i.e - with inverted commas)it > should search the exact text and not apply any analyzers or tokenizers on > this field >

Re: is phrase search possible in solr

2013-04-21 Thread vicky desai
: http://lucene.472066.n3.nabble.com/is-phrase-search-possible-in-solr-tp4057312p4057804.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: is phrase search possible in solr

2013-04-21 Thread vicky desai
Hi, Agreed it is a typo. And yes I can use one set of analyzers and tokenizers for query as well as indexing but that too will not solve my problem -- View this message in context: http://lucene.472066.n3.nabble.com/is-phrase-search-possible-in-solr-tp4057312p4057802.html Sent from the Solr

Re: is phrase search possible in solr

2013-04-19 Thread Jack Krupansky
Oops... that's "query analyzer", not "index analyzer", so it's: By definition, phrase search is one of two things: 1) match on a string field literally, or 2) analyze as a sequence of tokens as per the field type query analyzer. -- Jack Krupansky -Ori

Re: is phrase search possible in solr

2013-04-19 Thread Jack Krupansky
By definition, phrase search is one of two things: 1) match on a string field literally, or 2) analyze as a sequence of tokens as per the field type index analyzer. You could use the keyword tokenizer to store the whole field as one string, with filtering for the whole string. Or, just make

Re: is phrase search possible in solr

2013-04-19 Thread Raymond Wiker
On Apr 19, 2013, at 16:59 , vicky desai wrote: > I want to do a phrase search in solr without analyzers being applied to it > eg - If I search for *"DelhiDareDevil"* (i.e - with inverted commas)it > should search the exact text and not apply any analyzers or tokenizers on >

is phrase search possible in solr

2013-04-19 Thread vicky desai
I want to do a phrase search in solr without analyzers being applied to it eg - If I search for *"DelhiDareDevil"* (i.e - with inverted commas)it should search the exact text and not apply any analyzers or tokenizers on this field However if i search for *DelhiDareDevil* it should use

Re: Whole Phrase search in Solr

2012-12-04 Thread NickA
ave been a great support! -- View this message in context: http://lucene.472066.n3.nabble.com/Whole-Phrase-search-in-Solr-tp4023931p4024196.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Whole Phrase search in Solr

2012-12-03 Thread Jack Krupansky
- From: NickA Sent: Monday, December 03, 2012 1:47 PM To: solr-user@lucene.apache.org Subject: Re: Whole Phrase search in Solr Jack thank you again, however we have the major problem that using QUOTES to bring "phrase" results, actually does not bring any results AT ALL! I mentioned t

Re: Whole Phrase search in Solr

2012-12-03 Thread NickA
; But no results appear when quotes are used. What may be doing wrong in our configuration? -- View this message in context: http://lucene.472066.n3.nabble.com/Whole-Phrase-search-in-Solr-tp4023931p4024071.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Whole Phrase search in Solr

2012-12-03 Thread Jack Krupansky
cess your query to convert raw phrases into quoted phrases. -- Jack Krupansky -Original Message- From: NickA Sent: Monday, December 03, 2012 12:40 PM To: solr-user@lucene.apache.org Subject: Re: Whole Phrase search in Solr Thank you Jack, Before doing this major change, please note t

Re: Whole Phrase search in Solr

2012-12-03 Thread Jack Krupansky
f_.28Phrase_Fields.29 -- Jack Krupansky -Original Message- From: NickA Sent: Monday, December 03, 2012 11:37 AM To: solr-user@lucene.apache.org Subject: Re: Whole Phrase search in Solr Thank you Jack, the problem with the "AND" is that it does not search for a PHRASE bu

Re: Whole Phrase search in Solr

2012-12-03 Thread Erick Erickson
d somewhere in the article, even > far away the one from the other. > > So the suggestions that you made do not work for searching as a "PHRASE". > > Unless we do something wrong? > > Any other ideas on the PHRASE search? > > Thank you again! > > > >

Re: Whole Phrase search in Solr

2012-12-03 Thread NickA
quot; word somewhere in the article, even far away the one from the other. So the suggestions that you made do not work for searching as a "PHRASE". Unless we do something wrong? Any other ideas on the PHRASE search? Thank you again! -- View this message in context: ht

Re: Whole Phrase search in Solr

2012-12-03 Thread Jack Krupansky
well. -- Jack Krupansky -Original Message- From: NickA Sent: Monday, December 03, 2012 6:28 AM To: solr-user@lucene.apache.org Subject: Whole Phrase search in Solr Hello, I am trying to achieve searching with a phrase in SOLR. Specifically I have the following field in my sc

Whole Phrase search in Solr

2012-12-03 Thread NickA
ge in context: http://lucene.472066.n3.nabble.com/Whole-Phrase-search-in-Solr-tp4023931.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: exception in highlighter when using phrase search

2012-09-05 Thread Yoni Amir
, September 04, 2012 3:53 PM To: solr-user@lucene.apache.org Subject: exception in highlighter when using phrase search I got this problem with solr 4 beta and the highlighting component. When I search for a phrase, such as "foo bar", everything works ok. When I add highlighting, I get this

exception in highlighter when using phrase search

2012-09-04 Thread Yoni Amir
I got this problem with solr 4 beta and the highlighting component. When I search for a phrase, such as "foo bar", everything works ok. When I add highlighting, I get this exception below. You can see according to the first log line that I am searching only one field (all_text), but what is not

Re: two word phrase search using dismax

2011-12-06 Thread Erick Erickson
> From: Erick Erickson > To: solr-user > Sent: Mon, Dec 5, 2011 5:52 am > Subject: Re: two word phrase search using dismax > > > Have you looked at the "pf" (phrase fields) > parameter of edismax? > > http://wiki.apache.org/solr/DisMaxQParserP

Re: two word phrase search using dismax

2011-12-05 Thread alxsss
olves only 1,4 but 2,3. Thanks. Alex. -Original Message- From: Erick Erickson To: solr-user Sent: Mon, Dec 5, 2011 5:52 am Subject: Re: two word phrase search using dismax Have you looked at the "pf" (phrase fields) parameter of edismax? http://wiki.apache.org

Re: two word phrase search using dismax

2011-12-05 Thread Erick Erickson
itle. > 3. Next, docs with both words in the content. > 4. And finally docs having either of words in the title and content. > > I tried to change mm param to 1<-1 5<-2 6<90% > This allows to achieve 1,4 but not 2,3 > > Thanks. > Alex. > > > &

Re: two word phrase search using dismax

2011-12-03 Thread alxsss
either of words in the title and content. I tried to change mm param to 1<-1 5<-2 6<90% This allows to achieve 1,4 but not 2,3 Thanks. Alex. -Original Message- From: Chris Hostetter To: solr-user Sent: Thu, Nov 17, 2011 2:17 pm Subject: Re: two word phrase s

Re: two word phrase search using dismax

2011-11-17 Thread Chris Hostetter
: After putting the same score for title and content in qf filed, docs : with both words in content moved to fifth place. The doc in the first, : third and fourth places still have only one of the words in content and : title. The doc in the second place has one of the words in title and : bot

Re: two word phrase search using dismax

2011-11-15 Thread alxsss
second place has one of the words in title and both words in the content but in different places not together. Thanks. Alex. -Original Message- From: Michael Kuhlmann To: solr-user Sent: Tue, Nov 15, 2011 12:20 am Subject: Re: two word phrase search using dismax Am 14.11.2011 21:50

Re: two word phrase search using dismax

2011-11-15 Thread Michael Kuhlmann
Am 14.11.2011 21:50, schrieb alx...@aim.com: Hello, I use solr3.4 and nutch 1.3. In request handler we have 2<-1 5<-2 6<90% As fas as I know this means that for two word phrase search match must be 100%. However, I noticed that in most cases documents with both words are ranked

Re: Phrase search error

2011-10-15 Thread Jason, Kim
Hi, Ludovic That's just what I'm looking for. You're been a big help. Thank you so much. Jason. -- View this message in context: http://lucene.472066.n3.nabble.com/Phrase-search-error-tp3423799p3423916.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Phrase search error

2011-10-15 Thread lboutros
Hi Jason, you could add this filter to the end of your analyzer : http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.PositionFilterFactory That should solve your problem. Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Phrase

Phrase search error

2011-10-15 Thread Jason, Kim
Hi, all When I queried a phrase search "test mp3", I got some error below. I think that the problem is because of WordDelimiterFilter. In WordDelimiterFilter 'mp3' is splited pos1:mp, pos2:(3, mp3). In such a case, the positions of subword and catenateword are incremented. I

Using Ngram and Phrase search

2010-11-29 Thread Jason, Kim
Hi, all I want to use both EdegeNGram analysis and phrase search. But there is some problem. On Field which is not using EdgeNGram analysis, phrase search.is good work. But if using EdgeNGram then phrase search is incorrect. Now I'm using Solr1.4.0. Result of EdgeNGram analysis for "p

Re: Phrase Search & Multiple Keywords with Double quotes

2010-11-22 Thread Erick Erickson
Darira wrote: > Hi > > I want to do pharse searching with single/double quotes. Also there are > cases that those phrases include special characters like & etc. > > What all i need to do while indexing such special characters & while > searching them. How to handle phrase search with quotes > > Please suggest > > -- > Thanks, > Pawan Darira >

RE: Phrase Search & Multiple Keywords with Double quotes

2010-11-21 Thread sivaprasad
'\"' || c == '{' || c == '}' || c == '~' || c == '*' || c == '?' || c == '|' || c == '&' || c == ';' || Character.isWhitespace(c)) { sb.append('\\'); } sb.append(c); } return sb.toStri

Phrase Search & Multiple Keywords with Double quotes

2010-11-21 Thread Pawan Darira
Hi I want to do pharse searching with single/double quotes. Also there are cases that those phrases include special characters like & etc. What all i need to do while indexing such special characters & while searching them. How to handle phrase search with quotes Please suggest --

Re: Question related to phrase search in lucene/solr?

2010-10-15 Thread Chris Hostetter
: I have question is it possible to perform a phrase search with wild cards in : solr/lucene as if i have two queries both have exactly same results one is : +Contents:"change market" : : and other is : +Contents:"chnage* market" : : but i think the second should matc

Re: Question related to phrase search in lucene/solr?

2010-10-14 Thread Otis Gospodnetic
//sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Original Message > From: Ahson Iqbal > To: Solr Send Mail > Sent: Thu, October 14, 2010 1:28:30 AM > Subject: Question related to phrase search in lucene/solr? > > hi all

Question related to phrase search in lucene/solr?

2010-10-13 Thread Ahson Iqbal
hi all I have question is it possible to perform a phrase search with wild cards in solr/lucene as if i have two queries both have exactly same results one is +Contents:"change market" and other is +Contents:"chnage* market" but i think the second should match "c

Re: Phrase search + multi-word index time expanded synonym

2010-09-08 Thread Xavier Schepler
On 08/09/2010 12:21, Grijesh.singh wrote: see the analysis.jsp with debug verbose and see what happens at index time and search time during analysis with your data Also u can use debugQuery=on for seeing what actually parsed query is. - Grijesh I've found a first solution by myself, usi

Re: Phrase search + multi-word index time expanded synonym

2010-09-08 Thread Grijesh.singh
see the analysis.jsp with debug verbose and see what happens at index time and search time during analysis with your data Also u can use debugQuery=on for seeing what actually parsed query is. - Grijesh -- View this message in context: http://lucene.472066.n3.nabble.com/Phrase-search

Phrase search + multi-word index time expanded synonym

2010-09-08 Thread Xavier Schepler
Hello, well, first, here's the field type that is searched : ignoreCase="true" expand="true"/> mapping="mapping-ISOLatin1Accent.txt"/> mapping="mapping-ISOLatin1Accent.txt"/> here's the synonym from the synonyms-fr.txt file : ... PS,Parti socialiste ... and here's the query :

Re: Expanded Synonyms + phrase search

2010-09-07 Thread Jak Akdemir
Xavier Schepler < xavier.schep...@sciences-po.fr> wrote: > Hi, > > several documents from my index contain the phrase : "PS et". > However, PS is expanded to "parti socialiste" and a phrase search for "PS > et" fails. > A phrase search for "parti s

Expanded Synonyms + phrase search

2010-08-30 Thread Xavier Schepler
Hi, several documents from my index contain the phrase : "PS et". However, PS is expanded to "parti socialiste" and a phrase search for "PS et" fails. A phrase search for "parti socialiste et" succeeds. Can I have both q

Re: Phrase search

2010-08-12 Thread Chris Hostetter
: I'm trying to match "Apple 2" but not "Apple2" using phrase search, this is why I have it quoted. : I was under the impression --when I use phrase search-- all the : analyzer magic would not apply, but it is!!! Otherwise, how would I : search for a phrase?!

Re: Phrase search

2010-08-02 Thread johnmunir
I'm trying to match "Apple 2" but not "Apple2" using phrase search, this is why I have it quoted. I was under the impression --when I use phrase search-- all the analyzer magic would not apply, but it is!!! Otherwise, how would I search for a phrase?! Using

Re: Phrase search

2010-08-02 Thread Chris Hostetter
: I don't understand why i'm getting this behavior. I was under the : impression if I search for "Apple 2" (with quotes and space before “2”) : it will give me different results vs. if I search for "Apple2" (with : quotes and no space before “2”), but I'm not! Why? if you search "Apple 2" in

Re: Phrase search

2010-08-02 Thread johnmunir
pache.org Sent: Mon, Aug 2, 2010 3:54 pm Subject: RE: Re: Phrase search Hi, Queries on an analyzed field will need to be analyzed as well or it might not atch. You can configure the WordDelimiterFilterFactory so it will not split nto multiple tokens because of numerics, see the splitOnNumerics param

RE: Re: Phrase search

2010-08-02 Thread Markus Jelsma
/AnalyzersTokenizersTokenFilters#solr.WordDelimiterFilterFactory   Cheers,   -Original message- From: johnmu...@aol.com Sent: Mon 02-08-2010 21:29 To: solr-user@lucene.apache.org; Subject: Re: Phrase search Thanks for the quick response. Which part of my WordDelimiterFilterFactory is changing

Re: Phrase search

2010-08-02 Thread johnmunir
Thanks for the quick response. Which part of my WordDelimiterFilterFactory is changing "Apple 2" to "Apple2"? How do I fix it? Also, I'm really confused about this. I was under the impression a phrase search is not impacted by the analyzer, no? -M -O

RE: Phrase search

2010-08-02 Thread Markus Jelsma
-Original message- From: johnmu...@aol.com Sent: Mon 02-08-2010 20:18 To: solr-user@lucene.apache.org; Subject: Phrase search Hi All, I don't understand why i'm getting this behavior.  I was under the impression if I search for "Apple 2" (with quotes and space before 2 ) it will

Phrase search

2010-08-02 Thread johnmunir
Hi All, I don't understand why i'm getting this behavior. I was under the impression if I search for "Apple 2" (with quotes and space before “2”) it will give me different results vs. if I search for "Apple2" (with quotes and no space before “2”), but I'm not! Why? Here is my fieldType s

Re: phrase search - problem

2010-05-03 Thread Ahmet Arslan
> I wanted to do phrase search.  What are the analyzers > that best suited for phrase search.  I tried with > "textgen", but it did not yield the expected results. > > I wanted to index: > > my dear friend > > If I search for "dear friend", I shou

Re: phrase search - problem

2010-05-02 Thread Amit Nithian
2010 at 8:30 PM, Naga Darbha wrote: > Hi, > > I wanted to do phrase search. What are the analyzers that best suited for > phrase search. I tried with "textgen", but it did not yield the expected > results. > > I wanted to index: > > my dear friend > >

phrase search - problem

2010-05-02 Thread Naga Darbha
Hi, I wanted to do phrase search. What are the analyzers that best suited for phrase search. I tried with "textgen", but it did not yield the expected results. I wanted to index: my dear friend If I search for "dear friend", I should get the result and if I search

Phrase search issue with XMLPayload? Is it the better solution?

2010-01-04 Thread Shairon
t='633' left='244' word='qux' num='1'>qux</page> </document> I can get all terms in my search result with them payloads. But if I do search using phrase query I can't fetch any result. Example: search?q=foo 1 search?q=foo+ba

  1   2   >