Questions tagged [booleanquery]

This tag is used in information retrieval scenario when you write a query with multiple rules combined with bolean conjunctive predicates.

This tag is used in information retrieval scenario when you write a query with multiple logical rules combined with bolean conjunctive predicates, e.g., AND, OR, NOT.

131 questions
0
votes
0 answers

How to get the source when I use "OR" query in sphinx

I use "OR" query in sphinx, now I want to get the source words of the results. For example, I search "apple | banana | pear" to get those docs where these fruit words exist. Usually, I will get a list of doc(id) which contain these words and sorted…
GameBoy
  • 99
  • 1
  • 8
0
votes
1 answer

Making sense of full text boolean mode results

I've been playing around with boolean mode with MySQL's fulltext searching but I'm not understanding the results I am getting at times. For example, here are some data rows.. auction_id,'name' 100543,'2011-12 Fleer Retro patch auto' 100544,'2011-12…
Brett
  • 19,449
  • 54
  • 157
  • 290
0
votes
1 answer

Combination of AND , OR with NOT in grouping

test:1 AND NOT bool:true returns 5 documents but test:1 AND (NOT bool:true) returns 0 documents Why? Please Explain me the value of parentheses in lucene query formation
rrsk
  • 124
  • 4
  • 13
0
votes
1 answer

Adjusting Google News script to return current month

How do I adjust this Google News script - using variables, I would assume - to place the current year and current month in the boolean search - specifically, the line that starts with "tabbed.execute(... ?" My end goal is to have this script return…
user1791914
  • 616
  • 9
  • 23
0
votes
4 answers

php difference between !$a and $a === false

Possible Duplicate: Is !$page == false or $page in php? What is the difference between these two types of checks? And which would be the correct way of type checking called functions or methods that fail and return false? if (!is_dir($path))…
JoelM
  • 9
  • 1
-1
votes
1 answer

SQL Parenthesis

I'm having trouble with a SQL expression that doesn't do what I thought it should do. I have jobs that belong to clients and also that jobs may pertain to a certain project or either the project would be null (if they pertain to a project in the…
Edw4rd
  • 147
  • 1
  • 9
-1
votes
2 answers

Questions about joint query?

Use Elasticsearch to search " productID of a or (productID of b and price of c) " with devp of kibana This is my code: (what is right?) GET my_store/products/_search { "query":{ "bool":{ "should":[ { …
yx yao
  • 1
  • 2
-1
votes
1 answer

Why is BooleanQuery in Lucene.NET 3.0.3 returning nothing?

I'm using Lucene.NET 3.0.3 to make a search for two fields (I have two fields named "Noidung", "Dapa"), I'm using BooleanQuery in C# to make this, but when I run this code nothing returns as a result, I'm sure that nothing is wrong with the source…
Nam
  • 1
  • 2
-2
votes
1 answer

How to implement the Boolean function = + ′′ + ′ with NAND and NOT gates

I have done the problem with AND , OR and NOT gates but cant figure out how to do with NAND and NOT gates. I dont know how to implement the NAND gate for this boolean expression.
-2
votes
3 answers

Category isn't this unless property is false

As the title describes. I am stuck, an otherwise simple use of and, xor, or expressions in a LINQ statement. from s in db.Items where && s.Category.Contains("something") && s.IsReviewed == false Where I want…
CAD.Dev
  • 187
  • 1
  • 1
  • 12
-2
votes
1 answer

Advanced boolean search of JSON files containing speech-to-text data?

I have hundreds of automatic machine transcripts of video and audio files. I have every transcript in five formats: JSON, XML, SRT, VTT, TXT. (Click here to see example files.) The JSON and XML files contain the most comprehensive data, including…
grgoelyk
  • 397
  • 1
  • 3
  • 12
1 2 3
8
9