rg/solr/guide/6_6/other-parsers.html#OtherParsers-
>> ComplexPhraseQueryParser
>>
>> Regards,
>> Markus
>>
>>
>>
>> -Original message-----
>> > From:Nicolas Paris
>> > Sent: Sunday 22nd April 2018 20:04
>> > To: solr-user@luc
egards,
> Markus
>
>
>
> -Original message-
> > From:Nicolas Paris
> > Sent: Sunday 22nd April 2018 20:04
> > To: solr-user@lucene.apache.org
> > Subject: query bag of word with negation
> >
> > Hello
> >
> > I wonder if there i
1. Query terms containing other than just letters or digits may be placed
>> within double quotes so that those other characters do not separate a term
>> into many terms. A dot (period) and white space are neither letter nor
>> digit. Examples: "Now is the time for all good men" (spaces, quote
pache.org
> Subject: query bag of word with negation
>
> Hello
>
> I wonder if there is a plain text query syntax to say:
> give me all document that match:
>
> wonderful pizza NOT peperoni
>
> all those in a 5 distance word bag
> then
>
> pizza are won
On 22/04/2018 19:26, Joe Doupnik wrote:
On 22/04/2018 19:04, Nicolas Paris wrote:
Hello
I wonder if there is a plain text query syntax to say:
give me all document that match:
wonderful pizza NOT peperoni
all those in a 5 distance word bag
then
pizza are wonderful -> would match
I made a won
On 22/04/2018 19:04, Nicolas Paris wrote:
Hello
I wonder if there is a plain text query syntax to say:
give me all document that match:
wonderful pizza NOT peperoni
all those in a 5 distance word bag
then
pizza are wonderful -> would match
I made a wonderful pasta and pizza -> would match
Pep
Hello
I wonder if there is a plain text query syntax to say:
give me all document that match:
wonderful pizza NOT peperoni
all those in a 5 distance word bag
then
pizza are wonderful -> would match
I made a wonderful pasta and pizza -> would match
Peperoni pizza are so wonderful -> would not ma
addons%7C6.3-0.1%7Cpom
-Original Message-
From: Alexandre Rafalovitch [mailto:arafa...@gmail.com]
Sent: Wednesday, November 23, 2016 10:03 AM
To: solr-user
Subject: Re: negation search help
Well, then 'no' becomes a signal token. So, the question is how many tokens
after that
Hi Hem,
The negation detection problem within the clinical or medical context has
been tackled for many researchers. At https://github.com/chapmanbe/negex you
can find different implementations using different approaches. I have not
tested all of them, but I have widely use this concrete
I add to the thread a friend of mine,
Rafa just presented at the Apachecon a medical system which deal exactly
with a negation engine ( he will publish the slides soon)
Hope it helps !
Cheers
On Wed, Nov 23, 2016 at 3:03 PM, Alexandre Rafalovitch
wrote:
> Well, then 'no' bec
Well, then 'no' becomes a signal token. So, the question is how many
tokens after that it affects in its circle of negation?
You could probably use something like
https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-SurroundQueryParser
to say (if user said
---
From: Alessandro Benedetti [mailto:benedetti.ale...@gmail.com]
Sent: Wednesday, November 23, 2016 8:22 AM
To: solr-user@lucene.apache.org
Subject: Re: negation search help
Now that I read better, do you mean that at indexing time those negations must
be recognized, in the way that they are no match ?
Cheers
Now that I read better, do you mean that at indexing time those negations
must be recognized, in the way that they are no match ?
Cheers
On Wed, Nov 23, 2016 at 2:20 PM, Alessandro Benedetti <
benedetti.ale...@gmail.com> wrote:
> Hi Hem,
> are you expecting Solr to parse your natural language qu
Hi Hem,
are you expecting Solr to parse your natural language query out of the box ?
Are you using any custom query parser ?
If not, you need to follow the lucene Syntax to define engative queries.
And be careful to the edge cases [1] .
Cheers
[1] https://wiki.apache.org/solr/NegativeQueryProbl
Alex
Whenever the keywords or sentence followed by "no", "not", etc should be
excluded from the search results. Does solr support this feature?
Thanks
Sent from my iPhone
> On Nov 23, 2016, at 12:09 AM, Alexandre Rafalovitch
> wrote:
>
> How do you _know_ it is not 'apparent' ? Is it beca
How do you _know_ it is not 'apparent' ? Is it because it is preceded by
the keyword 'no'? Just that keyword? At what maximum distance?
Regards,
Alex
On 23 Nov 2016 2:59 PM, "Hem Naidu"
wrote:
> Gurus,
>
> I am new to Solr, I have a requirement to index entire pdf/word documents
> using Solr
Gurus,
I am new to Solr, I have a requirement to index entire pdf/word documents
using Solr Tika. Which was successful and able to get the search results
displayed. Now I need to fine tune the results or adjust index so the
negative statements should be filtered out the results like my input text
:38 AM
To: solr-user@lucene.apache.org
Subject: Negation words
I am searching with a keyword and if that keyword is attached to a
negation(not, could not and etc) in the document that document should not be
matched.
For example I have a document text like "I have not wheezed since I have
be
t; wrote:
> I am searching with a keyword and if that keyword is attached to a
> negation(not, could not and etc) in the document that document should not
> be
> matched.
>
> For example I have a document text like "I have not wheezed since I have
> been taking Spiriva.&quo
I am searching with a keyword and if that keyword is attached to a
negation(not, could not and etc) in the document that document should not be
matched.
For example I have a document text like "I have not wheezed since I have
been taking Spiriva."
I am searching with a keyword "
April 17, 2013 7:58 AM
> To:
> solr-user@.apache
> Subject: Pattern Tokenizer Factory not working with negation regular
> expression
>
> Hi,
>
> I need my tokenizer factory , to split on everything expect numbers ,
> letters , '&' , ':' and sing
t: Pattern Tokenizer Factory not working with negation regular
expression
Hi,
I need my tokenizer factory , to split on everything expect numbers ,
letters , '&' , ':' and single quote character.
I use 'PatternTokenizerFactory' as below,
but, its spiting tokens by
n anybody help me on this??
Thanks
--
View this message in context:
http://lucene.472066.n3.nabble.com/Pattern-Tokenizer-Factory-not-working-with-negation-regular-expression-tp4056653.html
Sent from the Solr - User mailing list archive at Nabble.com.
Geek
Sent: Sunday, March 10, 2013 7:06 AM
To: solr user
Subject: How to combine Date range query with negation query
Hi All, I'm trying to run a query against the following fields:
default="unset" />and stored="true"/>
against For majority of the documents the aut
Hi All, I'm trying to run a query against the following fields: and
against For majority of the documents the author_location is default i.e.
"unset" . I want to run a query where the author_location has got some value
other than "unset" and the created_at field is greater a given t
On Fri, May 18, 2012 at 7:26 PM, Ahmet Arslan wrote:
> > > I don't think request handler should be a problem. I
> > have just used the *q
> > *parameter as follows.
> >
> > String q = params.get(CommonParams.Q);
> > IndexSchema schema = req.getSchema();
> > Query query = new QueryParsing().parseQ
> > I don't think request handler should be a problem. I
> have just used the *q
> *parameter as follows.
>
> String q = params.get(CommonParams.Q);
> IndexSchema schema = req.getSchema();
> Query query = new QueryParsing().parseQuery(q, schema);
>
> Hope there shouldn't be a problem with the abo
On Fri, May 18, 2012 at 6:20 PM, Ahmet Arslan wrote:
> > I am using the standard LuceneQParserPlugin and I have a
> > custom request
> > handler. I use solr 3.5
>
> I would test the same query with standard request handler. May be
> something is your custom request handler?
>
> I don't think requ
> I am using the standard LuceneQParserPlugin and I have a
> custom request
> handler. I use solr 3.5
I would test the same query with standard request handler. May be something is
your custom request handler?
&debugQuery=on would help too.
On Fri, May 18, 2012 at 6:03 PM, Ahmet Arslan wrote:
> > > Why don't you just use /solr/select/?q=-HOSTID:302
> > >
> >
> > Tried the same right at start, but never worked :(
>
> q=-HOSTID:302 and q=+*:* -HOSTID:302 should return same result set.
> Which solr version and query parser are you usin
> > Why don't you just use /solr/select/?q=-HOSTID:302
> >
>
> Tried the same right at start, but never worked :(
q=-HOSTID:302 and q=+*:* -HOSTID:302 should return same result set.
Which solr version and query parser are you using?
On Fri, May 18, 2012 at 5:03 PM, Ahmet Arslan wrote:
> > I am trying the following query and get only zero results (I
> > am supposed to
> > get 10 results according to my dataset)
> >
> > *http://mymachine:8983/solr/select/?q=-(HOSTID:302)*
> >
> > I also tried the below query and got zero resul
> I am trying the following query and get only zero results (I
> am supposed to
> get 10 results according to my dataset)
>
> *http://mymachine:8983/solr/select/?q=-(HOSTID:302)*
>
> I also tried the below query and got zero results yet
> again.
>
> *http://mymachine:8983/solr/select/?q=NOT(HOST
If I have a field with value "foo blah blah blah bar" and "foo blah blah
blah". I want to be abe to find documents with "foo" NOT "bar" within 5
token positions. Is that possible?
--
View this message in context:
http://www.nabble.com/combining-negatio
I think I will try a hybrid version. One that uses my simple negation
for newly joined campaigns, and uses your method to filter out
campaigns joined longer ago. A cron:ed script will run every night and
add all new user_id:s to the appropriate campaigns. That way I don't
have to re-
We do something similar in a different context. I don't know if our
> > way is necessarily better, but it would work like this:
> >
> > 1. add a field to campaign called something like enteredUsers
> > 2. once a user adds a campaign, update the campaign, adding a valu
that user to enteredUsers
3. the negation can now be done by excluding the user's unique id from
the enteredUsers field, instead of excluding all the user's campaigns
The downside is it will increase the number of your commits, which may
or may not be OK.
Rachel
On 2/13/08, alexand
. the negation can now be done by excluding the user's unique id from
the enteredUsers field, instead of excluding all the user's campaigns
The downside is it will increase the number of your commits, which may
or may not be OK.
Rachel
On 2/13/08, alexander lind <[EMAIL PROTECTED
gn to
ever show up again for that particular user.
After a while, a user can have built up a list of say 200 campaigns
that he has joined, and hence should never see in any search results
again.
I know this functionality could be achieved by simply building a
longer and longer negation
39 matches
Mail list logo