Re: prefix search

2011-10-25 Thread Michael Kuhlmann
I think what Radha Krishna (is this really her name?) means is different: She wants to return only the matching token instead of the complete field value. Indeed, this is not possible. But you could use highlighting (http://wiki.apache.org/solr/HighlightingParameters), and then extract the matchi

Re: prefix search

2011-10-25 Thread Alireza Salimi
That's because the phrases are being tokenized and then indexed by Solr. You have to define a new fieldType which is not tokenized. http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.KeywordTokenizerFactory I'm not sure if it would solve your problem On Tue, Oct 25, 2011 at 5:46 AM,

prefix search

2011-10-25 Thread Radha Krishna Reddy
Hi, when i indexed words like 'Joe Tom' and 'Terry'.When i do prefix query like q=t*,i get both 'Joe Tom' and Terry' as the results.But i want the result for the complete string that start with 'T'.means i want only 'Terry' as the result. Can i do this? Thanks and Regards, Radha Krishna.

meaning of underscore in prefix search.

2010-07-05 Thread stockii
with this ... thx ! -- View this message in context: http://lucene.472066.n3.nabble.com/meaning-of-underscore-in-prefix-search-tp944120p944120.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Prefix-Search with Stopwords - no results?

2010-05-30 Thread Gert Brinkmann
On 28.05.2010 22:06, Chris Hostetter wrote: and one "text_prefix" defined similarly but with an additional EdgeNGramTokenFilter used when indexing to generate "prefix" tokens. then search those fields using dismax... To be sure that I understand this right: Am I right that I should not stopwor

Re: Prefix-Search with Stopwords - no results?

2010-05-29 Thread Erick Erickson
Well, the index does, indeed, get bigger. But the searches get much faster because there's no term expansion going on. It's another time/space tradeoff. I'm afraid you'll have to just experiment a bit to see if this is an acceptable tradeoff. in your particular situation The real memory hit i

Re: Prefix-Search with Stopwords - no results?

2010-05-29 Thread Gert Brinkmann
Thank you, Chris and Erick, for the answers, it was new to me that "the*" is expanded to all known the* words in the index. Good to know. And yes, the AND operation between the query terms are certainly the problem. (I would like to switch to OR instead. The result set will grow the more wo

Re: Prefix-Search with Stopwords - no results?

2010-05-28 Thread Chris Hostetter
: Searching on the* (assuming the is a stopword) will search on : (them OR theory OR thespian) assuming those three words are in : your index. It will NOT search on the. So I think you're OK, or are : you seeing anomalous results? i think the missing pieces to hte puzzle here are: 1) wildcard an

Re: Prefix-Search with Stopwords - no results?

2010-05-28 Thread Erick Erickson
Hmmm, I don't really see the problem here. I'll have to use English examples... Searching on the* (assuming the is a stopword) will search on (them OR theory OR thespian) assuming those three words are in your index. It will NOT search on the. So I think you're OK, or are you seeing anomalous resu

Prefix-Search with Stopwords - no results?

2010-05-28 Thread Gert Brinkmann
Hello, I am having some problems with solr 1.4. I am indexing and querying data using the following fieldType: The ap

Highlighting on Prefix-Search Bug/Workaround (Re: query with stemming, prefix and fuzzy?)

2009-02-04 Thread Gert Brinkmann
Mark Miller wrote: >> Currently I think about dropping the stemming and only use >> prefix-search. But as highlighting does not work with a prefix "house*" >> this is a problem for me. The hint to use "house?*" instead does not >> work here. >>

Re: prefix-search ingnores the lowerCaseFilter

2007-10-29 Thread Martin Grotzke
On Mon, 2007-10-29 at 13:31 -0400, Yonik Seeley wrote: > On 10/29/07, Martin Grotzke <[EMAIL PROTECTED]> wrote: > > On Thu, 2007-10-25 at 10:48 -0400, Yonik Seeley wrote: > > > On 10/25/07, Max Scheffler <[EMAIL PROTECTED]> wrote: > > > > Is it possible that the prefix-processing ignores the filte

Re: prefix-search ingnores the lowerCaseFilter

2007-10-29 Thread Yonik Seeley
On 10/29/07, Martin Grotzke <[EMAIL PROTECTED]> wrote: > On Thu, 2007-10-25 at 10:48 -0400, Yonik Seeley wrote: > > On 10/25/07, Max Scheffler <[EMAIL PROTECTED]> wrote: > > > Is it possible that the prefix-processing ignores the filters? > > > > Yes, It's a known limitation that we haven't worked

Re: prefix-search ingnores the lowerCaseFilter

2007-10-29 Thread Martin Grotzke
On Thu, 2007-10-25 at 10:48 -0400, Yonik Seeley wrote: > On 10/25/07, Max Scheffler <[EMAIL PROTECTED]> wrote: > > Is it possible that the prefix-processing ignores the filters? > > Yes, It's a known limitation that we haven't worked out a fix for yet. > The issue is that you can't just run the p

Re: prefix-search ingnores the lowerCaseFilter

2007-10-25 Thread Yonik Seeley
On 10/25/07, Max Scheffler <[EMAIL PROTECTED]> wrote: > Is it possible that the prefix-processing ignores the filters? Yes, It's a known limitation that we haven't worked out a fix for yet. The issue is that you can't just run the prefix through the filters because of things like stop words, stemm

prefix-search ingnores the lowerCaseFilter

2007-10-25 Thread Max Scheffler
Hi, I want to perform a prefix-search which ignores cases. To do this I created a fielType called suggest: Entrys (terms) could be 'foo', 'bar'... A request like http://localhost:8983/solr/select/?rows=0&facet=true&a