I have Solr 4.2
I need to do the following:
1. white space tokenize
2. create shingles
3. use EdgeNGramFilter for each word in shingles, but not in a shingle as a
string
So can I do this?
* *
* *
--
View this message in context:
http://lucene.472066.n3.nabble.com/Can-I-use-tokenizer-twice
I use Solr 4.2
I creted a field with the following analyzer :
for both index and search.
Maybe KStem is an overkill but I do not think it is important here.
On phrase search "Peak physical" it re
Thanks Upayavira for clarification. This works for one token query, but when
I try it in a multi tokens like
"Home Builders~" or "Home Builders~0.5" it does not work.
--
View this message in context:
http://lucene.472066.n3.nabble.com/How-to-use-FuzzyQuery-in-schema-xml-tp4233900p4234106.html
I am using Solr 4.2
For some reason I cannot find an example of http://lucene.472066.n3.nabble.com/How-to-use-FuzzyQuery-in-schema-xml-tp4233900.html
Sent from the Solr - User mailing list archive at Nabble.com.
Does Solr 4.2 have n-gram filter over words, not symbols like
EdgeNGramFilterFactory.
I hoped NGramTokenFilterFactory serves this purposes but looks like it also
creates n-grams over symbols.
I used it this way
in hope that I will get 3-words to 10-words
--
View this message in context:
htt
any experience with EdgeNGramFilterFactory will be appreciated
--
View this message in context:
http://lucene.472066.n3.nabble.com/EdgeNGramFilterFactory-question-tp4233034p4233210.html
Sent from the Solr - User mailing list archive at Nabble.com.
Could someone share experience on applying name fuzzy search using Solr.
It should not be just the one which uses Edit Distance. I also want to cover
cases with split and merge like "OneIndustrial" vs "One Industrial", etc.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Fu
I have Solr 4.2
1) Is it possible to somehow use EdgeNGramFilterFactory ignoring white
spaces in n-grams?
2) Is it possible to use EdgeNGramFilterFactory in combination with stemming
?
Say applying this to "look for close hotel" instead of "looking for
closest hotels"
--
View this message
I use Solr 4.2
On Siamese I am getting Thailand results which has bad user experience with
our customers.
It happens in (KSF in Analyzer
tool)
Looks like it is a built in mapping.
How can I change this kind of mapping?
--
View this message in context:
http://lucene.472066.n3.nabble.com/How
I am using Solr 4.2
I added
http://";>https://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4
and have spatial4j-0.3.jar in my project.
When running the indexer I started getting this error:
java.lang.NoClassDefFoundError: com/google/common/cache/CacheBuilder
at
org.apache.solr.sch
Hi Erick
I tried this link but do not see a straight forward answer.
For example it says:
/You can use the pseudo-field feature to return the distance along with the
stored fields of each document by adding fl=geodist() to the request/
So I tried:
...?q={!func}dist(2, lat, lng, 0, 0)&fl=geodist()
I have Solr 4.2
I need to calculate the distance between a point (0, 0) and lat lng in each
document. I do this
http://:9081/solr/collection1/select?q={!func}dist(2, lat, lng, 0,
0)&wt=xml&indent=true
It works fine but does not show the distance, Please help.
--
View this message in context:
h
Unfortunately grouping will not work here since my field is multi-valued.
So I need another solution.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Distinct-Results-from-Solr-Query-tp4180471p4180499.html
Sent from the Solr - User mailing list archive at Nabble.com.
In other words I need to pick only one document per the field value.
Say I have a filed cat_id. For each value of this filed returned I need to
return only 1 document and I do not care which one.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Distinct-Results-from-Solr-Q
I am using Solr 4.2
In the ressults set we are getting documents with the same field value.
Is it possible to indicate in the query that we need results with distinct
value of this field?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Distinct-Results-from-Solr-Query-tp4180
The field must be single-valued for grouping. That is why I do not consider
this option.
--
View this message in context:
http://lucene.472066.n3.nabble.com/get-one-document-per-value-in-multivalued-field-tp4179056p4179065.html
Sent from the Solr - User mailing list archive at Nabble.com.
I use Solr4.21
my multivalued filed is like that:
q=(category_id:(484986 520623 484339 519258 516227 486757) ..
How to construct a query which will show one top document per category_id
value?
--
View this message in context:
http://lucene.472066.n3.nabble.com/get-one-document-per-value-in
I have a text consisting from sentences. Which analyzer can I use to restrict
creating shingles from sentences. Meaning a shingle cannot have parts from
two neighbor sentences.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Shingles-from-sentences-tp4171834.html
Sent from
Erick,
What you are saying of course makes perfect sense.
But in our particular situation there is a high probability that an
essential part of the query will match a meaningful part or a business name
in a short description indexed as shingle.
Also it is better than just a broad match.
Besides I
Example what I need:
Query:
Hi likes *this kind of winter *weather
Document shingle field:
They like *this kind of winter *with many sunny days
So I need to match *this kind of winter *.
What tokenisers and filters and maybe something else should be used for this
kind of match.
I tried for exa
I have Solr 4.2.1
I am using the following analyser:
for Query
I set the following filed type
with minShingleSize="2"
But it allows to match a single word. What I am doing wrong?
--
View this message in context:
http://luc
I am using Solr 4.2.1 Could someone give me an example how to create a query
wich will be analysed to match shingles
--
View this message in context:
http://lucene.472066.n3.nabble.com/matching-shingles-tp4170259.html
Sent from the Solr - User mailing list archive at Nabble.com.
I am placing the following query
http:///solr/collection1/select?q=*%3A*&wt=xml&indent=true&facet=true&facet.field=category_id&facet.limit=-100
Which gives unlimited number of faceted results for category_id.
What do I need to add to the query to get the number of faceted results?
--
View this
In my code sometimes I get an emty query. Namely ... q=& which causes
"bad request" exception.
How to gracefully check query correctness and bypass execution if it is not
correct.
--
View this message in context:
http://lucene.472066.n3.nabble.com/How-to-check-and-handle-empty-Solr-query-t
is it posiible to boost values of the same field. For example in a query like
that:
category_id:(2271578^0.5 22718986^0.4 475101^0.2)
--
View this message in context:
http://lucene.472066.n3.nabble.com/boosting-multivalued-fields-tp4137409.html
Sent from the Solr - User mailing list archive at
We have a big Solr search application where I need to add a faceted search
for a certain request handler.
And it does not work whereas for "select" handler it does.
I tried to find something in the configuration but could not.
If possible, please let me know where I should look at to find the r
Could someone explain me, please, the difference between addfield and
setfield in SolrInputDocument
--
View this message in context:
http://lucene.472066.n3.nabble.com/Difference-between-addfield-and-setfield-in-SolrInputDocument-tp4124809.html
Sent from the Solr - User mailing list archive at
28 matches
Mail list logo