M
To: solr-user@lucene.apache.org
Subject: Re: is phrase search possible in solr
Hi,
If I use shinglingFilter than all type of queries will be impacted. I want
queries within double quotes to be an exact search but for queries without
double quotes all analyzers and tokenizers should be applied. Is there
bq: wherein if I have a query in double quotes it simply ignores all the
tokenizers and analyzers.
Nope. In general you're quite right, you need to re-index whenever you
change your schema... You could define the query part of your field
to just use KeywordTokenizerFactory, but that would affect _
Hi,
If I use shinglingFilter than all type of queries will be impacted. I want
queries within double quotes to be an exact search but for queries without
double quotes all analyzers and tokenizers should be applied. Is there a
setting or a configuration in schema.xml which can cater this requireme
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
> However if i search for *
Hi Jack,
Making a changes in the schema either keyword tokenizer or copy field option
which u suggested would require reindexing of entire data. Is there an
option wherein if I have a query in double quotes it simply ignores all the
tokenizers and analyzers.
--
View this message in context:
h
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 -
ginal Message-
From: Jack Krupansky
Sent: Friday, April 19, 2013 11:14 AM
To: solr-user@lucene.apache.org
Subject: Re: is phrase search possible in solr
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
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 it
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
> this field
> However i